Commit Graph

66 Commits (b768937868e3bfc3bb8660146f187888ed3924d9)

Author SHA1 Message Date
Sindre Sorhus b768937868 gulpfile - codestyle 2014-06-30 18:52:51 +02:00
Paul Kinlan a9cab1e419 Adding ignore filters to uncss 2014-06-30 17:40:20 +01:00
Maxi Ferreira 9bc0d2662d Added gulp task to copy files from app to dist 2014-06-27 23:20:04 -03:00
shinnn 51d4351de6 Preserve JavaScript license comment 2014-06-28 05:56:54 +09:00
Addy Osmani d9fd029236 Rebase and bring in #145 (h/t @stephenplusplus) 2014-06-27 21:31:54 +01:00
Sindre Sorhus 78e667c894 followup to #201 2014-06-27 20:43:40 +02:00
johnjbarton 5447038d6c Allow gulp task list to be extended.
As a starter kit, we want users to be able to customize.
As a source-based distribution we want users to stay updated.
By allowing users to customize web-starter-kit gulp
without editing gulpfile.js, they can rebase or merge future updates.

Impl: Apply gulp recipe 'Split tasks across multiple files'
https://github.com/gulpjs/gulp/blob/master/docs/recipes/
split-tasks-across-multiple-files.md
2014-06-27 11:32:08 -07:00
Addy Osmani 421d0edf14 Merge pull request #182 from matheusazzi/patch-2
No longer optimize images on serve.
2014-06-27 10:26:08 +01:00
Matheus Azzi ce68fe1264 Remove reload from the images task 2014-06-27 01:42:31 -03:00
Sindre Sorhus eda114d4f8 Merge pull request #187 from robwierzbowski/patch-3
Inject CSS styles
2014-06-27 00:39:25 +02:00
Rahul Doshi de353a0163 Handle error event generated by jshint fail reporter
Closes #194
2014-06-26 21:33:32 +02:00
Shane Osbourne 6e0576729a Removed reference to BrowserSync running instance 2014-06-26 08:10:04 +01:00
Rob Wierzbowski e66c6251fc Inject CSS styles
Looks like styles are reloading the whole browser. This should inject them without a full reload. I tested with 10 simultaneous CSS file changes, seems to work well.
2014-06-25 22:39:13 -04:00
Rob Wierzbowski 08d5080295 Give serve preference to files in .tmp
From my testing, the browserSync server prefers files in app over files in .tmp when they have the same name. .tmp files should be preferred, since any file in .tmp has been processed in some way (e.g., a main.css file that's autoprefixed into .tmp, or an index.html that contains some templating that's precompiled into .tmp).
2014-06-25 19:57:36 -04:00
Sindre Sorhus 61fb1a6e2f gulpfile - don't need `init` anymore 2014-06-26 00:14:19 +02:00
Rahul Doshi 7848faeefd Close GH-171: Livereload breaks on jshint error(s) when running `gulp serve`. Fixes #169 2014-06-26 00:12:00 +02:00
Matheus Azzi de30295b0f Don't optimize images on serve
(#180)[http://github.com/google/web-starter-kit/issues/180]
2014-06-25 12:07:34 -03:00
Stephen Sawchuk c01e8616a0 fixes #132 - style configuration. 2014-06-21 19:39:05 -04:00
Sindre Sorhus 89683918ff simplify clean task with `del`
https://github.com/sindresorhus/del
2014-06-21 22:32:57 +02:00
JohnH- 6e6a38f1e9 Fixed so that gulp runs jshint more than once 2014-06-20 17:07:38 -04:00
Sindre Sorhus 230cf1f79c convert to 2 space indentation 2014-06-20 17:20:44 +02:00
Shane Osbourne d0c562739f Update BrowserSync version to 1.0.0 2014-06-20 15:52:08 +01:00
Rob Richardson c1be8d59fd Close GH-80: avoid gulp.start(). 2014-06-20 01:36:01 +02:00
Sindre Sorhus 2a3f64eaea gulpfile - semicolon 2014-06-19 16:42:10 +02:00
Addy Osmani 0ab6aa43aa Expand on UnCSS comments 2014-06-19 14:06:29 +01:00
Addy Osmani 367f2a2f0e Comment-up the Gulpfile 2014-06-19 13:14:21 +01:00
Stephen Sawchuk 346b81213c formatty things. 2014-06-19 07:42:22 -04:00
Addy Osmani d8d00814c4 Fixes for style guide image paths, style guide component linking. 2014-06-19 12:21:01 +01:00
Stephen Sawchuk 2dbba8c8cc rename title for styles:components task. 2014-06-18 21:41:18 -04:00
Stephen Sawchuk e2e033425e Rig up the gulpfile. 2014-06-18 21:37:49 -04:00
Stephen Sawchuk bf48c25276 use a .tmp folder for sass styles. 2014-06-18 20:34:50 -04:00
Stephen Sawchuk 67ea6e1a61 autoprefixr back on for app. it had something to say about our current css files. 2014-06-18 20:12:36 -04:00
Stephen Sawchuk 5e090e5849 fixes #71 - restructure style task. 2014-06-18 15:58:06 -04:00
Addy Osmani a967796146 Revise styles.scss, styles.css > components 2014-06-18 12:15:32 +01:00
Addy Osmani e6743adf50 Addressing HTML minifier feedback 2014-06-12 13:20:49 +01:00
Addy Osmani ab091b1a93 Adds alternative html minification for #54 2014-06-11 19:09:52 +01:00
Sindre Sorhus aebafc7330 gulpfile - make livereload on vanilla CSS files instantaneous
it previously ran the moot Sass process which slowed it down to ~2sec.
2014-06-10 19:40:23 +02:00
Addy Osmani 31e47c3d65 Close GH-47: Adds support for UnCSS.. 2014-06-10 14:23:49 +02:00
Sindre Sorhus 1239f91b4f gulpfile - turn off lr notification in the browser when loaded
fixes #46
2014-06-09 16:24:30 +02:00
Sindre Sorhus f13e23bd16 gulpfile - no longer needs to change cwd
it was fixed upstream: https://github.com/tkellen/node-liftoff/issues/16

Just `npm install -g gulp` to update.
2014-06-09 15:02:39 +02:00
Ian Barber 2dc5f82cef Merge pull request #38 from yeoman/copyright
Add copyright headers as requested.
2014-06-09 13:43:43 +01:00
Addy Osmani 9143cb9ffa Update PageSpeed task now that nokey is default 2014-06-09 10:09:12 +01:00
Addy Osmani ddb5af393a Add copyright headers as requested.
The open-source team at Google have requested that all HTML, CSS and JS
files include the relevant copyright headers before we can flip the
switch on moving this to github.com/google.

Adding them in as requested.
2014-06-09 09:56:26 +01:00
Sindre Sorhus 6ef7ca891b gulpfile - don't need `size` in `jshint` task 2014-06-07 20:12:26 +02:00
Sindre Sorhus 506de14a39 gulpfile - tweak pageres task 2014-06-07 19:59:39 +02:00
Sindre Sorhus c7dcc2cccd gulpfile - add titles to the size plugin
so it's easier to see which apply to which task
2014-06-07 19:54:45 +02:00
Sindre Sorhus 81bf15ea81 gulpfile - be explicit about supporting arrays in `watch` 2014-06-07 19:51:04 +02:00
Sindre Sorhus 69492b47b5 gulpfile - remove `fonts` task
fonts are passed through in the `images` task anyways

this also slowed the build to a halt as it searched through the node_modules folder
2014-06-07 19:49:08 +02:00
Sindre Sorhus 7a94a984e4 gulpfile - use rimraf instead of gulp-clean
more gulpy
2014-06-07 19:42:01 +02:00
Sindre Sorhus a9b72e6fee gulpfile - various tweaks 2014-06-07 19:40:41 +02:00