To use it, just clone this repo and install the npm dependencies:
$ git clone https://github.com/Foxandxss/angular-webpack-workflow my_app
$ cd my_app
$ npm install
All scripts are run with npm run [script]
, for example: npm run test
.
build
- generate a minified build to dist folderdev
- start development server, try it by openinghttp://localhost:8080/
test
- run all teststest:live
- continuously run unit tests watching for changes
See what each script does by looking at the scripts
section in package.json.
To see how to structure an Angular 1.x application using this workflow, please check this demo.
The license of this workflow is MIT.