UNPKG

ts-audio

Version:

`ts-audio` is an agnostic and easy-to-use library to work with the `AudioContext` API and create Playlists.

72 lines (71 loc) 1.66 kB
{ "name": "ts-audio", "version": "0.7.8", "author": "evandrolg", "license": "MIT", "source": "src/index.ts", "main": "dist/index.js", "module": "dist/index.modern.mjs", "umd:main": "dist/index.umd.js", "typings": "dist/index.d.ts", "files": [ "dist", "src" ], "sideEffects": false, "scripts": { "size": "npm run build && size-limit", "test": "jest", "lint": "eslint src/", "lint:fix": "eslint src/ --fix", "format": "prettier --write src/", "format:check": "prettier --check src/", "build": "./scripts/build.sh", "prepare": "husky install", "prepublishOnly": "npm run build" }, "husky": { "hooks": { "pre-commit": "npm run lint && npm run test" } }, "devDependencies": { "@babel/preset-env": "^7.20.2", "@babel/preset-typescript": "^7.18.6", "@size-limit/preset-small-lib": "^11.2.0", "@types/jest": "^29.2.0", "@typescript-eslint/eslint-plugin": "^4.16.1", "@typescript-eslint/parser": "^4.16.1", "eslint": "^7.21.0", "eslint-plugin-import": "^2.31.0", "husky": "^8.0.2", "jest": "^29.3.1", "jest-environment-jsdom": "^29.3.1", "microbundle": "^0.15.1", "prettier": "3.4.2", "size-limit": "^8.1.2", "ts-jest": "^29.0.5", "ts-node": "^10.9.2", "typescript": "^5.7.2" }, "keywords": [ "audio", "song", "playlist", "AudioContext" ], "size-limit": [ { "path": "./dist/index.js", "limit": "1.60 KB" }, { "path": "./dist/index.modern.mjs", "limit": "1.60 KB" }, { "path": "./dist/index.umd.js", "limit": "1.70 KB" } ] }