Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
214 views
in Technique[技术] by (71.8m points)

linux - Use platform define condition in npm json file

For example, there is a Vue JSON file:

  "devDependencies": {
    "@vue/cli-plugin-babel": "~4.4.0",
    **"@vue/cli-plugin-e2e-cypress": "^4.5.8",**
    "@vue/cli-plugin-eslint": "~4.4.0",
    "@vue/cli-plugin-router": "^4.4.6",

I want to install the second line in case of only Windows? How I can do that in the simples way?

question from:https://stackoverflow.com/questions/65921855/use-platform-define-condition-in-npm-json-file

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...