-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
107 lines (107 loc) · 3.5 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
{
"name": "react-taroify-ts",
"version": "1.0.0",
"private": true,
"description": "一套基于 Taro 结合 React 框架 开放式跨端跨框架解决方案。",
"templateInfo": {
"name": "default",
"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:jd": "taro build --type jd",
"build:quickapp": "taro build --type quickapp",
"build:dev": "cross-env NODE_ENV=development taro build --type weapp",
"build:sit": "cross-env NODE_ENV=sit taro build --type weapp",
"build:pro": "npm run build:weapp",
"dev:weapp": "npm run build:dev -- --watch",
"sit:weapp": "npm run build:sit -- --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",
"prettier": "prettier --write \"**/**.{js,jsx,tsx,ts,less,md,json}\" --loglevel warn",
"eslint": "eslint --ext .js,.tsx,.ts src",
"eslintfix": "eslint --fix --ext .js,.tsx,.ts src",
"prepare": "husky install",
"lint-staged": "lint-staged",
"lint:stylelint": "stylelint --fix \"**/*.{less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/"
},
"browserslist": [
"last 3 versions",
"Android >= 4.1",
"ios >= 8"
],
"author": "",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"prettier --write --ignore-unknown",
"eslint --fix"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
}
},
"dependencies": {
"@babel/runtime": "^7.21.0",
"@taroify/core": "^0.1.0-alpha.1",
"@tarojs/components": "3.6.4",
"@tarojs/plugin-framework-react": "3.6.4",
"@tarojs/react": "3.6.4",
"@tarojs/runtime": "3.6.4",
"@tarojs/taro": "3.6.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@tarojs/mini-runner": "3.6.4",
"@tarojs/webpack-runner": "3.6.4",
"@types/react": "^18.0.26",
"@types/webpack-env": "^1.13.6",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"babel-plugin-import": "^1.13.5",
"babel-preset-taro": "3.6.4",
"cross-env": "^7.0.3",
"cz-customizable": "^7.0.0",
"eslint": "^8.12.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-taro": "3.6.4",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.0",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"lint-staged": "^13.0.3",
"postcss-less": "^6.0.0",
"prettier": "^2.7.1",
"stylelint": "^14.4.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recess-order": "^3.0.0",
"stylelint-config-standard": "^26.0.0",
"stylelint-order": "^5.0.0",
"typescript": "^4.1.0"
}
}