-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 3.17 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
{
"name": "Wuhan97",
"version": "1.0.0",
"private": true,
"description": "Wuhan97",
"templateInfo": {
"name": "default",
"typescript": true,
"css": "sass"
},
"scripts": {
"clean": "rimraf dist",
"build": "npm run build:weapp",
"prebuild:weapp": "npm run clean",
"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": "npm run dev:weapp",
"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"
},
"author": "liuliang@webfrontend.dev",
"license": "MIT",
"dependencies": {
"@tarojs/components": "2.0.2",
"@tarojs/components-qa": "2.0.2",
"@tarojs/router": "2.0.2",
"@tarojs/taro": "2.0.2",
"@tarojs/taro-alipay": "2.0.2",
"@tarojs/taro-h5": "2.0.2",
"@tarojs/taro-qq": "2.0.2",
"@tarojs/taro-quickapp": "2.0.2",
"@tarojs/taro-rn": "2.0.2",
"@tarojs/taro-swan": "2.0.2",
"@tarojs/taro-tt": "2.0.2",
"@tarojs/taro-weapp": "2.0.2",
"await-to-js": "^2.1.1",
"babel-runtime": "^6.26.0",
"classnames": "^2.2.6",
"dayjs": "^1.8.19",
"echarts": "^4.6.0",
"nerv-devtools": "^1.5.5",
"nervjs": "^1.5.5"
},
"devDependencies": {
"@tarojs/mini-runner": "2.0.2",
"@tarojs/webpack-runner": "2.0.2",
"@types/react": "^16.4.6",
"@types/webpack-env": "^1.13.6",
"@typescript-eslint/eslint-plugin": "^2.17.0",
"@typescript-eslint/parser": "^2.13.0",
"babel-eslint": "^10.0.3",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-export-extensions": "^6.22.0",
"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",
"eslint": "^5.16.0",
"eslint-config-prettier": "^6.9.0",
"eslint-config-taro": "2.0.2",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-react-hooks": "^1.6.1",
"eslint-plugin-taro": "2.0.2",
"husky": "^4.2.1",
"lint-staged": "^10.0.2",
"prettier": "^1.19.1",
"stylelint": "9.3.0",
"stylelint-config-taro-rn": "2.0.2",
"stylelint-taro-rn": "2.0.2",
"typescript": "^3.0.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{css,scss}": [
"prettier --write",
"git add"
],
"{src,config}/**/*.{js,jsx,mjs,ts,tsx}": [
"prettier --write",
"eslint --fix --ext .js,.jsx,.mjs,.ts,.tsx",
"git add"
]
}
}