Files
lettersoup_hk/task1/_poc/useAudioPlayer-main/package.json
louiscklaw 91fab4a5d5 update,
2025-02-01 01:16:09 +08:00

85 lines
2.4 KiB
JSON

{
"name": "react-use-audio-player",
"version": "2.2.0",
"description": "React hook for building custom audio playback controls",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"module": "dist/react-use-audio-player.esm.js",
"files": [
"dist"
],
"repository": "https://github.com/E-Kuerschner/useAudioPlayer",
"author": "Erich Kuerschner",
"license": "MIT",
"keywords": [
"react",
"hooks",
"react-hooks",
"audio",
"player",
"howler",
"sound",
"react-howler",
"howler.js"
],
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "echo 'skipping tests for now'",
"test:integration": "cypress run",
"lint": "tsc --noEmit && eslint src --cache --max-warnings=25",
"lint:fix": "eslint src/**/*.ts{,x} --fix",
"prepare": "tsdx build",
"preversion": "yarn test && yarn build",
"release": "yarn version && yarn publish --non-interactive && echo 'Remember to push new commit/tags to Github'"
},
"devDependencies": {
"@testing-library/react-hooks": "^3.4.1",
"@types/howler": "^2.2.0",
"@types/jest": "^24.0.25",
"@types/react": "^18.2.5",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"cypress": "^4.1.0",
"eslint": "^8.39.0",
"eslint-plugin-cypress": "^2.10.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^3.1.0",
"react": "^18",
"react-dom": "^18",
"react-test-renderer": "^16.12.0",
"tsdx": "^0.13.1",
"tslib": "^1.10.0",
"typescript": "^5.0.4"
},
"peerDependencies": {
"react": ">=16.8"
},
"dependencies": {
"howler": "^2.2.3"
},
"resolutions": {
"typescript": "5.0.4"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint"
}
},
"prettier": {
"tabWidth": 4,
"printWidth": 80,
"semi": false,
"trailingComma": "none"
},
"jest": {
"testPathIgnorePatterns": [
"/node_modules/",
"/test/cypress/"
]
}
}