-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 2.8 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 2.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "tools",
"private": true,
"description": "",
"scripts": {
"preinstall": "npx only-allow pnpm",
"eslint": "npx eslint -c eslint.config.js '**/*.{js,jsx,ts,tsx}' && npx tsc -p tsconfig.json --skipLibCheck",
"stylelint": "npx stylelint --aei --config stylelint.config.js '**/*.{css,less,scss}'",
"prettier": "npx prettier --write '**/*.{js,jsx,ts,tsx,md,html,css,less,scss}'",
"build:package": "pnpm -r run build"
},
"devDependencies": {
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@eslint/js": "^9.9.0",
"@types/node": "^18.15.11",
"@types/react": "^18.2.6",
"@types/react-test-renderer": "^18.0.0",
"commitizen": "^4.3.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.9.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-taro": "4.0.4",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "5.1.0-rc-1d989965-20240821",
"globals": "^15.9.0",
"husky": "^9.1.5",
"lint-staged": "^15.2.9",
"postcss": "^8.4.41",
"postcss-scss": "^4.0.9",
"prettier": "^3.3.3",
"sass": "^1.75.0",
"stylelint": "^16.8.2",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard": "^36.0.1",
"stylelint-config-taro-rn": "^4.0.4",
"stylelint-taro-rn": "^4.0.4",
"terser": "^5.31.6",
"ts-node": "^10.9.1",
"typescript": "^5.5.4",
"typescript-eslint": "^8.2.0"
},
"engines": {
"node": ">=18.19.0",
"pnpm": ">=9.7.1"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"type-enum": [
2,
"always",
[
"feat",
"fix",
"style",
"chore",
"typings",
"docs",
"refactor",
"test"
]
]
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog",
"types": {
"feat": {
"description": "新功能(feature)"
},
"fix": {
"description": "修补bug"
},
"style": {
"description": "格式(不影响代码运行的变动)"
},
"chore": {
"description": "构建过程或辅助工具的变动"
},
"typings": {
"description": "Typescript 类型错误"
},
"docs": {
"description": "文档(documentation)"
},
"refactor": {
"description": "重构(既不是新增功能,也不是修改bug的代码变动)"
},
"test": {
"description": "增加或修改测试用例"
}
}
}
},
"dependencies": {
"@tarojs/taro": "^4.0.5"
}
}