/angular-kick

Kickstarter and generator for AngularJS based on ES6 and best practices

Primary LanguageJavaScript

kick

npm version npm downloads travis build Code Climate

angular-kick logo

Angular-kick is opinionated kickstarter and generator for classic single-page AngularJS applications. Based on ECMAScript 6, webpack and best practices. It allows you to create a working state-based application in no time, and add develop with ease.

Brought to you by 500Tech.

Best practices

There are too many conventions for writing AngularJS applications, and after trying all the generators and conventions outside in tens of projects, we have put all of our experience to kick, to make your development as fast and easy as possible.

Angular-kick uses conventions from AngularJS Style Guide by Todd Motto, which we encourage you to follow as well.

Install

In order to use kick, make sure you have node.js and npm installed:

https://docs.npmjs.com/getting-started/installing-node

Note: You need node >=4.0 in order to use kick

Then, install kick by running:

$ npm install -g kick

Usage

Notice: Run kick help to see available commands

Creating new application

Creating a new application is as simple as running:

$ kick new [application-name]

After you have created the application, you can run the server, which will automatically reload the browser when you make changes to files. You can also run it in TDD mode, which will run test suit on every file change.

$ cd application-name
$ kick tdd

Additionally, you can run the server under a specific environment:

$ kick start production

To display useful information about the application, such as its name and AngularJS version.

$ kick about

Documentation

Check out our documentation.

You can find there documentation on using other kick features as generators, destroyers, running local server, testing and building for production.

Updating angular-kick

Checking for updates on each command slows down cli apps a lot. Hence, angular-kick won't check for updates automatically. You can check for a new version by running:

$ kick upgrade

This will ask you if you want to update when there is a new version available.

License

MIT Licensed

Copyright (c) 2015, 500Tech

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sub-license, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.