Yeoman generator to bootstrap AngularJs component oriented application, flavored with Typescript and other stuff.
npm install -g generator-ping
angular
& angular-material
component oriented applicationfont-awesome
iconsjade
, typescript
& less
express
dev serverkarma
and protractor
testscomponent
, page
& angular service
generation helpers (with their tests), see belowComponents are created in the src/components
folder.
This generator also bootstraps karma
and protractor
tests.
yo ping:component
A page is a component, prefixed with Page
, with its route configured in the application (src/app.ts
).
yo ping:page
yo ping:service
You might want to configure your IDE to quickly start developing without spending time with configuration. Just do the following command and select you IDE:
yo ping:ide
See just below what the generator do to your IDE.
Karma tests
run task configuredtest
task with problem matcher is configured to run default
gulp task and match Karma errorsbuild
task is configured to run build
gulp taskTo run the tests, simply install mocha
globally and run:
mocha