UNPKG

wavesurfer-react

Version:
79 lines 2.4 kB
{ "name": "wavesurfer-react", "version": "3.0.5", "description": "react wrapper for wavesurfer.js", "keywords": [ "react", "wavesurfer.js" ], "license": "MIT", "type": "module", "main": "./dist/cjs/index.cjs", "module": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", "exports": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.cjs", "types": "./dist/types/index.d.ts" }, "./*": { "import": "./dist/esm/*.js", "require": "./dist/cjs/*.cjs", "types": "./dist/types/*.d.ts" } }, "author": "Denis Bogdanenko <shiirochi@yandex.ru>", "peerDependencies": { "react": "^16 || ^17 || ^18 || ^19", "wavesurfer.js": "^7" }, "devDependencies": { "@babel/preset-typescript": "^7.16.7", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-swc": "^0.4.0", "@swc/core": "^1.11.11", "@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", "rollup": "^4.36.0", "rollup-plugin-dts": "^6.2.1", "typescript": "^5.5.3" }, "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", "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "prebuild": "rimraf dist/*", "build": "rollup -c", "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" } }