Commit Graph

74 Commits

Author SHA1 Message Date
Riku Rouvila
469714c49f add editorconfig and jshintrc 2014-12-22 16:59:56 +02:00
Riku Rouvila
ddb4417442 remove browserify-shim, update readme
browserify shim is actually useless now when debowerify is one of the transforms. If a bower package for example doesn't have a 'main' field defined it's still possible to include it by requiring the main file  like require('bad-bower-lib/dist/bad-bower')
2014-12-22 13:30:11 +02:00
Riku Rouvila
c6c9bd5ebc Merge pull request #10 from vesse/master
Update all deps (including Browserify)
2014-10-24 08:20:51 +03:00
Vesa Poikajärvi
70cee19611 Typo 2014-10-24 11:31:29 +07:00
Vesa Poikajärvi
4d21ddbbe4 Use path.join for compatibility 2014-10-24 11:30:24 +07:00
Vesa Poikajärvi
372e2503a8 Sort also requires
In order to make it somewhat sane to maintain the different branches also
keep the require calls in gulpfile sorted.
2014-10-24 11:23:50 +07:00
Vesa Poikajärvi
620bf83640 Install karma-cli so that npm test works
Karma does not install the cli to node_modules/.bin and thus npm test
does not work unless user installs karma-cli globally.
2014-10-24 11:02:08 +07:00
Vesa Poikajärvi
c8138d5014 Pretty logging for rebundle
Log the start and stop of rebundling the same way Gulp does, looks
pretty.
2014-10-24 11:00:36 +07:00
Vesa Poikajärvi
4445fce04b Add auto: false to livereload calls so build works
Build worked when env was production but jammed if it was not because of
the livereload server being up and running. That can be prevented by
using option auto: false, but this introduces an issue where the
livereload server is not started at all if auto: false call gets executed
first (and it would if the assets were built first). Thus, start the
watch task first.
2014-10-24 10:57:03 +07:00
Vesa Poikajärvi
3199a0fa65 Update to latest deps and fix related code
Couple of related changes in one commit:

- Upgrade all dependencies to latest ones.

- Change how Browserify/Watchify is called since it has changed

- Added a task no-js that will not launch the 'scripts' task. This is
  because upon first run it would run simultaneously with Watchify and
  the outcome would not work.

- Be consistent with quotes
2014-10-24 10:34:43 +07:00
Vesa Poikajärvi
ea2ef06874 Sort deps for better npm install --save experience
Template should keep deps sorted, otherwise when users use npm install
--save the get a messed up diff because --save will sort the deps.
2014-10-24 10:20:18 +07:00
Riku Rouvila
e92866605b update dependencies 2014-10-20 22:41:29 +03:00
Riku Rouvila
d31d650f84 fix stylus build's 'include css' option 2014-10-20 22:12:09 +03:00
Riku Rouvila
001ab426e9 update debowerify version
https://github.com/eugeneware/debowerify/issues/46

gulp doesn't need restarting anymore when a new bower dependency is installed
2014-09-26 09:11:12 +03:00
Lauri Hahne
c71f46658f Merge pull request #9 from lhahne/master
add debowerify and deamdify
2014-09-24 14:02:39 +03:00
Lauri Hahne
55892fff7c remove unnecessary requires from gulpfile 2014-09-24 14:01:31 +03:00
Lauri Hahne
085c4e2012 update readme 2014-09-24 12:09:23 +03:00
Lauri Hahne
fbff27c85c add debowerify and deamdify 2014-09-24 12:00:32 +03:00
eetu
aef2359bb7 fix tyop 2014-09-02 14:41:22 +03:00
Santtu Pajukanta
b29036c6d3 README: actually fix jade-lang.com link 2014-08-17 22:02:07 +03:00
Santtu Pajukanta
fe36150f62 README: fix jade-lang.com link 2014-08-17 22:01:42 +03:00
Riku Rouvila
482e7a0e63 typo fix 2014-08-11 14:12:27 +03:00
Riku Rouvila
5d6e144a97 update package.json 2014-08-11 14:06:07 +03:00
Riku Rouvila
27ab863efe don't initialize livereload when NODE_ENV=production 2014-08-11 14:03:14 +03:00
Riku Rouvila
fd6021eee9 Merge branch 'master' of github.com:leonidas/gulp-project-template
Conflicts:
	package.json
2014-08-11 14:01:22 +03:00
Riku Rouvila
a6c644e89d add initial karma configuration and test spec 2014-08-11 13:58:10 +03:00
Riku Rouvila
6b1a8a5f8a remove tinylr 2014-06-23 10:11:50 +03:00
Riku Rouvila
7888d2300a Merge pull request #4 from cheapsteak/master
Version bumps on devDependencies, removed gulpfile.js
2014-06-23 10:10:46 +03:00
Chang Wang
97063d54ee devDependencies version bumps 2014-06-23 02:09:07 -04:00
Chang Wang
aaed254a5f gulp > 3.7 directly supports .coffee 2014-06-23 01:47:18 -04:00
Riku Rouvila
ba486e68b2 add .DS_Store files to gitignore 2014-06-12 15:12:56 +03:00
Riku Rouvila
ce547017cd update gulp-minify-css version 2014-05-22 14:32:41 +03:00
Riku Rouvila
b9c99e624f update watchify 2014-05-05 15:46:20 +03:00
Riku Rouvila
d028775eab update README 2014-05-05 14:51:43 +03:00
Riku Rouvila
4890ebe0bf replace node-static with ecstatic 2014-05-05 14:30:09 +03:00
Riku Rouvila
bcc61b0bf2 add .coffee extension to browserify extensions 2014-04-29 12:18:07 +03:00
Riku Rouvila
09d4fe4d06 Update README.md
Section about using JavaScript instead of CoffeeScript
2014-04-24 13:54:33 +03:00
Riku Rouvila
4b6192b37c add handlers for error events so gulp doesnt't crash every time an error event is emitted
watchify will probably need some special treatment but this will do for now
2014-04-23 17:23:02 +03:00
Riku Rouvila
c3e190309f create prefixes for 2 latest versions of chrome, firefox & ios 2014-04-22 13:06:33 +03:00
Riku Rouvila
31d25b1a84 fix css minification 2014-04-22 13:00:16 +03:00
Riku Rouvila
0e003a4372 move paths to config object 2014-04-22 13:00:06 +03:00
Riku Rouvila
541bedb8e8 rename tasks 2014-04-22 12:49:55 +03:00
Riku Rouvila
b80fec2436 move watchify under watch task 2014-04-22 12:47:23 +03:00
Riku Rouvila
50545c5945 store bower components in bower_components directory 2014-04-21 11:40:26 +03:00
Riku Rouvila
b224035ef8 use the same tasks for production & development build
production state is determined with the NODE_ENV variable from this point forwards
2014-04-05 13:18:51 +03:00
Riku Rouvila
b7f1e9255e Update README.md 2014-04-05 02:17:55 +03:00
Riku Rouvila
8fa2260680 use watchify for faster browserify builds
https://github.com/gulpjs/gulp/blob/master/docs/recipes/fast-browserify-builds-with-watchify.md
2014-04-05 01:25:42 +03:00
Riku Rouvila
b782d8230a update gulp to 3.6 2014-04-05 01:09:51 +03:00
Riku Rouvila
8454369351 update coffeeify version 2014-04-04 09:52:37 +03:00
Riku Rouvila
ce52ef25a9 move bundle script tag to the bottom of body 2014-04-04 09:31:19 +03:00