Skip to content

Commit db0ae51

Browse files
committed
adjust build-clean and publish scirpts
1 parent 0614548 commit db0ae51

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"prebuild": "yarn build:ts",
88
"build": "node ./scripts/build.js",
99
"build:ts": "node ./scripts/buildTs.js",
10-
"build-clean": "rm -rf ./packages/*/build ./packages/*/tsconfig.tsbuildinfo",
10+
"build-clean": "rm -rf ./packages/*/build",
11+
"build-clean-with-ts-cache": "rm -rf ./packages/*/build ./packages/*/tsconfig.tsbuildinfo",
1112
"watch": "node ./scripts/watch.js",
1213
"test": "jest",
1314
"test:ci:unit": "jest packages --ci --coverage",
@@ -16,7 +17,7 @@
1617
"test:ci:cocoapods": "ruby packages/platform-ios/native_modules.rb",
1718
"flow-check": "flow check",
1819
"postinstall": "yarn build",
19-
"publish": "yarn build-clean && yarn build && lerna publish"
20+
"publish": "yarn build-clean && yarn install && lerna publish"
2021
},
2122
"dependencies": {
2223
"@babel/core": "^7.0.0",

0 commit comments

Comments
 (0)