/
package.json
167 lines (167 loc) · 5.16 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"name": "taro-template",
"version": "2.0.0",
"private": true,
"description": "基于 taro 2.x 的开箱即用多端项目模版",
"templateInfo": {
"name": "mobx",
"typescript": true,
"css": "sass"
},
"homepage": "https://github.com/lexmin0412/taro-template",
"repository": {
"type": "github",
"url": "https://github.com/lexmin0412/taro-template",
"branch": "2.x"
},
"bugs": {
"url": "https://github.com/lexmin0412/taro-template/issues",
"email": "zhangle_media@hotmail.com"
},
"keywords": [
"taro",
"template",
"taro-template",
"project-template",
"react",
"h5",
"weapp"
],
"author": "lexmin0412",
"maintainers": [
{
"name": "lexmin0412",
"email": "zhangle_media@hotmail.com",
"url": "https://github.com/lexmin0412"
}
],
"contributors": [
{
"name": "lexmin0412",
"email": "zhangle_media@hotmail.com",
"url": "https://github.com/lexmin0412"
}
],
"engines": {
"node": "12.18.0"
},
"bundledDependencies": [
"@tarojs/taro"
],
"typings": "global.d.ts",
"markdown": "github",
"license": "MIT",
"scripts": {
"dev:mp": "npm run build:mp -- --watch",
"dev:mp-dev": "npm run build:mp-dev -- --watch",
"dev:mp-test": "npm run build:mp-test -- --watch",
"dev:mp-uat": "npm run build:mp-uat -- --watch",
"dev:mp-pro": "npm run build:mp-pro --type weapp -- --watch",
"dev:mp-local": "npm run build:mp-local --type weapp -- --watch",
"build:mp": "cross-env BUILD_ENV=pro taro build --type weapp",
"build:mp-dev": "cross-env BUILD_ENV=dev taro build --type weapp",
"build:mp-test": "cross-env BUILD_ENV=test taro build --type weapp",
"build:mp-uat": "cross-env BUILD_ENV=uat taro build --type weapp",
"build:mp-pro": "cross-env BUILD_ENV=pro taro build --type weapp",
"build:mp-local": "cross-env BUILD_ENV=local taro build --type weapp",
"dev:h5": "npm run build:h5-local -- --watch",
"dev:h5-local": "npm run build:h5-local -- --watch",
"dev:h5-dev": "npm run build:h5-dev -- --watch",
"dev:h5-test": "npm run build:h5-test -- --watch",
"dev:h5-uat": "npm run build:h5-uat -- --watch",
"dev:h5-pro": "npm run build:h5-pro -- --watch",
"build:h5-local": "cross-env BUILD_ENV=local taro build --type h5",
"build:h5-dev": "cross-env BUILD_ENV=dev taro build --type h5",
"build:h5-test": "cross-env BUILD_ENV=test taro build --type h5",
"build:h5-uat": "cross-env BUILD_ENV=uat taro build --type h5",
"build:h5-pro": "cross-env BUILD_ENV=pro taro build --type h5"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && lint-staged",
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"**/*.js": "eslint --ext .js",
"src/**/*.ts": "eslint --ext .ts",
"src/**/*.tsx": "eslint --ext .tsx",
"src/**/*.scss": "stylelint --syntax scss && stylelint --fix scss"
},
"dependencies": {
"@tarojs/components": "2.2.18",
"@tarojs/components-qa": "2.2.18",
"@tarojs/mobx": "2.2.18",
"@tarojs/mobx-h5": "2.2.18",
"@tarojs/plugin-sass": "2.2.18",
"@tarojs/router": "2.2.18",
"@tarojs/runner-utils": "2.2.18",
"@tarojs/taro": "2.2.18",
"@tarojs/taro-alipay": "2.2.18",
"@tarojs/taro-h5": "2.2.18",
"@tarojs/taro-qq": "2.2.18",
"@tarojs/taro-quickapp": "2.2.18",
"@tarojs/taro-swan": "2.2.18",
"@tarojs/taro-tt": "2.2.18",
"@tarojs/taro-weapp": "2.2.18",
"babel-runtime": "^6.26.0",
"clipboard": "^2.0.6",
"dayjs": "^1.8.24",
"mobx": "4.8.0",
"nerv-devtools": "^1.5.7",
"nervjs": "^1.5.7",
"qrcode": "^1.4.4",
"regenerator-runtime": "0.11.1",
"taro-ui": "^2.3.1",
"taro-ui-hd": "0.0.2",
"wtils": "^0.2.0"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@tarojs/cli": "2.2.18",
"@tarojs/mini-runner": "2.2.18",
"@tarojs/plugin-uglify": "2.2.18",
"@tarojs/webpack-runner": "2.2.18",
"@tarox/plugin-check-env": "1.0.0-alpha.4",
"@tarox/plugin-generate": "^0.0.1-alpha.1",
"@tarox/plugin-init-app": "1.0.0-alpha.5",
"@tarox/plugin-mp": "1.0.0-alpha.4",
"@types/react": "^16.4.6",
"@types/webpack-env": "^1.13.6",
"@typescript-eslint/eslint-plugin": "^2.13.0",
"@typescript-eslint/parser": "^2.13.0",
"@youtils/prettier-config-standard": "^1.0.0-alpha.1",
"babel-eslint": "^8.2.3",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-jsx-stylesheet": "^0.6.5",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"chalk": "^4.0.0",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
"eslint-config-taro": "2.2.18",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-react-hooks": "^1.6.1",
"eslint-plugin-taro": "2.2.18",
"husky": "^4.2.5",
"lint-staged": "^10.0.9",
"node-plop": "^0.26.0",
"plop": "^2.6.0",
"prettier": "^2.0.5",
"pretty-quick": "^2.0.1",
"standard": "^14.3.3",
"stylelint": "^9.3.0",
"stylelint-config-standard": "^20.0.0",
"stylelint-config-taro-rn": "2.2.18",
"stylelint-order": "^4.0.0",
"stylelint-scss": "^3.17.1",
"stylelint-taro-rn": "2.2.18",
"typescript": "^3.0.1",
"vconsole": "^3.3.4",
"webpack-bundle-analyzer": "^3.6.1"
}
}