-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
executable file
·115 lines (115 loc) · 3.23 KB
/
package.json
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
106
107
108
109
110
111
112
113
114
115
{
"name": "taro3-react-template",
"version": "1.0.0",
"private": true,
"description": "基于 Taro3 + React Hooks + TypeScript + Scss 的开箱即用的多端项目模版。",
"keywords": [
"taro",
"taro3",
"react"
],
"author": {
"name": "lexmin0412",
"email": "zhangle_dev@ouutlook.com",
"url": "https://github.com/lexmin0412"
},
"templateInfo": {
"name": "mobx",
"typescript": true,
"css": "sass"
},
"engines": {
"node": ">=16.14.0",
"pnpm": ">=8.0.0"
},
"scripts": {
"build:weapp": "taro build --type weapp",
"dev:weapp": "taro build --type weapp --watch",
"build:h5": "taro build --type h5",
"dev:h5": "pnpm run build:h5 --watch",
"new": "plop --plopfile generators/index.js",
"preview:weapp": "npx mpa",
"preview:weapp-local-watch": "pnpm preview:weapp && pnpm dev:weapp"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && lint-staged",
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{cjs,mjs,js,ts,tsx}": ["eslint", "prettier --write"],
"*.{css,less}": ["stylelint --fix", "prettier --write"],
"*.{json,jsonc,html,yml,yaml,md}": ["markdownlint-cli2 .md", "prettier --write"]
},
"browserslist": [
"last 3 versions",
"Android >= 4.1",
"ios >= 8"
],
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.7.7",
"@nutui/nutui-react-taro": "^2.5.2",
"@tarojs/components": "3.6.32",
"@tarojs/helper": "3.6.32",
"@tarojs/plugin-framework-react": "3.6.32",
"@tarojs/plugin-html": "3.6.32",
"@tarojs/plugin-platform-h5": "3.6.32",
"@tarojs/plugin-platform-weapp": "3.6.32",
"@tarojs/react": "3.6.32",
"@tarojs/runtime": "3.6.32",
"@tarojs/shared": "3.6.32",
"@tarojs/taro": "3.6.32",
"evil-eval": "^0.0.1",
"mobx": "^4.8.0",
"mobx-react": "^6.1.4",
"nervjs": "^1.5.7",
"postcss": "^8.4.23",
"react": "18.2.0",
"react-dom": "18.2.0",
"wtils": "^0.2.0"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@commitlint/lint": "^17.0.3",
"@lexmin0412/prettier-config-base": "^0.0.10",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.4",
"@tarojs/cli": "3.6.32",
"@tarojs/webpack5-runner": "3.6.32",
"@tarox/plugin-init-app": "^1.0.0-alpha.16",
"@types/react": "18.0.15",
"@types/webpack-env": "^1.13.6",
"@typescript-eslint/parser": "^6.2.0",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@youtils/commitlint-plugin-standard": "^0.0.1",
"babel-loader": "^8.2.5",
"babel-plugin-import": "^1.13.6",
"babel-preset-taro": "3.6.32",
"cache-loader": "^4.1.0",
"cross-env": "^7.0.2",
"eslint": "^8.12.0",
"eslint-config-taro": "3.6.32",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.0",
"lint-staged": "^10.4.0",
"markdownlint": "^0.25.1",
"markdownlint-cli2": "^0.4.0",
"miniprogram-automator": "^0.11.0",
"miniprogram-automator-scripts": "0.0.2",
"plop": "^2.7.4",
"prettier": "^3.3.2",
"pretty-quick": "^3.0.2",
"react-refresh": "0.11.0",
"stylelint": "9.3.0",
"taro-plugin-compiler-optimization": "^1.0.1",
"taro-plugin-dotenv": "^1.0.1",
"thread-loader": "^3.0.4",
"typescript": "^5.1.0",
"webpack": "^5.74.0"
}
}