-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
55 lines (55 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
{
"name": "wavesurfer-react",
"version": "3.0.4",
"description": "react wrapper for wavesurfer.js",
"keywords": [
"react",
"wavesurfer.js"
],
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Denis Bogdanenko <[email protected]>",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prebuild": "rimraf dist/*",
"build": "tsc",
"prepublishOnly": "pnpm run build",
"build:dev": "pnpm run build && pnpm run demo:sync && cd ./demo && pnpm install",
"build:demo": "cd ./demo && pnpm run build",
"start:demo": "cd ./demo && pnpm run start",
"demo:sync": "rm -rf ../wavesurfer-react-artifacts/demo_dist && mkdir -p ../wavesurfer-react-artifacts && rsync -aRv ./dist ../wavesurfer-react-artifacts/demo_dist && cp package.json pnpm-lock.yaml README.md ../wavesurfer-react-artifacts/demo_dist",
"lint": "eslint --ext .ts src --fix"
},
"peerDependencies": {
"react": "^16 || ^17 || ^18 || ^19",
"wavesurfer.js": "^7"
},
"devDependencies": {
"@babel/preset-typescript": "^7.16.7",
"@types/react": "^17.0.38",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"typescript": "^5.2.2"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ShiiRochi/wavesurfer-react.git"
},
"bugs": {
"url": "https://github.com/ShiiRochi/wavesurfer-react/issues"
},
"homepage": "https://github.com/ShiiRochi/wavesurfer-react#readme"
}