diff --git a/package.json b/package.json index db20015..cbce5c8 100644 --- a/package.json +++ b/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", diff --git a/packages/cli/package.json b/packages/cli/package.json index 2a6db79..f97806a 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -28,4 +28,4 @@ "express": "^4.17.1", "fs-extra": "^9.0.1" } -} \ No newline at end of file +}