Commit Graph

68 Commits

Author SHA1 Message Date
Austin Pray
8c374e2136 Require the latest version of npm
The npm that ships with 0.10 is 1.2.x and it is riddled with
race conditions.
2015-02-05 01:22:06 -06:00
Austin Pray
c0307c9159 Bumps asset-builder verison
use carrot to get latest minor version as well
ref https://github.com/austinpray/asset-builder/issues/14
2015-02-03 23:45:14 -06:00
Eric Wafford
805e123a90 remove lodash from gulpfile and package.json 2015-01-28 14:01:02 -06:00
guix
3735730569 browserSync 2015-01-28 07:40:49 +01:00
Austin Pray
005ea820b3 Merge pull request #1280 from roots/austinpray-patch-1
Clean up json config files
2015-01-24 14:09:33 -06:00
Austin Pray
a3040c496a Update package.json 2015-01-24 14:05:02 -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
d822bed5e1 Block publishing to npm 2015-01-24 10:40:47 -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
37f8a2646f docs -> docco 2015-01-19 15:25:27 -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
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
Ben Word
030c084134 Rename to Sage 2015-01-09 20:52:29 -06:00
Ben Word
dadb2ce632 Merge master 2015-01-09 19:09:46 -06:00
Ben Word
ebc18f724c Add example of how to use bootstrap-sass 2015-01-09 17:53:13 -06:00
Austin Pray
fc627d43ac Adds travis 2014-12-24 17:45:47 -06:00
Ben Word
271fad502a Roots 7.0.3 2014-12-18 14:18:29 -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
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
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
Kalen Johnson
3c5560128e Updating npm dependencies 2014-11-11 11:48:59 -08:00
Ben Word
5389bd63c3 Don't use gulp-modernizr 2014-10-27 12:43:29 -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
Ben Word
7dd0f0b755 Merge master 2014-10-24 17:56:17 -05:00
Ben Word
246594f230 Roots 7.0.2 2014-10-24 17:21:44 -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
Ben Word
ed7a0d75c6 Remove Grunt completely, add gulp-rev 2014-08-24 16:45:06 -05:00
Ben Word
9e50fdc82f Gulp WIP 2014-08-24 16:43:33 -05:00
Ben Word
91a08216c6 Roots 7.0.1 2014-08-15 12:56:53 -05:00
Ben Word
30823445e9 Update devDependencies 2014-08-15 12:54:59 -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
Tom Hodgkinson
57337d4ac9 updated package.json to use version 1.3.9 or greater 2014-08-06 19:21:16 -04:00
QWp6t
97f5f34b03 Runs platform agnostic postinstall. Closes #1078
Global node binary is used to execute bower.
Global grunt binary (from grunt-cli) is used to run `dev` task.
2014-08-04 10:58:04 -07:00
Phil Nelson
0adeb3e5a9 Update autoprefixer map option
Accommodate the grunt-autoprefixer 0.8.0 options refactor
by passing an object (instead of string) to map option
a la nDmitry/grunt-autoprefixer@c658fb7
and nDmitry/grunt-autoprefixer@1b7af91
2014-07-07 19:58:41 -04:00
Stephen Edgar
600677d2eb Bump NPM package versions 2014-06-30 17:31:30 +10:00
Ben Word
f1937445e9 Update packages 2014-05-21 18:33:51 -05:00
Ben Word
be14fdb69c Use grunt-wp-assets 2014-03-30 23:01:59 -05:00
Ben Word
1a9b71edcf Add time-grunt 2014-03-30 20:38:08 -05:00
Ben Word
bb604f36b8 Add grunt-autoprefixer 2014-03-30 20:12:30 -05:00
Ben Word
373910b515 Update version numbers, CHANGELOG 2014-03-11 23:51:41 -05:00
Ben Word
5b23b7fb96 Replace grunt-wp-assets with grunt-filerev and grunt-filerev-assets
By writing to assets-manifest.json with grunt-filerev-assets, it's
no longer necessary to commit changes to lib/scripts.php when developing
2014-02-21 23:14:12 -06:00
Ben Word
94cc2949a2 Use load-grunt-tasks 2014-02-21 22:08:43 -06:00
Ben Word
7b255992cf Ref #933 - dev and build tasks for Grunt
Dev: don't minify
Build: minify, lean Modernizr build

Dev assets will load if you have defined your WP_ENV as development
If you don't use Bedrock, you'll need to add this to your wp-config.php:

define('WP_ENV', 'development');

TODO: lib/scripts.php shouldn't need to be committed for changes after
running the version task
2014-02-21 21:59:09 -06:00
Ben Word
c3263f0553 Run bower install after npm install 2014-02-21 20:47:45 -06:00