Browse Source

chore: fix npm run example dependency

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

14
package.json

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

Loading…
Cancel
Save