Skip to content

Latest commit

 

History

History
47 lines (41 loc) · 2.8 KB

README.md

File metadata and controls

47 lines (41 loc) · 2.8 KB

devDependency Status js-standard-style

khaos-webpack

A Khaos template to start clientside projects with webpack quickly.

Benefits

Usage

  • $ npm i -g khaos - install khaos globally
  • $ khaos create stevenmathews/khaos-webpack my-project - create a new project from this template
  • $ npm i - install included packages and their dependencies

Scripts

  • $ npm start - start the hotloading dev server on [hostname].local:3000
  • $ npm run build - minify and bundle project into static files
  • $ npm test - lint using standard and run tests
  • $ npm run commit - make a validated commit
  • $ npm run changelog - generate changelog
  • $ npm run deploy - deploy with surge
  • $ npm run psi - run pagespeed insights

Configuration

This template uses hjs-webpack to generate the webpack.config.js file

Credits

This project is mostly based on hjs-webpack by @HenrikJoreteg who has a course building a native web app from scratch that I found incredibly helpful. Commits and changelog flow from TylorS.

License

MIT. Copyright (c) Steve Mathews.