Commit Graph

166 Commits (a7a717545961f7e063a8868f8d24c94e65e4f3ee)

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
Sindre Sorhus a52f3a79f8 gulpfile - switch to gulp-if for more succinct syntax 2014-06-07 19:34:02 +02:00
Addy Osmani ce6741d325 Merge pull request #37 from yeoman/psi
Switch to PSI for pagespeed reporting
2014-06-06 14:37:20 +01:00
Addy Osmani cf3f357039 Dont return on pagespeed 2014-06-06 14:35:58 +01:00
Sindre Sorhus 45b5bcb3c4 better fix for #36
// @gauntface
2014-06-06 14:02:13 +02:00
Matt Gaunt 7a2244357b Fixing up the subdirectory watch and adding support for subdirectory building 2014-06-06 12:27:56 +01:00
Addy Osmani 9f67a682d8 Switch to PSI for pagespeed reporting 2014-06-06 11:59:34 +01:00
Sindre Sorhus d53f3abfc6 fix running server from subfolders - fixes #36 2014-06-06 12:03:51 +02:00
Sindre Sorhus 9ebc2cfe8f gulpfile - let gulp know when we're done 2014-06-06 09:33:26 +02:00
Addy Osmani 3672fabaf2 scripts -> jshint, add to build process, expand watch. 2014-05-28 12:07:50 +01:00
Pascal Hartig 5e19467d4f Provide a sample hosted URL
This eliminates the ambiguity which format the URL should be in.
2014-05-18 14:40:57 +01:00
Sindre Sorhus d0b4eaf362 minor tweaks in gulpfile and readme 2014-05-16 11:59:52 +02:00
Sindre Sorhus e54427185a code style tweaks, gulpfile improvements and remove unused deps 2014-05-16 10:18:34 +02:00
Addy Osmani 1b6cb76d1a Gulp: correct paths for Sass styles, icons and fonts. 2014-05-08 19:00:30 +01:00
Addy Osmani a4289608a0 Close GH-13: Add PageSpeed task. Closes #12. 2014-05-07 11:33:42 +02:00
Addy Osmani 51d1aa3c45 Close GH-10: Add initial BrowserSync support. 2014-05-06 14:47:36 +02:00
Addy Osmani 460c8984ef Add Gulpfile. 2014-04-17 13:02:38 +01:00