diff --git a/lerna.json b/lerna.json index a3c7a04..12991fe 100644 --- a/lerna.json +++ b/lerna.json @@ -4,4 +4,4 @@ "example" ], "version": "0.3.3" -} \ No newline at end of file +} diff --git a/package.json b/package.json index 862d912..db20015 100644 --- a/package.json +++ b/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",