UNPKG

wavesurfer-react

Version:
56 lines (55 loc) 1.81 kB
{ "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 <shiirochi@yandex.ru>", "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" }