Commit Graph

170 Commits (19706aa539b80bf8e4d7688d16d1381bad14075d)

Author SHA1 Message Date
Addy Osmani dce121b6d1 Gulpfile: Concat/minify user scripts 2015-01-06 12:50:48 +00:00
Addy Osmani 13458ed6e1 Gulpfile: Move autoprefix block to styles 2015-01-06 11:59:59 +00:00
Addy Osmani 6730f22fcf Reload when JS files in styleguide change 2014-12-10 14:23:40 +00:00
Addy Osmani cc3e2ca303 Fixes 564 - brings master changes into sprint 2014-12-08 16:44:44 +00:00
Addy Osmani 3842fa9f63 Drop commented out icon setup - we will use font icons 2014-12-04 13:15:55 +00:00
Addy Osmani 556a2ff6de Update deps, add support for libsass 2014-11-25 11:22:05 +00:00
Addy Osmani 1d5c0ad2a7 Commented-out block for handling npm icons 2014-11-21 15:34:07 +00:00
Addy Osmani 62e4cd8509 Drop note, add baseDir fix. 2014-11-21 12:21:08 +00:00
Addy Osmani 840015b97b Add note about build process. 2014-11-21 12:19:20 +00:00
alex 938d321a74 Close #537 PR: Keep dist/.git while removing everything else.. 2014-11-14 05:49:12 +07:00
Addy Osmani 354301054b Add TODOS to gulpfile. 2014-11-12 16:47:54 +00:00
Addy Osmani c91ae23bc2 Temp: add hotfix for scripts, styleguide images 2014-11-12 16:47:53 +00:00
Arthur Verschaeve 2381a601b3 Use https where possible 2014-10-22 15:14:09 +02:00
Addy Osmani 63b1da91db Add back precision 2014-10-17 09:25:47 +01:00
Addy Osmani 5b860b2945 Fixes #82 - use LibSass instead of Ruby Sass 2014-10-17 08:05:38 +01:00
Sérgio Gomes cc72b01894 Style fixes across the material-sprint branch.
Should bring the build back to a pleasant green color.
2014-10-15 10:36:26 +01:00
Addy Osmani 49e64afc32 Add missing space before commented out code. 2014-10-03 17:28:03 +01:00
Sindre Sorhus 75745c6a61 gulpfile - comment out the task loading by default
so it doesn't log an error when there's no `task` folder
2014-10-03 16:34:45 +02:00
Matt Gaunt d62b55be18 Adding navigation menu to styleguide 2014-10-01 14:10:12 +01:00
Addy Osmani d821eedc7f Clean-up 2014-09-26 09:35:37 +01:00
Sindre Sorhus e4edafa60a gulpfile - add `logPrefix` to the other browserSync instance
and single-quotes
2014-09-22 12:52:32 +02:00
Addy Osmani 4981e70ec1 Fixes #441 - add custom logPrefix for BrowserSync 2014-09-22 11:34:01 +01:00
Alex ef591cdc1a Output some error when require-dir tasks fails
It could be useful to see the results of the require tasks especially if there is an error.
2014-09-09 15:57:43 +02:00
Sindre Sorhus f8cfdff6aa gulpfile - fix indentation 2014-09-08 18:08:25 +02:00
Sindre Sorhus a50b72c36a bump gulp-autoprefixer 2014-09-08 18:05:36 +02:00
Matt Gaunt 5dfc295306 Adding watch to the styles for styleguide 2014-09-03 12:04:46 +01:00
Matt Gaunt 45f5f834ef Adding demo.scss 2014-09-03 11:47:19 +01:00
Matt Gaunt f224d3a833 RESTARTER ALL THE STYLES 2014-09-03 11:23:16 +01:00
Shane Osbourne c0a2e94cdb Simplify server configuration - remove 'baseDir' 2014-09-01 21:28:06 +01:00
Addy Osmani b3f1f93b1b Fix to new style-system not minifying output.
The new style updates were not minifying their final output. This fixes
that issue. We are keeping minification in the HTML task too in case
folks are still using build blocks.
2014-08-28 17:13:09 +01:00
Matt Gaunt 58fc333e0a Adding the comments from master into the branch 2014-08-21 11:07:30 +01:00
Matt Gaunt a2c8aa29f1 Fixed the gulp and gulp:serve tasks to work 2014-08-20 17:45:25 +01:00
Matt Gaunt 76a7284c63 Fixing up the html files to no longer require useref for CSS 2014-08-20 17:31:08 +01:00
Matt Gaunt 1b6bc0651f Moving styleguide around 2014-08-20 17:02:58 +01:00
Marcos Guimaraes Jr 778acb665b fix #340 2014-08-09 18:00:24 -07:00
Cătălin Mariș b130cba2a9 Fetch the `.htaccess` file via `npm` 2014-08-05 23:22:45 +03:00
Sindre Sorhus 599747de5c update to new useref API 2014-08-01 11:31:51 +02:00
Rob Wierzbowski 2864ce58fe Reduce to a single S/CSS task and watcher
- Outputs all Sass / CSS to .tmp
- Only compiles Sass files in the folder root Sass directory and those named
  specifically. In order for `changed` to work, users should only add files that
  have output files to their styles task, and let gulp-ruby-sass figure out the
  dependencies.w
2014-07-29 19:29:14 -04:00
Addy Osmani 5fa46cc704 Merge pull request #310 from webmakersteve/master
Compile SASS on Gulp serve task
2014-07-28 16:15:17 +01:00
Bo-Yi Wu d019dd9df4 remove unnecessary empty line. 2014-07-28 18:29:01 +08:00
Stephen Parente 0bd99c4720 SASS now compiles on serve 2014-07-25 18:06:03 -04:00
Paul Kinlan 7642e3d710 Removes https by default and provides some guidance for the developer about how to enable it 2014-07-22 21:20:39 +01:00
Paul Kinlan d4186df585 Adds 'https:true' to both serve task
This should fully enable HTTPS server testing.
2014-07-16 13:28:13 +01:00
Cătălin Mariș 2d13159e04 Move the `.htaccess` file into the `app` directory
Moving the file along with changing the `copy` task to also copy the
hidden files will ensure that the `.htaccess` file ends up in the root
of the `dist` directory, and thus, the site.
2014-07-14 21:20:42 +03:00
Addy Osmani 8f5c506bad Fixes #264 - copy fonts to dist 2014-07-08 15:53:00 +01:00
Addy Osmani 773d577d61 Fixes #253 - correctly minify styles 2014-07-07 13:07:57 +01:00
Santiago Valdarrama cc174ed4b6 Close GH-242: Handling scss compilation error. 2014-07-04 15:55:44 +02:00
Sindre Sorhus 8131b40193 gulpfile - simplify error handler 2014-07-04 13:36:23 +02:00
Sindre Sorhus c0310e649e gulpfile - centralize autoprefixer config 2014-07-04 13:35:14 +02:00
battaglr 9101631d78 Close GH-243: Vendor prefixes. Fixes #175 2014-07-04 13:14:36 +02:00
Valentin Klinghammer f71a54cc82 minifyHtml should only run on html files 2014-07-03 16:36:41 +02:00
Addy Osmani 637ebc2233 Add error handler for ruby-sass to fix #234 2014-07-03 11:01:48 +01:00
Sindre Sorhus 49bb52e54b tweak #217 2014-06-30 22:23:24 +02:00
Paul Kinlan 0665b24205 Close GH-217: Adds a gulp serve:dist command that uses the dist build process. Fixes #216. Fixes #215, Fixes #216 2014-06-30 22:18:52 +02:00
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