Commit Graph

39 Commits

Author SHA1 Message Date
Chang Wang
17d64a0b1d disable css sourcemaps for production 2015-02-06 15:00:42 -05:00
Chang Wang
9820ad1d00 stylus sourcemaps 2015-02-05 11:03:57 -05: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
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
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
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
Lauri Hahne
55892fff7c remove unnecessary requires from gulpfile 2014-09-24 14:01:31 +03:00
Lauri Hahne
fbff27c85c add debowerify and deamdify 2014-09-24 12:00:32 +03:00
Riku Rouvila
482e7a0e63 typo fix 2014-08-11 14:12:27 +03:00
Riku Rouvila
27ab863efe don't initialize livereload when NODE_ENV=production 2014-08-11 14:03:14 +03:00
Riku Rouvila
6b1a8a5f8a remove tinylr 2014-06-23 10:11:50 +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
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
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
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
001c85e2bc use browserify without gulp-browserify since it's a blacklisted plugin
https://github.com/deepak1556/gulp-browserify/issues/64
2014-03-31 11:07:52 +03:00
Riku Rouvila
a773d65672 remove mixins file, run css through autoprefixer 2014-03-24 22:02:25 +02:00
Riku Rouvila
0b3264925e add gulp plumber to catch coffeescript compilation errors 2014-03-10 15:52:46 +02:00
Riku Rouvila
739f30a221 use browserify-shim as transform, list browser dependencies in package.json 2014-03-10 14:45:08 +02:00
Riku Rouvila
fdeceb8415 fix stylus configuration syntax 2014-03-09 13:14:07 +02:00
Riku Rouvila
4fe269f305 use new syntax to combine tasks, gulp.run is deprecated 2014-02-28 09:59:02 +02:00
Riku Rouvila
c0f49d8ee1 remove jquery from package 2014-02-19 15:03:39 +02:00
Riku Rouvila
883427f8fa add assets task that copies everything from src/assets/ to public/ 2014-02-19 14:51:11 +02:00
Riku Rouvila
d71e3e6adb change gulp watch syntax since gulp.run is deprecated 2014-02-19 14:23:07 +02:00
Riku Rouvila
c47a342263 fix unexpected string exception in compileCoffee task 2014-01-23 14:36:17 +02:00
Riku Rouvila
618034943f fix coffeescript syntax so file will be written 2014-01-16 23:01:46 +02:00
Riku Rouvila
2061904276 add support for livereload 2014-01-14 20:53:32 +02:00
Riku Rouvila
a88e1a4f7b initial commit 2014-01-14 09:15:11 +02:00