Skip to content

Latest commit

 

History

History
67 lines (44 loc) · 1.42 KB

README.md

File metadata and controls

67 lines (44 loc) · 1.42 KB

Angular2 JSPM starter

Angular 2 JSPM starter devDependency Status

Angular 2 starter build with JSPM, Gulp 4, TypeScript, Karma, Mocha, Chaï.

Installation

Clone the repository and then run the following command:

npm install

Run the application

For build the dev application and launch a server in watch mode on localhost:3000:

npm start -- [options]

--no-open: avoid to open new window in your browser
--port: specify which port you want use

Bundle the application

For build your application for production:

npm run build

For build your application for production and run a server:

npm start:prod

Run the test for your application

Your tests will be executed in single run mode:

npm test

For run in watch mode:

npm test:watch

Run a command

If you want to run a specific command:

npm run gulp [command_name] -- [options]

List all commands availables:

npm run gulp -- --tasks-simple