npm.io
1.0.0 • Published 8 years ago

ngclirc

Licence
MIT
Version
1.0.0
Deps
0
Vulns
0
Weekly
0

ngclirc

angular cli rc

Configuration

  1. change packageManager from npm to yarn
  2. change default style ext from css to scss

Usage

Step 1. Install ngclirc

npm i -D ngclirc

Step 2. Add .angular-cli.json in your home ~ path

cp .angular-cli.json ~/.angular-cli.json

Rules

{
  "defaults": {
    // 默认使用scss编译
    "styleExt": "scss"
  },
  // 使用yarn代替npm
  "packageManager": "yarn"
}

Keywords