Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngc-cli

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngc-cli

一键生成angular(1.x)项目, 内置[static-server](https://www.npmjs.com/package/server-static),支持接口跨域调试、gulp打包

  • 1.0.5
  • unpublished
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

ngc-cli

一键生成angular(1.x)项目, 内置static-server,支持接口跨域调试、gulp打包

安装
npm install ngc-cli -g
支持命令:
ng-cli help

查看帮助文档

ng-cli create <project-name>

新建一个基于angular(1.x)的项目,支持桌面网站和移动webapp(lib-flexible)适配

ng-cli page <page-name>

新建一张页面, 完成之后, 将自动配置路由

npm run dev

使用server-static启动静态文件服务, 并且自动检测文件更新刷新页面, 支持跨域接口调试(需要在static-server.config.js)中配置target

npm run build

用gulp去打包压缩项目中的静态文件(html、css、js、图片), 构建完成后, 所有文件将在/dist目录下

Keywords

FAQs

Package last updated on 21 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc