Commit Graph

191 Commits (e289fb01146ddaaffc0e765a02e568238fae0a70)

Author SHA1 Message Date
Addy Osmani c5df632f34 Add support for image flattening 2015-02-24 09:11:04 +00:00
Addy Osmani 28659b2c8d Run tests with build by default 2015-02-21 02:41:44 +00:00
Sérgio Gomes e37c594d86 Adding menu component
- Implements Material Design spec for style and animations
- Supports keyboard navigation
- Supports attaching to any four corners of owner element
2015-02-16 17:50:56 +00:00
Sérgio Gomes 42bd559fe6 Adding icon font and wsk-icon utility classes
- Added Material-Design-Iconic-Font, while we're waiting for the official one
- Added SASS variables for all the characters
- Added a wsk-icon--<icon-name> class for every icon
- Modified wsk-layout to use menu icon for opening the drawer, and chevrons for scrolling tabs
- Modified tooltip demo to use icons rather than inline SVGs
- Modified icon-toggle demo to use icons
- Modified FAB and icon button demos to use icons
2015-02-16 17:41:09 +00:00
Addy Osmani 79f5d75d0c Styleguide => Lite 2015-02-16 14:06:43 +00:00
Addy Osmani 138e4f8ead Just use $.mochaPhantomjs - why isnt this $.mochaPhantomJS? 2015-02-16 09:16:14 +00:00
Addy Osmani 0002f83e0e Support testing 2015-02-16 09:15:59 +00:00
Addy Osmani 01736acd80 JSHint: re-enable linting 2015-02-16 09:14:07 +00:00
Addy Osmani 97795a6bfe Gulpfile: add initial gulp-mocha support 2015-02-16 09:10:13 +00:00
Addy Osmani 1d8dade325 Possible fix for #9 2015-02-05 12:39:43 +00:00
Addy Osmani 78236c5111 Refresh Gulpfile for this project 2015-02-04 10:14:57 +00:00
Addy Osmani 4090e3df83 Merge pull request #613 from jeffposnick/material-sprint
Service-worker based caching using sw-precache
2015-02-01 21:43:38 +00:00
Sérgio Gomes f6a0b74808 Manually specifying each component JS file in the gulpfile.
This allows us to get around component dependencies where components depend on each other, since gulp was just processing everything alphabetically otherwise.
2015-01-30 14:44:33 +00:00
Jeff Posnick 4fa43c7197 Add sw-precache to WSK. 2015-01-29 10:58:43 -05:00
Addy Osmani 3797764a6c Fixes gulp-changed plugin's usage in the gulpfile.js. See 2015-01-26 10:32:24 +00:00
Addy Osmani 4ddff8d07e bump to latest psi 2015-01-26 10:30:50 +00:00
Sérgio Gomes d8d8472528 Ensuring that wskComponentHandler.js comes first in the sources. Fixes a compilation issue. 2015-01-20 17:54:59 +00:00
Addy Osmani 5f9d5ef69c Add support for onError in gulp-sass setup 2015-01-07 13:50:02 +00:00
Addy Osmani 7019888b19 Gulpfile: Drop old UnCSS ignore rules 2015-01-06 13:54:34 +00:00
Addy Osmani a395041cc8 Gulpfile: Drop unneeded line 2015-01-06 13:42:25 +00:00
Addy Osmani 6465ca2e15 Update copyright year 2015-01-06 13:36:47 +00:00
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