Browse Source

chore: fix npm run example dependency

master
i5ting 4 years ago
parent
commit
4ad68a1ed7
  1. 2
      lerna.json
  2. 14
      package.json

2
lerna.json

@ -4,4 +4,4 @@
"example"
],
"version": "0.3.3"
}
}

14
package.json

@ -2,12 +2,12 @@
"name": "root",
"private": true,
"scripts": {
"example": "npx lerna run --scope example start",
"lint": "eslint --cache --fix --ext .ts,tsx,js,jsx ./packages/**/src > ./.eslint-error.log; exit 0",
"test": "jest --coverage",
"e2e": "cypress open",
"doc": "dumi dev",
"example": "UMI=example umi start "
"example": "APP_ROOT=example umi dev",
"postinstall": "lerna init && lerna bootstrap"
},
"jest": {
"projects": [
@ -50,7 +50,7 @@
"jest": "^26.6.3",
"jest-environment-jsdom-fourteen": "^1.0.1",
"jest-puppeteer": "^4.4.0",
"lerna": "^3.20.2",
"lerna": "^3.22.1",
"lowdb": "^1.0.0",
"prettier": "^2.0.4",
"puppeteer": "^5.5.0",
@ -66,14 +66,14 @@
"dependencies": {
"@babel/runtime": "^7.9.2",
"@babel/runtime-corejs3": "^7.9.2",
"core-js": "^3.6.5",
"dumi": "^1.0.37",
"ora": "^4.0.3",
"@imove/core": "^0.3.0",
"@imove/core": "^0.3.6",
"@umijs/preset-react": "1.x",
"@umijs/test": "^3.2.2",
"antd": "^4.4.3",
"core-js": "^3.6.5",
"dumi": "^1.0.37",
"lint-staged": "^10.0.7",
"ora": "^4.0.3",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"umi": "^3.2.2",

Loading…
Cancel
Save