|
9 | 9 | "url": "[email protected]:nervjs/taro-ui.git"
|
10 | 10 | },
|
11 | 11 | "license": "MIT",
|
12 |
| - "workspaces": { |
13 |
| - "packages": [ |
14 |
| - "packages/taro-ui", |
15 |
| - "packages/taro-ui-demo", |
16 |
| - "packages/taro-ui-docs" |
17 |
| - ] |
18 |
| - }, |
19 | 12 | "scripts": {
|
20 |
| - "bootstrap": "lerna bootstrap", |
21 |
| - "build": "lerna run build", |
22 |
| - "build:component": "lerna run --scope taro-ui build", |
23 |
| - "clean": "lerna run clean", |
24 |
| - "clean:component": "lerna run --scope taro-ui clean", |
25 |
| - "publish": "lerna publish from-git --yes" |
| 13 | + "bootstrap": "pnpm i", |
| 14 | + "build": "pnpm -r --filter=./packages/* run build", |
| 15 | + "build:component": "pnpm run --scope taro-ui build", |
| 16 | + "clean": "rm -rf node_modules packages/*/node_modules", |
| 17 | + "clean:component": "pnpm remove --scope taro-ui clean", |
| 18 | + "publish": "lerna publish from-git --yes", |
| 19 | + "prepare": "husky install" |
26 | 20 | },
|
27 | 21 | "devDependencies": {
|
28 |
| - "@commitlint/cli": "^8.3.5", |
29 |
| - "@commitlint/config-conventional": "^8.3.4", |
30 |
| - "eslint-config-taro": "~3.0.2", |
31 |
| - "@typescript-eslint/eslint-plugin": "^5.20.0", |
32 |
| - "@typescript-eslint/parser": "^5.20.0", |
33 |
| - "conventional-changelog-cli": "^2.0.31", |
34 |
| - "cross-env": "^7.0.2", |
35 |
| - "eslint": "^8.12.0", |
| 22 | + "@babel/core": "^7.22.11", |
| 23 | + "@babel/plugin-proposal-class-properties": "^7.18.6", |
| 24 | + "@babel/plugin-syntax-dynamic-import": "^7.8.3", |
| 25 | + "@babel/preset-env": "^7.22.10", |
| 26 | + "@babel/preset-react": "^7.22.5", |
| 27 | + "@commitlint/cli": "^8.3.6", |
| 28 | + "@commitlint/config-conventional": "^8.3.6", |
| 29 | + "@types/react": "^18.2.21", |
| 30 | + "@types/react-dom": "^18.2.7", |
| 31 | + "@typescript-eslint/eslint-plugin": "^5.62.0", |
| 32 | + "@typescript-eslint/parser": "^5.62.0", |
| 33 | + "autoprefixer": "9.8.8", |
| 34 | + "conventional-changelog-cli": "^2.2.2", |
| 35 | + "cross-env": "^7.0.3", |
| 36 | + "eslint": "^8.48.0", |
36 | 37 | "eslint-config-o2team": "^0.1.7",
|
37 |
| - "eslint-config-prettier": "^6.10.1", |
38 |
| - "eslint-import-resolver-custom-alias": "^1.2.0", |
39 |
| - "eslint-plugin-import": "^2.20.2", |
40 |
| - "eslint-plugin-prettier": "^3.1.2", |
41 |
| - "eslint-plugin-react": "^7.19.0", |
42 |
| - "eslint-plugin-react-hooks": "^3.0.0", |
43 |
| - "husky": "^4.2.3", |
44 |
| - "lerna": "^3.20.2", |
45 |
| - "lint-staged": "^10.1.2", |
46 |
| - "prettier": "^2.0.3", |
| 38 | + "eslint-config-prettier": "^6.15.0", |
| 39 | + "eslint-config-taro": "~3.6.15", |
| 40 | + "eslint-import-resolver-custom-alias": "^1.3.2", |
| 41 | + "eslint-plugin-import": "^2.28.1", |
| 42 | + "eslint-plugin-prettier": "^3.4.1", |
| 43 | + "eslint-plugin-react": "^7.33.2", |
| 44 | + "eslint-plugin-react-hooks": "^4.6.0", |
| 45 | + "husky": "^8.0.0", |
| 46 | + "lint-staged": "^10.5.4", |
| 47 | + "prettier": "^2.8.8", |
| 48 | + "react": "^18.2.0", |
| 49 | + "react-dom": "^18.2.0", |
47 | 50 | "rimraf": "^3.0.2",
|
48 |
| - "stylelint": "^15.10.1", |
| 51 | + "stylelint": "^15.10.3", |
49 | 52 | "stylelint-config-standard": "^20.0.0",
|
50 |
| - "stylelint-scss": "^3.16.0", |
51 |
| - "typescript": "~4.1.0" |
| 53 | + "stylelint-scss": "^3.21.0", |
| 54 | + "tslib": "2.5.0", |
| 55 | + "typescript": "~4.1.6" |
52 | 56 | },
|
53 | 57 | "resolutions": {
|
54 | 58 | "sharp": "^0.28.3"
|
55 | 59 | },
|
56 |
| - "husky": { |
57 |
| - "hooks": { |
58 |
| - "pre-commit": "lint-staged", |
59 |
| - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" |
60 |
| - } |
61 |
| - }, |
62 | 60 | "lint-staged": {
|
63 | 61 | "*.{js,jsx,ts,tsx}": "eslint --quiet --cache --fix",
|
64 | 62 | "src/**/*.scss": "stylelint --syntax scss --fix"
|
|
0 commit comments