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

angularjs-spa-cli

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angularjs-spa-cli

Create Angularjs SPA with no build configuration.

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
increased by133.33%
Maintainers
1
Weekly downloads
 
Created
Source

配置

{
  context: string, // 根路径
  input: {
    src: string, // 源码路径
    script: string, // 程序入口
    html: string, // HTML 模板
  },
  output: {
    dll: string, // 预构建路径
    build: string, // 构建路径 
    public: string, // 服务路径
  },
  filenames: {
    js: string, // javaScript 文件命名
    css: string, // CSS 文件命名
    media: string, // 媒体文件命名
  },
  server: {
    host: string, // 服务器地址
    port: string, // 服务器端口
    proxy: string, // 请求转发地址
    nproxy: string, // 代理规则配置路径,参考 [nproxy](https://github.com/goddyZhao/nproxy)
    original: object, // webpack dev serve config
  },
  chunks: [{
    name: string, // chunk 名称
    dependencies: string[], // chunk 依赖
  }],
}

用法

  • ng dll --config [development.js]
  • ng start --config [development.js]
  • ng build --config [production.js]
  • ng webpack --config [webpacj.config.js]

Keywords

FAQs

Package last updated on 21 Mar 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