-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.2 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 3.2 KB
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-taro-richtext",
"version": "1.0.0",
"main": "index.js",
"repository": "git@github.com:CesarLai/react-taro-richtext.git",
"author": "Cesar Lai",
"description": "Taro 富文本渲染组件,支持渲染 HTML 和 Markdown ,以及针对不同元素的事件监听注册功能。",
"private": true,
"license": "MIT",
"templateInfo": {
"name": "default",
"typescript": true,
"css": "sass"
},
"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",
"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",
"eslint": "eslint ./ --ext .ts,.tsx --color --fix",
"git-cz": "git-cz"
},
"dependencies": {
"@babel/runtime": "^7.7.7",
"@tarojs/components": "3.4.0",
"@tarojs/plugin-framework-react": "3.4.0",
"@tarojs/react": "3.4.0",
"@tarojs/runtime": "3.4.0",
"@tarojs/taro": "3.4.0",
"classnames": "^2.3.1",
"he": "^1.2.0",
"highlight.js": "^11.4.0",
"marked": "^4.0.10",
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@tarojs/mini-runner": "3.4.0",
"@tarojs/webpack-runner": "3.4.0",
"@types/he": "^1.1.2",
"@types/marked": "^4.0.1",
"@types/react": "^17.0.2",
"@types/webpack-env": "^1.13.6",
"@typescript-eslint/eslint-plugin": "^4.15.1",
"@typescript-eslint/parser": "^4.15.1",
"babel-preset-taro": "3.4.0",
"commitizen": "^4.2.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.20.0",
"eslint-config-taro": "3.4.0",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^5.0.9",
"lint-staged": "^10.5.4",
"stylelint": "9.3.0",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-recommended-scss": "^4.3.0",
"stylelint-order": "^4.1.0",
"stylelint-scss": "^3.21.0",
"terser-webpack-plugin": "^4.2.3",
"typescript": "^4.1.0"
},
"browserslist": [
"last 3 versions",
"Android >= 4.1",
"ios >= 8"
],
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run eslint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*{.js,.jsx,.ts,.tsx}": [
"eslint --fix",
"git add"
],
"*{.css,.scss}": [
"stylelint --fix",
"git add"
]
}
}