this is a boilerplate starter kit for rapid web development.
it is based on npm scripts of alternatively on gulp.
- Babel (7)
- Sass (+sourcemaps/autoprefixing/file inlining)
- Browsersync
- Vue.js
- eslint
- Jest (unit/integration/regression tests with Puppeteer)
- hlp
- Prettier and Prettier PHP Plugin
- Desktop notifications on error
- watchers for file changes
- copy scripts
- minification of html, js and css
- bundling of external libs
- extracting of critical css for above-the-fold-content
- deferred loading of google analytics
- google page speed 100/100 ready
- full ie11 support
mkdir testproject
cd testproject
wget https://github.com/vielhuber/boilerplate/archive/master.zip
unzip master.zip -d .
mv boilerplate-master/{.[!.],}* .
rm -r boilerplate-master
rm master.zip
rm README.md
npm install
npm run dev # run watchers, browsersync and use uncompressed versions
npm run build # build once for production
gulp