|
188 | 188 | ]
|
189 | 189 | },
|
190 | 190 | "scripts": {
|
191 |
| - "dev:weapp": "npm run build:weapp -- --watch", |
192 |
| - "dev:qq": "npm run build:qq -- --watch", |
193 |
| - "dev:h5": "npm run build:h5 -- --watch", |
194 |
| - "dev:swan": "npm run build:swan -- --watch", |
195 |
| - "dev:alipay": "npm run build:alipay -- --watch", |
196 |
| - "dev:doc": "npm run build:h5-static && node ./build/dev-server", |
| 191 | + "dev:weapp": "yarn run build:weapp -- --watch", |
| 192 | + "dev:qq": "yarn run build:qq -- --watch", |
| 193 | + "dev:h5": "yarn run build:h5 -- --watch", |
| 194 | + "dev:swan": "yarn run build:swan -- --watch", |
| 195 | + "dev:alipay": "yarn run build:alipay -- --watch", |
| 196 | + "dev:doc": "yarn run build:h5-static && node ./build/dev-server", |
197 | 197 | "build:weapp": "taro build --type weapp",
|
198 | 198 | "build:qq": "taro build --type qq",
|
199 | 199 | "build:h5": "taro build --type h5",
|
200 | 200 | "build:swan": "taro build --type swan",
|
201 | 201 | "build:alipay": "taro build --type alipay",
|
202 | 202 | "build:component": "cross-env TARO_BUILD_TYPE=component taro build --ui",
|
203 |
| - "build:h5-static": "npm run build:h5 && node ./build/build-static", |
204 |
| - "build:doc": "npm run build:h5-static && node ./build/build-docs", |
205 |
| - "prepublishOnly": "npm run clean && npm run build:component", |
| 203 | + "build:h5-static": "yarn run build:h5 && node ./build/build-static", |
| 204 | + "build:doc": "yarn run build:h5-static && node ./build/build-docs", |
| 205 | + "prepublishOnly": "yarn run clean && yarn run build:component", |
206 | 206 | "lint": "eslint ./src --fix",
|
207 | 207 | "lint:style": "stylelint \"src/**/*.scss\" --syntax scss",
|
208 | 208 | "lint:style-fix": "stylelint \"src/**/*.scss\" --syntax scss --fix",
|
209 | 209 | "test": "cross-env NODE_ENV=test && jest --coverage",
|
210 |
| - "test:ci": "npm run build:h5 && npm run test", |
| 210 | + "test:ci": "yarn run build:h5 && yarn run test", |
211 | 211 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
212 | 212 | "clean": "rimraf .temp dist coverage"
|
213 | 213 | },
|
|
0 commit comments