Skip to content

Commit 438b195

Browse files
committed
chore: update npm bootstrap script
1 parent 62cecec commit 438b195

File tree

1 file changed

+22
-12
lines changed

1 file changed

+22
-12
lines changed

package.json

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,33 @@
44
"description": "",
55
"main": "index.js",
66
"scripts": {
7-
"precommit": "lint-staged",
7+
"bootstrap": "npm run lerna:clean && npm run lerna:bootstrap && npm run build:lib",
8+
"bootstrap:ci": "npm run lerna:clean && npm run lerna:bootstrap:ci && npm run build:lib",
9+
10+
"build:lib": "babel-node scripts/buildProjectLib.js",
11+
12+
"check:instances": "babel-node ./scripts/checkInstances.js",
13+
14+
"create:dts": "babel-node scripts/generateDts.js",
15+
"create:package": "npx yo ./packages/generators/generator-package",
16+
17+
"lerna:bootstrap": "lerna bootstrap -- --legacy-peer-deps",
18+
"lerna:bootstrap:ci": "lerna bootstrap --no-ci -- --legacy-peer-deps",
19+
"lerna:clean": "lerna clean --yes",
20+
821
"lint": "eslint .",
922
"lint:fix": "eslint . --fix",
23+
24+
"precommit": "lint-staged",
25+
"prepare": "husky install",
26+
"publish": "npm run build:lib && node ./scripts/publish.js",
27+
1028
"test": "cross-env NODE_ENV=test jest",
1129
"test:update": "cross-env NODE_ENV=test jest -u",
12-
"publish": "npm run build:lib && node ./scripts/publish.js",
13-
"clean": "lerna clean --yes",
14-
"check:instances": "babel-node ./scripts/checkInstances.js",
15-
"bootstrap": "npm run clean && lerna bootstrap -- --legacy-peer-deps",
16-
"bootstrap:ci": "npm run clean && lerna bootstrap --no-ci -- --legacy-peer-deps",
17-
"prepare": "husky install",
18-
"updateDeipDeps": "node ./scripts/updateDeipDeps.js",
19-
"create:package": "npx yo ./packages/generators/generator-package",
20-
"build:lib": "babel-node scripts/buildProjectLib.js",
21-
"watch:dev": "npm run build:lib && babel-node ./scripts/watchDev.js",
30+
2231
"types:check": "tsc --noEmit",
23-
"generateDts": "babel-node scripts/generateDts.js"
32+
"updateDeipDeps": "node ./scripts/updateDeipDeps.js",
33+
"watch:dev": "npm run build:lib && babel-node ./scripts/watchDev.js"
2434
},
2535
"keywords": [],
2636
"author": "",

0 commit comments

Comments
 (0)