Skip to content

Commit 38dfdec

Browse files
committed
chore: update package.json
1 parent f27aa9e commit 38dfdec

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

packages/taro-ui-demo/package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"css": "sass"
1717
},
1818
"scripts": {
19+
"build": "yarn run build:h5",
1920
"build:weapp": "taro build --type weapp",
2021
"build:swan": "taro build --type swan",
2122
"build:alipay": "taro build --type alipay",
@@ -24,14 +25,14 @@
2425
"build:rn": "taro build --type rn",
2526
"build:qq": "taro build --type qq",
2627
"build:quickapp": "taro build --type quickapp",
27-
"dev:weapp": "npm run build:weapp -- --watch",
28-
"dev:swan": "npm run build:swan -- --watch",
29-
"dev:alipay": "npm run build:alipay -- --watch",
30-
"dev:tt": "npm run build:tt -- --watch",
31-
"dev:h5": "npm run build:h5 -- --watch",
32-
"dev:rn": "npm run build:rn -- --watch",
33-
"dev:qq": "npm run build:qq -- --watch",
34-
"dev:quickapp": "npm run build:quickapp -- --watch"
28+
"dev:weapp": "yarn run build:weapp --watch",
29+
"dev:swan": "yarn run build:swan --watch",
30+
"dev:alipay": "yarn run build:alipay --watch",
31+
"dev:tt": "yarn run build:tt --watch",
32+
"dev:h5": "yarn run build:h5 --watch",
33+
"dev:rn": "yarn run build:rn --watch",
34+
"dev:qq": "yarn run build:qq --watch",
35+
"dev:quickapp": "yarn run build:quickapp --watch"
3536
},
3637
"browserslist": [
3738
"last 3 versions",
@@ -50,7 +51,7 @@
5051
},
5152
"devDependencies": {
5253
"@babel/core": "^7.8.0",
53-
"@tarojs/cli": "^3.0.0-beta.2",
54+
"@tarojs/cli": "3.0.0-beta.2",
5455
"@tarojs/mini-runner": "3.0.0-beta.2",
5556
"@tarojs/webpack-runner": "3.0.0-beta.2",
5657
"@types/react": "^16.0.0",

packages/taro-ui/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
},
3030
"license": "MIT",
3131
"scripts": {
32+
"dev": "yarn run dev:lib",
33+
"dev:lib": "tsc --project ./tsconfig.build.json --watch --incremental",
3234
"dev:doc": "yarn run build:h5-static && node ./build/dev-server",
3335
"build": "yarn run build:rollup && yarn run build:lib",
3436
"build:lib": "tsc --project ./tsconfig.build.json",
@@ -55,9 +57,9 @@
5557
"@rollup/plugin-commonjs": "^11.0.2",
5658
"@rollup/plugin-json": "^4.0.2",
5759
"@rollup/plugin-node-resolve": "^7.1.1",
58-
"@tarojs/components": "^3.0.0-beta.2",
59-
"@tarojs/react": "^3.0.0-beta.2",
60-
"@tarojs/taro": "^3.0.0-beta.2",
60+
"@tarojs/components": "3.0.0-beta.2",
61+
"@tarojs/react": "3.0.0-beta.2",
62+
"@tarojs/taro": "3.0.0-beta.2",
6163
"@types/classnames": "^2.2.9",
6264
"@types/node": "^13.11.0",
6365
"@types/react": "^16.9.23",

0 commit comments

Comments
 (0)