forked from lhz516/react-h5-audio-player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 3.21 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
{
"name": "react-h5-audio-player",
"version": "3.6.2",
"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,.js",
"test": "jest --env=jsdom",
"cov": "jest --env=jsdom --coverage",
"storybook": "start-storybook -p 9000",
"build:storybook": "build-storybook -c .storybook -o react-h5-audio-player-storybook"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,js}": [
"npm run 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://github.com/lhz516/react-h5-audio-player#readme",
"peerDependencies": {
"react": "^16.3.0 || ^17.0.0",
"react-dom": "^16.3.0 || ^17.0.0"
},
"dependencies": {
"@babel/runtime": "^7.10.2",
"@iconify/icons-mdi": "^1.0.46",
"@iconify/react": "^1.1.3"
},
"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",
"@typescript-eslint/eslint-plugin": "^3.3.0",
"@typescript-eslint/parser": "^3.3.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"cross-env": "^7.0.2",
"css-loader": "^3.6.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^7.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.0",
"husky": "^4.2.5",
"jest": "^26.6.3",
"less-plugin-sass2less": "^1.2.0",
"lint-staged": "^10.2.10",
"node-sass": "^4.14.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"sass": "^1.26.8",
"sass-loader": "^8.0.2",
"static-server": "^2.2.1",
"typescript": "^3.9.5",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11"
}
}