forked from lhz516/react-h5-audio-player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 3.24 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
{
"name": "react-h5-audio-player",
"version": "3.9.3",
"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": "NODE_OPTIONS=--openssl-legacy-provider 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": "jest --env=jsdom",
"cov": "jest --env=jsdom --coverage",
"storybook": "NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 9000",
"build:storybook": "NODE_OPTIONS=--openssl-legacy-provider build-storybook -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://[email protected]/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",
"react-dom": "^16.3.0 || ^17.0.0 || ^18.0.0"
},
"dependencies": {
"@babel/runtime": "^7.10.2",
"@iconify/react": "^4.1.1"
},
"devDependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.10.2",
"@babel/plugin-proposal-class-properties": "^7.10.1",
"@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",
"@storybook/addon-actions": "^6.1.14",
"@storybook/addon-docs": "^6.1.14",
"@storybook/react": "^6.1.14",
"@types/events": "^3.0.0",
"@types/react": "^18",
"@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",
"enzyme-adapter-react-16": "^1.15.2",
"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": "^26.6.3",
"less-plugin-sass2less": "^1.2.0",
"lint-staged": "^10.2.10",
"node-sass": "^7.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"react": "^18",
"react-dom": "^18",
"sass": "^1.26.8",
"sass-loader": "^10.2.0",
"static-server": "^2.2.1",
"typescript": "^4.2.3",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11"
},
"packageManager": "[email protected]"
}