Kalen Johnson
d8a24db287
Run build if bower.json is changed
2015-03-10 15:50:25 -07:00
Austin Pray
ad4523fef6
fix less breaking during watch on error
...
If the `--production` flag is set: hard fail the build if there is a
precompiler error. If unset, log an error and end the task
successfully.
fixes https://github.com/roots/roots/issues/1288
2015-02-23 19:02:57 -06:00
Austin Pray
6c988aa533
Readds wiredep as dep to styles task
...
Wiredep runs automatically as a part of the `gulp` task now
2015-02-23 18:38:27 -06:00
Austin Pray
27cc623c53
Only save a wiredepped file if Sha1 differs
...
fixes https://github.com/roots/roots/issues/1340
2015-02-23 16:37:42 -06:00
Ben Word
75c0dc826f
🔍
2015-02-19 11:31:26 -06:00
Ben Word
f9803004bc
Disable removeUnknownsAndDefaults on svgo
2015-02-12 16:40:09 -06:00
Ben Word
8c8eff1ab2
Add fonts and images to gulp watch
2015-02-11 01:15:27 -06:00
Ben Word
71b753eaca
Update BrowserSync whitelist/blacklist
...
Ref #1298
Ref https://github.com/roots/roots/issues/1298#issuecomment-72854302
Ref https://github.com/BrowserSync/browser-sync/issues/373#issuecomment-72854259
2015-02-11 00:58:56 -06:00
Julien Melissas
28a8642578
Added wp-admin pages to browserSync ignore path.
...
Code from https://github.com/roots/roots/issues/1298#issuecomment-72369925
Closes https://github.com/roots/roots/issues/1298
2015-02-01 11:47:12 -05:00
Austin Pray
83287a854b
Merge pull request #1293 from austinpray/8.0.0
...
Documents BrowserSync in gulpfile.
2015-01-30 09:13:45 -06:00
Austin Pray
c3f559b818
Fixes browsersync hard refresh
...
Whitelists js and css and does not send maps to browsersync.
ref: https://github.com/roots/roots/issues/1287#issuecomment-72085636
ref: http://discourse.roots.io/t/gulpfile-with-browsersync/2834/2
2015-01-29 14:13:58 -06:00
Austin Pray
073412312d
Documents BrowserSync in gulpfile.
...
Cleans up capitalization and punctuation.
Cleans up example code formatting
2015-01-29 01:10:54 -06:00
Eric Wafford
226f0f9fc7
fix a few errors in notes of gulpfile
2015-01-28 14:42:44 -06:00
Eric Wafford
805e123a90
remove lodash from gulpfile and package.json
2015-01-28 14:01:02 -06:00
Austin Pray
c85d059239
Switches from livereload to browsersync
...
Formatting
Removes references to livereload
Removes enqueued livereload client
2015-01-28 09:22:05 -06:00
guix
cf4f58d5cc
localhost proxy by default
2015-01-28 07:49:40 +01:00
guix
3735730569
browserSync
2015-01-28 07:40:49 +01:00
Austin Pray
c6fd38afc1
Fixes revved files base
2015-01-25 17:20:57 -06:00
Austin Pray
55367f4106
Updates rev documentation
2015-01-24 13:57:44 -06:00
Austin Pray
d5d2d02459
Fixes livereload
...
If the environment is development -> try loading the livereload client
being served by `gulp watch`
2015-01-24 13:17:25 -06:00
Austin Pray
c95261e8a8
Merge branch '8.0.0' of github.com:roots/roots into fix-gulp-rev
...
Conflicts:
gulpfile.js
package.json
2015-01-24 11:41:59 -06:00
Austin Pray
ae62873779
Adds JSCS for gulpfile and scripts
...
install JSCS globally npm install jscs -g
use `npm run jscs`
2015-01-24 10:26:30 -06:00
Austin Pray
c60b9052bf
Enhance asset revving
...
conditional asset revving based on --production
make assets.php respect new asset revving flow
2015-01-23 03:13:01 -06:00
Austin Pray
c6a0f6eab9
Reworks asset revving
...
fixes https://github.com/roots/roots/issues/1266
2015-01-19 15:19:26 -06:00
Austin Pray
2e62ebe8ff
Fixes watch and wiredep
...
wiredep now only touches your files if the destination file is different
from the source file
2015-01-17 08:45:56 -06:00
Austin Pray
2009419a5d
Fixes watch task
2015-01-16 00:23:44 -06:00
Austin Pray
6bb9fb21cb
Use new manifest format
...
Simplifies and consolidates gulp tasks
Adds a --production flag to disable source maps
Uses pleeease.io for css optimization
2015-01-15 12:06:52 -06:00
Austin Pray
b9722e93b5
fixes wiredep task
2015-01-04 20:04:07 -06:00
Ben Word
63a2be27bf
Be consistent
2014-12-06 22:34:25 -06:00
Scott Walkinshaw
f13d52d38a
Use csswring and autoprefixer via postcss
...
csswring supports minification and sourcemaps
2014-12-03 18:44:59 -05:00
Austin Pray
063a77d149
Refactor: remove manifest file concerns
...
https://github.com/austinpray/asset-builder
Moves all manifest parsing concerns to separate node module
2014-11-24 14:23:15 -06:00
Austin Pray
df004917b7
Use wiredep for sass and less injection
...
https://github.com/taptapship/wiredep
all third-party deps are injected via wiredep rather than manually managed
2014-11-24 12:42:52 -06:00
Austin Pray
e2091ef880
Implement JSON file based asset pipeline
...
Adds manifest.json which contains all of the mappings for the assets
ref: https://github.com/roots/roots/pull/1138#issuecomment-62593715
Prune and update NPM deps
2014-11-24 12:42:41 -06:00
Austin Pray
75db78a9a1
Remove disparity between dev and prod gulp tasks
...
removes `gulp dev` in favor of `gulp`
adds `gulp --rev` to produce revved asset manifest
adds `gulp --tasks` to the readme
removes postinstall script
removes bower dep
2014-11-24 12:42:30 -06:00
Austin Pray
3a4ae77b1e
Reorganizes asset file structure
...
Separates assets into
- Source assets: `assets`
- Compiled assets: `dist`
Edits assets.php to reflect changes
Removes '.min' from filenames
Fixes:
- removes 'clean' from build step.
2014-11-24 12:34:11 -06:00
Ben Word
c866f4532d
Use main-bower-files to copy fonts
2014-11-14 23:41:38 -06:00
Ben Word
c3379fabd8
Add gulp-clean
2014-11-14 18:58:19 -06:00
Michael Silber
087fd5878a
Watch bower.json for override changes, installs, and uninstalls
2014-11-13 15:27:19 -05:00
Ben Word
337f64d99c
Add fonts and images tasks to dev
2014-11-11 12:17:51 -06:00
Kalen Johnson
52cd504c27
Added editor-style build to dev and build tasks
2014-10-31 12:24:57 -07:00
Kalen Johnson
a89283df32
CSS must be minified before saving it to dist
2014-10-31 11:21:57 -07:00
Ben Word
e8822a2d67
Asset improvements (gulp)
...
Ref #1149 & https://github.com/roots/roots/blob/assets-improvements/lib/assets.php
2014-10-27 18:45:35 -05:00
Ben Word
5389bd63c3
Don't use gulp-modernizr
2014-10-27 12:43:29 -05:00
Ben Word
7636ddaa4c
Fix sourcemaps
2014-10-27 12:24:43 -05:00
Ben Word
5b22f0bd9d
Introduce src/ and dist/ folders
...
Separate minifying/renaming of files to prod-only tasks
Add tasks for copying jQuery and fonts
Ref #1138 , #1070 , #1155
2014-10-27 12:16:01 -05:00
Austin Pray
79fdfcb21c
Adds gulp images
...
Lossless image optimization including pngcrush(1)
2014-09-11 23:37:09 -05:00
Austin Pray
6e0e036ae7
Enhance Gulp dependency compilation
...
Gulp automatically grabs all of the dependencies listed as main files in
`bower.json` except for jQuery and modernizr
Deletes plugin directory, bad development pattern. Doesn't make sense
with the existence of `vendor` directory anyway.
Concat all of the js in the js directory except vendor and compiled
files
2014-09-11 23:13:02 -05:00
Austin Pray
45a00cec0e
Use gulp-load-plugins
...
https://www.npmjs.org/package/gulp-load-plugins
2014-09-11 22:15:45 -05:00
kalenjohnson
21f653c1b1
Set up livereload to refresh after LESS/JS compiling
2014-09-04 22:03:54 -07:00
Ben Word
f1844b6a14
Formatting fixes
2014-08-24 17:41:17 -05:00