-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
81 lines (81 loc) · 2.15 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
{
"private": false,
"name": "lm-player",
"description": "基于mpegts.js和hls.js封装React视频播放组件",
"version": "1.0.0",
"scripts": {
"build": "father build",
"start": "father dev",
"doctor": "father doctor",
"prepare": "husky install",
"demo:dev": "vite",
"demo:build": "tsc && vite build",
"demo:deploy": "gh-pages -d dist",
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
"stylelint": "stylelint --fix \"**/*.less\" --custom-syntax postcss-less"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"main": "es/index.js",
"module": "es/index.js",
"typings": "es/index.d.ts",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{md,json}": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.less": [
"stylelint --fix --custom-syntax postcss-less"
],
"*.{js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{ts,tsx}": [
"eslint --fix",
"prettier --parser=typescript --write"
]
},
"dependencies": {
"@cloud-app-dev/mpegts.js": "^1.7.3",
"antd": "^5.6.4",
"dayjs": "^1.11.8",
"hls.js": "^1.4.8",
"lodash-es": "^4.17.21",
"screenfull": "^6.0.2"
},
"devDependencies": {
"@commitlint/cli": "^17.6.5",
"@commitlint/config-conventional": "^17.6.5",
"@types/lodash-es": "^4.17.8",
"@types/node": "^18.16.16",
"@types/react": "^18.2.9",
"@types/react-dom": "^18.2.4",
"@umijs/lint": "^4.0.70",
"@vitejs/plugin-react": "^4.0.3",
"ahooks": "^3.7.7",
"babel-plugin-import": "^1.13.6",
"eslint": "^8.44.0",
"father": "^4.2.3",
"gh-pages": "^5.0.0",
"husky": "^8.0.3",
"less": "^4.1.3",
"lint-staged": "^13.2.3",
"postcss-less": "^6.0.0",
"prettier": "^2.8.8",
"prettier-plugin-organize-imports": "^3.2.2",
"prettier-plugin-packagejson": "^2.4.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"stylelint": "^14.16.1",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard": "^29.0.0",
"stylelint-order": "^5.0.0",
"vite": "^4.4.4"
}
}