Angular 2 Starter Project in Typescript with Linting, Minifying, and Bundling
40
stars
27
forks
source link
Typescript Angular 2 + Node.js Starter Project with Linting, Minification, and Bundling
About
- Webpack for module loading and bundling
- See deprecated SystemJS version
- Different configs for development, production, and testing
- Angular 2 Code in Typescript
- Scripts are split into "public/polyfills.js", "public/vendor.js", and "public/app.js"
- Styles in SCSS
- Global styles are bundled into "public/styles.css"
- Component styles are bundled with app into "public/app.js"
Install
npm install
: installs dependencies
Build
npm run build
: compiles and bundles assets
npm run watch
: builds then watches for changes
Serve
npm start
: starts web server on port 8080
Test
npm run test
: runs specs in headless Chrome with coverage report