-
-
Notifications
You must be signed in to change notification settings - Fork 98
/
Copy pathpackage.json
120 lines (120 loc) · 3.52 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
{
"name": "react-h5-audio-player",
"version": "3.10.0-rc.1",
"description": "A customizable React audio player. Written in TypeScript. Mobile compatible. Keyboard friendly",
"main": "./lib/index.js",
"module": "./es/index.js",
"types": "./lib/index.d.ts",
"scripts": {
"build": "run-p build:cjs build:d.ts build:es build:umd build:css build:less",
"build:cjs": "cross-env NODE_ENV=cjs babel src --out-dir lib --extensions .tsx,.ts",
"build:es": "cross-env NODE_ENV=es babel src --out-dir es --extensions .tsx,.ts",
"build:umd": "webpack",
"build:d.ts": "tsc",
"build:css": "sass --no-source-map src/styles.scss lib/styles.css",
"build:less": "sass2less src/styles.scss lib/styles.less",
"lint": "eslint src --fix --ext .ts,.tsx",
"test": "echo \"skip tests\"",
"cov": "jest --env=jsdom --coverage",
"storybook": "storybook dev -p 9000",
"build:storybook": "storybook build -c .storybook -o docs",
"prepare": "husky install"
},
"lint-staged": {
"*.{ts,tsx}": [
"yarn lint"
]
},
"jest": {
"roots": [
"src"
],
"setupFilesAfterEnv": [
"./jest-setup.js"
]
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/lhz516/react-h5-audio-player.git"
},
"keywords": [
"react",
"component",
"music",
"audio",
"player",
"mobile",
"customizable",
"typescript",
"mse",
"eme"
],
"author": "Hanz Luo",
"license": "MIT",
"bugs": {
"url": "https://github.com/lhz516/react-h5-audio-player/issues"
},
"homepage": "https://codepen.io/lhz516/pen/dyGpmgP",
"peerDependencies": {
"react": "^16.3.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^16.3.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"dependencies": {
"@babel/runtime": "^7.10.2",
"@iconify/react": "^5"
},
"devDependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.10.2",
"@babel/plugin-transform-runtime": "^7.10.1",
"@babel/preset-env": "^7.10.2",
"@babel/preset-react": "^7.10.1",
"@babel/preset-typescript": "^7.10.1",
"@cfaester/enzyme-adapter-react-18": "^0.8.0",
"@mdx-js/loader": "^3.1.0",
"@storybook/addon-actions": "^8.4.7",
"@storybook/addon-docs": "^8.4.7",
"@storybook/addon-essentials": "^8.4.7",
"@storybook/addon-mdx-gfm": "^8.4.7",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/blocks": "^8.4.7",
"@storybook/cli": "^8.4.7",
"@storybook/react": "^8.4.7",
"@storybook/react-webpack5": "^8.4.7",
"@types/events": "^3.0.0",
"@types/react": "^19",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"babel-loader": "^8.1.0",
"cross-env": "^7.0.2",
"css-loader": "^5.2.7",
"enzyme": "^3.11.0",
"eslint": "^7.2.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.0",
"husky": "^6.0.0",
"jest": "^28.0.0",
"jest-environment-jsdom": "^29.7.0",
"less-plugin-sass2less": "^1.2.0",
"lint-staged": "^10.2.10",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"react": "^19",
"react-dom": "^19",
"remark-gfm": "^4.0.0",
"sass": "^1.26.8",
"sass-loader": "^10.2.0",
"static-server": "^2.2.1",
"style-loader": "^4.0.0",
"typescript": "^4.2.3",
"webpack": "^5",
"webpack-cli": "^4"
},
"resolutions": {
"strip-ansi": "6.0.0",
"string-width": "4.2.3"
},
"packageManager": "yarn@1.22.19"
}