-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
118 lines (118 loc) · 3.63 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
{
"name": "taro-template",
"version": "1.0.0",
"description": "taro模板",
"license": "MIT",
"author": "阮旭松",
"templateInfo": {
"name": "taro-ui",
"typescript": true,
"css": "less"
},
"scripts": {
"build:weapp": "taro build --type weapp",
"build:swan": "taro build --type swan",
"build:alipay": "taro build --type alipay",
"build:tt": "taro build --type tt",
"build:h5": "taro build --type h5",
"build:rn": "taro build --type rn",
"build:qq": "taro build --type qq",
"build:quickapp": "taro build --type quickapp",
"dev:weapp": "npm run build:weapp -- --watch",
"dev:swan": "npm run build:swan -- --watch",
"dev:alipay": "npm run build:alipay -- --watch",
"dev:tt": "npm run build:tt -- --watch",
"dev:h5": "npm run build:h5 -- --watch",
"dev:rn": "npm run build:rn -- --watch",
"dev:qq": "npm run build:qq -- --watch",
"dev:quickapp": "npm run build:quickapp -- --watch",
"build:cordova": "taro build --type h5 \"cordova\"",
"tsc": "tsc -p ./tsconfig.json",
"commit": "git-cz",
"eslint:fix": "eslint --fix --ext .ts,.tsx src/",
"lint:fix": "prettier --check src/**/*.tsx --write"
},
"browserslist": [
"last 3 versions",
"Android >= 4.1",
"ios >= 8"
],
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
},
"changelog": {
"emojis": true,
"authorName": true,
"authorEmail": true
},
"husky": {
"hooks": {
"pre-commit": "npm run tsc && npm run eslint:fix && npm run lint:fix && lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"git add ."
]
},
"dependencies": {
"@babel/runtime": "^7.12.1",
"@tarojs/components": "3.0.14",
"@tarojs/react": "^3.0.14",
"@tarojs/taro": "3.0.14",
"babel-runtime": "^6.26.0",
"classnames": "^2.2.6",
"core-js": "^3.6.5",
"lodash": "^4.17.20",
"react": "^16.10.0",
"react-dom": "^16.10.0",
"taro-ui": "^3.0.0-alpha.3"
},
"devDependencies": {
"@babel/core": "^7.12.1",
"@babel/helper-create-class-features-plugin": "^7.12.1",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@tarojs/cli": "3.0.14",
"@tarojs/mini-runner": "3.0.14",
"@tarojs/plugin-mock": "^0.0.6",
"@tarojs/webpack-runner": "3.0.14",
"@types/lodash": "^4.14.162",
"@types/qs": "^6.9.5",
"@types/react": "^16.9.52",
"@types/webpack-env": "^1.15.3",
"@typescript-eslint/eslint-plugin": "^4.4.1",
"@typescript-eslint/parser": "^4.4.1",
"babel-eslint": "^10.1.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-jsx-stylesheet": "^1.0.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-taro": "^3.0.14",
"commitizen": "^4.2.1",
"conventional-changelog-cli": "^2.1.0",
"conventional-changelog-custom-config": "^0.3.1",
"cz-customizable": "6.2.0",
"eslint": "^7.11.0",
"eslint-config-prettier": "^6.12.0",
"eslint-config-taro": "3.0.14",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.4",
"eslint-plugin-react-hooks": "^4.1.2",
"eslint-plugin-taro": "3.0.14",
"husky": "^4.3.0",
"lint-staged": "^10.4.0",
"pont-engine": "1.0.6",
"prettier": "^2.1.2",
"standard-version": "^9.0.0",
"stylelint": "13.7.2",
"typescript": "^4.0.3"
}
}