Browse Source

refactor: link imove/cli && concurrently run 2 command in npm run example

master
i5ting 4 years ago
parent
commit
ff22f85e65
  1. 5
      package.json
  2. 2
      packages/cli/package.json

5
package.json

@ -6,8 +6,8 @@
"test": "jest --coverage",
"e2e": "cypress open",
"doc": "dumi dev",
"example": "APP_ROOT=example umi dev",
"postinstall": "lerna init && lerna bootstrap"
"example": "concurrently \"APP_ROOT=example umi dev\" \"imove -d\"",
"postinstall": "lerna init && lerna bootstrap && npm link packages/cli"
},
"jest": {
"projects": [
@ -35,6 +35,7 @@
"@types/jest": "^26.0.16",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0",
"concurrently": "^5.3.0",
"cypress": "^6.0.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",

2
packages/cli/package.json

@ -28,4 +28,4 @@
"express": "^4.17.1",
"fs-extra": "^9.0.1"
}
}
}

Loading…
Cancel
Save