angular2-ts-gulp-template
Quick start template for Angular 2 with Type Script and Gulp
Development Environment Setup:
-
Install Node JS
-
Install following npm global dependencies npm install -g [email protected] npm install -g [email protected] npm install -g [email protected] npm install -g [email protected] npm install -g [email protected]
Note: Check global dependencies by command "npm -g -depth 0 ls"
-
Install project dependencies using command "npm install" from the project root directory. node_modules and typings directories would be created once install is done
-
Build the project by following commands npm run clean & npm run build
-
Run the server by command "npm start"
Script created in Package.JSON
clean - removes build directory
compile - TypeScript compilation (with sourcemaps)
build - build the project
start - runs lite server which uses configuration from bs-config.json
http://blog.codeleak.pl/2016/03/quickstart-angular2-with-typescript-and.html