Skip to content

codeinvain/angular-kick

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-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 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 angular-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 angular-kick, make sure you have node.js and npm installed:

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

Note: You need node >=0.12 in order to use angular-kick

Then, install angular-kick by running:

$ npm install -g angular-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 will have to download npm dependencies needed for Gulp and starter components from bower. You can do that by running:

$ cd applicationName
$ kick setup

Now 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.

$ kick server
$ kick server:tdd

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

$ kick server --production

To display useful information about the application, such as its name, AngularJS version and included bower components:

$ kick about

Documentation

Check out our documentation.

You can find there documentation on using other angular-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.

About

Kickstarter and generator for AngularJS based on ES6 and best practices

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.6%
  • HTML 1.7%
  • CSS 0.7%