0.1.1 • Published 7 years ago
nitroh-cli v0.1.1
nitroh-cli
Tools for use with Node.js and npm.
requirements
Node.js v4+
npm v3+
installation
npm install nitroh-cli --global
nginit
nginit is for setting up a fresh angular 2 project.
nitroh nginit
After installation, open up package.json and modify the name, description, and repository to match your project. Also, feel free to rename your base Angular AppComponent selector (modify /src/app/app.component.ts and /src/index.html).
Default commands are
npm run lint
- runs typescript linternpm test
- runs jasmine tests with karmanpm start
- runs webpack dev web server
nitroh setup
Here is what we recommend for your setup