npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

angular-1.6-cli

v1.6.3

Published

A cli for Angular 1.6.

Downloads

6

Readme

logo


ANGULAR-1.6-CLI

Insane Angular 1.6.x cli tool!

created by Andrew Wormald

Installation:


npm install angular-1.6-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 -c {{COMPONENT NAME}}

// Generates a new component using scss styling
gen -c {{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 -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 thing
gen -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.js

Remove Component:


gen -r {{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.6-cli version number

Help:

gen h
gen -h
gen help
gen --help  

// Retrieves the Angular-1.6-cli command list