Commit Graph

38 Commits

Author SHA1 Message Date
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
Ben Word
3021b182fe Also ignore minified JS 2014-08-24 17:01:28 -05:00
Ben Word
534fef3262 Use gulp-rev for versioning CSS and JS 2014-08-24 16:51:08 -05:00
kalenjohnson
d680d473e7 Gruntfile reduced to only grunt-only "version" plugin. Gulpfile set up. package.json updated with gulp dependencies 2014-08-15 01:46:35 -07:00