jwx / cli

The official command line tooling for Aurelia. Use the CLI to create projects, scaffold components and bundle your app for release.
MIT License
2 stars 2 forks source link

Aurelia CLI

npm Version ZenHub Join the chat at https://gitter.im/aurelia/discuss

This library is part of the Aurelia platform and contains its CLI implementation. To keep up to date on Aurelia, please visit and subscribe to the official blog and our email list. We also invite you to follow us on twitter. If you have questions look around our Discourse forums, chat in our community on Gitter or use stack overflow. Documentation can be found in our developer hub. If you would like to have deeper insight into our development process, please install the ZenHub Chrome or Firefox Extension and visit any of our repository's boards.

Documentation

You can read documentation on the cli here. If you would like to help improve this documentation, the source for the above can be found in the doc folder within the framework repository.

Building

  1. Clone the aurelia-cli: git clone https://github.com/aurelia/cli.git
  2. Go into the cli directory: cd cli
  3. Run npm install
  4. Link the cli with: npm link
  5. Still in the cli directory, run npm install git+https://git@github.com/gulpjs/gulp.git#4.0
  6. Also in the cli directory, run npm install babel-polyfill babel-register typescript
  7. Create a new project with au new or use an existing project. The linked CLI will be used to create the project.
  8. In the project directory, run npm link aurelia-cli. The linked CLI will then be used for au commands such as au run

Running the Tests

Run npm test to run the unit tests