thaiat / angular2-starter

starter project for angular2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Description

Starter project with angular2 and webpack

Commands

npm run clean: clean dist folder

npm run build: build the app You can pass a different TARGET or MODE using the following command:

[TARGET=newtarget MODE=dev] npm run build

npm run webpack-server: compile and open a the webpack reload browser You can pass a different TARGET or MODE using the following command:

[TARGET=newtarget MODE=dev] npm run webpack-server

npm run browsersync: compile and open a live reload browser You can pass a different TARGET or MODE using the following command:

[TARGET=newtarget MODE=dev] npm run browsersync

npm run lint: Run lint

npm run lint

npm test: Run unit tests

npm test

TODOS

NOTES

When importing a style as a string use the .toString() method

@Component({
    selector: 'app',
    styles: [require('./app.component.scss').toString()],
    providers: [HeroService],
    template: require('./app.component.html')
})

Can't upgrade to latest of babel-eslint because of this: babel/babel-eslint#228

About

starter project for angular2


Languages

Language:JavaScript 69.3%Language:TypeScript 14.5%Language:HTML 10.6%Language:CSS 5.6%