有没有办法在package.json中使用变量?

时间:2016-12-12 17:02:33

标签: angular npm gulp

有没有办法在package.json中使用变量? 所以如果我想交换所有角度版本,我可以只做一个点,而不是11 ...

  },
  "dependencies": {
    "@angular/common": "2.3",
    "@angular/compiler": "2.3",
    "@angular/core": "2.3",
    "@angular/forms": "2.3",
    "@angular/http": "2.3",
    "@angular/platform-browser": "2.3",
    "@angular/platform-browser-dynamic": "2.3",
    "@angular/router": "3.2.1",
    "@types/bootbox": "^4.4.30",
    "@types/immutable": "^3.8.6",
    "@types/lodash": "^4.14.41",
    "@types/redux": "^3.6.0",
    "@types/redux-thunk": "^2.1.32",

也许能够拯救?

TX

肖恩

0 个答案:

没有答案