UNPKG

react-use-audio-player

Version:

React hook for building custom audio playback controls

58 lines 1.44 kB
{ "name": "react-use-audio-player", "version": "4.0.2", "type": "module", "packageManager": "yarn@4.6.0", "sideEffects": false, "description": "React hook for building custom audio playback controls", "files": [ "dist" ], "main": "dist/index.cjs", "module": "dist/index.js", "typings": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "author": "E-Kuerschner", "repository": { "type": "git", "url": "https://github.com/E-Kuerschner/useAudioPlayer" }, "license": "MIT", "keywords": [ "react", "hooks", "react-hooks", "audio", "player", "howler", "sound", "react-howler", "howler.js" ], "scripts": { "build": "tsup src/index.ts --format esm,cjs --dts --sourcemap --minify --target es6", "g:build-package": "yarn --cwd $PROJECT_CWD/packages/react-use-audio-player build", "build-watch": "tsup src/index.ts --format esm,cjs --dts --sourcemap --target es6 --watch", "lint": "tsc", "prepublish": "yarn build", "release": "yarn npm publish && echo 'Remember to push new commit/tags to Github'" }, "devDependencies": { "@types/howler": "^2.2.12", "@types/react": "^18.0.0", "cypress": "^4.1.0", "tsup": "^8.3.5", "typescript": "^5.7.3" }, "dependencies": { "howler": "^2.2.3" }, "peerDependencies": { "react": ">=18.0.0" } }