angular-1.5-cli v1.6.2

ANGULAR-1.5-CLI
created by Andrew Wormald
Installation:
npm install angular-1.5-cli -gYou 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 serveThis 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.
Generate a plain service template
Generate a Get request service template with '--get'
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 stylinggen new {{PROJECT NAME}} --style:css
// Generates a new project using css stylingGenerate Component:
Make sure that you are at the base of the project directory
gen -c {{COMPONENT NAME}}
// Generates a new component using scss stylinggen -c {{COMPONENT NAME}} --style:css
// Generates a new component using css stylingGenerate Services:
Make sure that you are at the base of the project directory
gen -s {{SERVICE NAME}}
gen service {{SERVICE NAME}}
// Generates a service with a plain template inside your service.
// Generates a new service. both execute the same thinggen -s {{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 -s {{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.jsRemove Component:
gen -r {{COMPONENT NAME}}
gen remove {{COMPONENT NAME}}
// Removes the specified component name and updates components.jsUpdate 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 fileVersion Number:
gen v
gen -v
gen version
gen --version
// Retrieves the Angular-1.5-cli version numberHelp:
gen h
gen -h
gen help
gen --help
// Retrieves the Angular-1.5-cli command list8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago