-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
64 lines (64 loc) · 1.77 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
{
"name": "rc-dplayer",
"version": "1.0.0",
"files": [
"dist"
],
"author": "听风",
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"license": "MIT",
"bugs": {
"url": "https://github.com/tianfeng98/rc-dplayer/issues"
},
"homepage": "https://github.com/tianfeng98/rc-dplayer/blob/main/README.md",
"repository": "https://github.com/tianfeng98/rc-dplayer",
"keywords": [
"react",
"react player",
"dplayer",
"hls",
"flv",
"hevc",
"h265"
],
"scripts": {
"dev": "vite",
"build": "pnpm run build:component && pnpm run build:demo",
"build:component": "vite build && tsc --skipLibCheck -p tsconfig.types.json",
"build:demo": "vite build --config vite.demo.config.ts",
"preview": "vite preview",
"prepublish": "pnpm run build:component",
"ci-publish": "pnpm publish --registry=https://registry.npmjs.org/",
"ci-publish:major": "npm version major && pnpm run ci-publish",
"ci-publish:minor": "npm version minor && pnpm run ci-publish",
"ci-publish:patch": "npm version patch && pnpm run ci-publish"
},
"devDependencies": {
"@types/dplayer": "^1.25.2",
"@types/node": "^20.6.2",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react-swc": "^3.3.2",
"less": "^4.2.0",
"prefix-classnames": "^0.0.7",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.2.2",
"vite": "4.4.9",
"vite-plugin-css-injected-by-js": "^3.3.0"
},
"peerDependencies": {
"react": ">=17",
"react-dom": ">=17"
},
"dependencies": {
"@tianfeng98/hls.js": "^1.0.1",
"ahooks": "^3.7.8",
"classnames": "^2.3.2",
"dplayer": "^1.27.1",
"flv.js": "^1.6.2"
}
}