UNPKG

@wavesurfer/react

Version:

React component and hook for wavesurfer.js

73 lines (72 loc) 2.3 kB
{ "name": "@wavesurfer/react", "version": "1.0.11", "description": "React component and hook for wavesurfer.js", "homepage": "https://wavesurfer.xyz", "repository": { "type": "git", "url": "git@github.com:katspaugh/wavesurfer-react.git" }, "keywords": [ "wavesurfer", "react", "audio", "waveform", "player" ], "files": [ "dist/index.js", "dist/index.d.ts" ], "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "typings": "./dist/index.d.ts", "type": "module", "scripts": { "build": "rollup -c", "build:examples": "cd examples && rollup -c", "lint": "eslint src", "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js tests", "test:ci": "yarn test --ci --silent --coverage --json --watchAll=false --testLocationInResults --outputFile=report.json", "serve": "npx live-server --port=3030 --no-browser --ignore='.*,src,tests'", "prepare": "yarn build", "prepublishOnly": "yarn build" }, "author": "katspaugh", "license": "BSD-3-Clause", "peerDependencies": { "react": "^18.2.0 || ^19.0.0", "wavesurfer.js": ">=7.7.14" }, "devDependencies": { "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-terser": "^0.4.3", "@rollup/plugin-typescript": "^11.1.2", "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.1.0", "@types/jest": "^29.5.14", "@types/react": "^19.0.2", "@types/react-dom": "^19.0.2", "@typescript-eslint/eslint-plugin": "^5.57.0", "@typescript-eslint/parser": "^5.57.0", "eslint": "^8.37.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^4.2.1", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "prettier": "^2.8.7", "react": "^19.0.0", "react-dom": "^19.0.0", "rollup": "^3.26.2", "rollup-plugin-inject-process-env": "^1.3.1", "typescript": "^5.0.4", "wavesurfer.js": "^7.9.4" }, "jest": { "transform": {}, "testEnvironment": "jest-environment-jsdom" }, "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" }