angular-1.5-cli

1.6.2 • Public • Published

logo


ANGULAR-1.5-CLI

created by Andrew Wormald

Installation:

 
npm install angular-1.5-cli -g

You need to install this globally (aka using -g at the end) in order for this to work efficiently and enhance your experience.


Build

 
npm run serve

This will run webpack and serve up the app on http://localhost:8080/.


Version 1.6 update:

Generate Services on the fly!

Generate a serive on the fly! You can generate 3 types of templates for the service.

  1. Generate a plain service template

  2. Generate a Get request service template with '--get'

  3. Generate a Post request service template with '--post'


Comes with docker support built in and ready to go!

You just need to add you docker url in the 'deploy.js' file!


Commands:

Generate Project:

gen new {{PROJECT NAME}}
// Generates a new project using scss styling
gen new {{PROJECT NAME}} --style:css
 
 // Generates a new project using css styling

Generate Component:

Make sure that you are at the base of the project directory

gen -{{COMPONENT NAME}}
 
// Generates a new component using scss styling
gen -{{COMPONENT NAME}} --style:css
 
// Generates a new component using css styling

Generate Services:

Make sure that you are at the base of the project directory

gen -{{SERVICE NAME}}
 
gen service {{SERVICE NAME}}
 
// Generates a service with a plain template inside your service.
 
// Generates a new service. both execute the same thing
gen -{{SERVICE NAME}} --get
 
// Generates a service with a get request template inside your service
 
// gen -s is used above just as an example
// You can replace 'gen -s' with 'gen service'
gen -{{SERVICE NAME}} --post
 
// Generates a service with a post request template inside your service
 
// gen -s is used above just as an example
// You can replace 'gen -s' with 'gen service'

Clone Component:

 
gen clone {{COMPONENT NAME THAT WILL BE CLONED}} {{NAME OF CLONED COMPONENT}}
 
// Clones the specified component and renames the new component as well as updates components.js

Remove Component:

 
gen -{{COMPONENT NAME}}
gen remove {{COMPONENT NAME}}
 
// Removes the specified component name and updates components.js

Update component.js:

 
gen update components.js
 
// Updates the components.js file
// If you manually remove a component directory then call this function to update the components.js file

Version Number:

gen v
gen -v
gen version
gen --version  
 
// Retrieves the Angular-1.5-cli version number

Help:

gen h
gen -h
gen help
gen --help  
 
// Retrieves the Angular-1.5-cli command list

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.6.210latest

Version History

VersionDownloads (Last 7 Days)Published
1.6.210
1.6.10
1.6.00
1.5.00
1.4.42
1.4.30
1.4.20
1.4.10
1.4.00
1.3.60
1.3.50
1.3.40
1.3.30
1.3.20
1.3.10
1.3.00
1.2.70
1.2.50
1.2.10
1.2.00
1.1.60
1.1.50
1.1.40
1.1.30
1.1.20
1.1.10
1.1.00
1.0.60
1.0.50
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i angular-1.5-cli

Weekly Downloads

12

Version

1.6.2

License

MIT

Unpacked Size

120 kB

Total Files

10

Last publish

Collaborators

  • andrewwormald