- clone the repo to your local machine
- Run
npm run new [Insert Plugin Name Here]
(only run this once when cloning the template repo) - Enjoy.
-
Clone repository to your machine.
-
Live edit mode with
npm run serve
. (goes into the project director and run'sng serve
) -
Run tests with watcher with
npm run test
. (goes into the project director and run'sng test
) -
Prepare for distrabution with
npm run prepare.dist
after which you can publish to npm with runnpm publish
-
Test a demo project using the exported ngModule with
npm run demo
(prepares the project for distrabution and then goes into the demo directory and runsng serve
) -
Run
npm run setup
to prepare the project. (runs npm install in the demo and main project directory)
- angular-cli 1.0.0 rc.0 or higher
- node 6.9.0 or higher
Josh Sommer |