Starter template for front-end projects using:
- Jade
- Stylus
- CoffeeScript
- Gulp
- React
- Unit testing with Karma & Jasmine
- Livereload
- Development source maps
- Automatically generated living style guide
- Inline critical CSS
- Unit tests
- Offline functionality with service worker
- Full-minified and cache-busted assets for production build (e.g. main.min.q8ftyfeyefb.css)
- Minimal CSS framework with flexbox grid
- Performance budget
- Coding, accessibility, and performance guidelines
- Code linting
- NodeJS / NPM
- Gulp
npm install -g gulp
npm install
- gulp (development build)
- gulp reset (rm /public)
- gulp prod (production build)
- gulp dev (build and run dev server at localhost:8080)
- gulp test (run unit tests)
- gulp accessibility (check against WCAG2 guidelines)
- gulp pagespeed (test against Google pagespeed)
- npm run serve (run a server for testing production build)
- npm start (same as gulp dev)
- npm test (same as gulp test)
(Note: production build will not include source maps, will minify all static assets, strip out unused css, and inline above-the-fold css, as well as add cache-busting hashes to asset file names)
- Lint coffeescript