UNPKG

wavesurfer.js

Version:

Navigable audio waveform player

77 lines (76 loc) 2.16 kB
{ "name": "wavesurfer.js", "version": "7.3.3", "license": "BSD-3-Clause", "author": "katspaugh", "description": "Navigable audio waveform player", "homepage": "https://wavesurfer-js.org", "keywords": [ "waveform", "spectrogram", "audio", "player", "music", "linguistics" ], "repository": { "type": "git", "url": "git@github.com:wavesurfer-js/wavesurfer.js.git" }, "type": "module", "files": [ "dist" ], "main": "./dist/wavesurfer.js", "unpkg": "./dist/wavesurfer.min.js", "module": "./dist/wavesurfer.js", "browser": "./dist/wavesurfer.js", "types": "./dist/wavesurfer.d.ts", "exports": { ".": { "import": "./dist/wavesurfer.js", "types": "./dist/wavesurfer.d.ts", "require": "./dist/wavesurfer.cjs" }, "./dist/plugins/*.js": { "import": "./dist/plugins/*.js", "types": "./dist/plugins/*.d.ts", "require": "./dist/plugins/*.cjs" }, "./plugins/*": { "import": "./dist/plugins/*.js", "types": "./dist/plugins/*.d.ts", "require": "./dist/plugins/*.cjs" }, "./dist/*": { "import": "./dist/*" } }, "scripts": { "build:dev": "tsc -w --target ESNext", "build": "rm -rf dist && tsc && rollup -c", "prepublishOnly": "npm run build", "lint": "eslint --ext .ts src --fix", "prettier": "prettier -w '**/*.{js,ts,css}' --ignore-path .gitignore", "make-plugin": "./scripts/plugin.sh", "cypress": "cypress open --e2e", "cypress:canary": "cypress open --e2e -b chrome:canary", "test": "cypress run", "serve": "npx live-server --port=9090 --no-browser", "start": "npm run build:dev & npm run serve" }, "devDependencies": { "@rollup/plugin-terser": "^0.4.3", "@rollup/plugin-typescript": "^11.1.2", "@typescript-eslint/eslint-plugin": "^5.57.0", "@typescript-eslint/parser": "^5.57.0", "cypress": "^12.17.3", "cypress-image-snapshot": "^4.0.1", "eslint": "^8.37.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^4.2.1", "prettier": "^2.8.7", "rollup": "^3.26.2", "typescript": "^5.0.4" } }