Constructing
- Angular
- AngularUI Router
- Angular Translate
- Angular Material
- Webpack
- Babel
- ESLint
- BrowserSync
Node >= 4.2.0
Copy the ./config.example.js
file to ./config.js
and configure the file for your environment:
$ cp config.example.js config.js
$ vim config.js
Install dependencies:
$ npm install
Open another terminal and running below command:
$ npm start
http://localhost:3001
will automatically open with browser-sync.
Build the bundle js:
$ npm run build
The static file will build on ./dist
.
You can start the production server:
$ npm run prod
$ npm test
$ npm run lint