Browse Source

fix: add cross-env to fix bug on windows

master
yangpei 4 years ago
parent
commit
51716ead76
  1. 3
      package.json

3
package.json

@ -6,7 +6,7 @@
"test": "jest --coverage", "test": "jest --coverage",
"e2e": "cypress open", "e2e": "cypress open",
"doc": "dumi dev", "doc": "dumi dev",
"example": "concurrently \"APP_ROOT=example umi dev\" \"npm run build --prefix packages/core\" \"imove -d\"", "example": "concurrently \"cross-env APP_ROOT=example umi dev\" \"npm run build --prefix packages/core\" \"imove -d\"",
"postinstall": "lerna init && lerna bootstrap && npm link packages/cli" "postinstall": "lerna init && lerna bootstrap && npm link packages/cli"
}, },
"jest": { "jest": {
@ -27,6 +27,7 @@
"@typescript-eslint/eslint-plugin": "^2.29.0", "@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0", "@typescript-eslint/parser": "^2.29.0",
"concurrently": "^5.3.0", "concurrently": "^5.3.0",
"cross-env": "^7.0.3",
"cypress": "^6.2.0", "cypress": "^6.2.0",
"dumi": "^1.0.38", "dumi": "^1.0.38",
"eslint": "^6.8.0", "eslint": "^6.8.0",

Loading…
Cancel
Save