-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
129 lines (129 loc) · 3.99 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
{
"name": "react-template-taro",
"version": "1.0.0",
"private": true,
"description": "react template taro",
"templateInfo": {
"name": "default",
"typescript": true,
"css": "sass"
},
"scripts": {
"commit": "git cz",
"bootstrap": "yarn install",
"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:jd": "taro build --type jd",
"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:jd": "npm run build:jd -- --watch",
"dev:quickapp": "npm run build:quickapp -- --watch",
"generator": "plop --plopfile generator/run.js",
"clean:lib": "rimraf node_modules",
"lint:eslint": "eslint --cache --max-warnings 0 \"{src}/**/*.{ts,tsx}\" --fix",
"lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,html,md}\"",
"lint:lint-staged": "lint-staged",
"reinstall": "rimraf yarn.lock && rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && yarn bootstrap",
"prepare": "husky install"
},
"browserslist": [
"last 3 versions",
"Android >= 4.1",
"ios >= 8"
],
"author": "",
"dependencies": {
"@linkio/constants": "workspace:*",
"@linkio/core": "workspace:*",
"@linkio/hooks": "workspace:*",
"@linkio/styles": "workspace:*",
"@linkio/utils": "workspace:*",
"@reduxjs/toolkit": "^1.9.1",
"@tarojs/components": "3.6.1",
"classnames": "^2.3.2",
"dayjs": "^1.11.5",
"lodash-es": "^4.17.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^8.0.5",
"react-transition-group": "^4.4.5",
"redux": "^4.2.0",
"redux-logger": "^3.0.6",
"redux-persist": "^6.0.0"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@babel/runtime": "^7.7.7",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
"@tarojs/plugin-framework-react": "3.6.1",
"@tarojs/plugin-platform-h5": "^3.6.1",
"@tarojs/react": "3.6.1",
"@tarojs/router": "3.6.1",
"@tarojs/runtime": "3.6.1",
"@tarojs/taro": "3.6.1",
"@tarojs/webpack5-runner": "3.6.1",
"@types/lodash-es": "^4.17.6",
"@types/react": "^18.0.0",
"@types/react-transition-group": "^4.4.5",
"@types/webpack-env": "^1.13.6",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"babel-preset-taro": "3.6.1",
"commitizen": "^4.2.6",
"cz-conventional-changelog": "^3.3.0",
"cz-git": "^1.4.1",
"eslint": "8.22.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-taro": "3.6.1",
"eslint-import-resolver-typescript": "^3.4.1",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.0",
"lint-staged": "^13.0.3",
"plop": "^3.1.1",
"prettier": "^2.7.1",
"react-refresh": "^0.11.0",
"rimraf": "^3.0.2",
"stylelint": "^14.4.0",
"typescript": "^4.7.4",
"webpack": "5.69.0"
},
"config": {
"commitizen": {
"path": "node_modules/cz-git",
"czConfig": "./scripts/commitizen.js"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"{!(package)*.json,.!(browserslist)*rc}": [
"prettier --write--parser json"
],
"package.json": [
"prettier --write"
],
"*.{scss,less,styl,html}": [
"prettier --write"
],
"*.md": [
"prettier --write"
]
}
}