UNPKG

extendable-media-recorder

Version:

An extendable drop-in replacement for the native MediaRecorder.

101 lines (100 loc) 6.55 kB
{ "author": "Christoph Guttandin", "bugs": { "url": "https://github.com/chrisguttandin/extendable-media-recorder/issues" }, "config": { "commitizen": { "path": "cz-conventional-changelog" } }, "contributors": [ { "email": "alex.maclean2000@gmail.com", "name": "Alex MacLean" } ], "dependencies": { "@babel/runtime": "^7.29.2", "media-encoder-host": "^9.0.28", "multi-buffer-data-view": "^6.0.27", "recorder-audio-worklet": "^6.0.58", "standardized-audio-context": "^25.3.77", "subscribable-things": "^2.1.59", "tslib": "^2.8.1" }, "description": "An extendable drop-in replacement for the native MediaRecorder.", "devDependencies": { "@babel/core": "^7.29.0", "@babel/plugin-external-helpers": "^7.27.1", "@babel/plugin-transform-runtime": "^7.29.0", "@babel/preset-env": "^7.29.2", "@commitlint/cli": "^20.5.0", "@commitlint/config-angular": "^20.5.0", "@rollup/plugin-babel": "^7.0.0", "@vitest/browser-playwright": "^4.0.18", "@vitest/browser-webdriverio": "^4.0.18", "chai": "^6.2.2", "commitizen": "^4.3.1", "cz-conventional-changelog": "^3.3.0", "eslint": "^8.57.0", "eslint-config-holy-grail": "^61.0.11", "extendable-media-recorder-wav-encoder": "^7.0.137", "husky": "^9.1.7", "lint-staged": "^16.4.0", "prettier": "^3.8.1", "rimraf": "^6.1.3", "rollup": "^4.59.0", "sinon": "^21.0.3", "sinon-chai": "^4.0.1", "tsconfig-holy-grail": "^15.0.3", "tslint": "^6.1.3", "tslint-config-holy-grail": "^56.0.7", "typescript": "^5.9.3", "vitest": "^4.0.18" }, "files": [ "build/es2019/", "build/es5/", "src/" ], "homepage": "https://github.com/chrisguttandin/extendable-media-recorder", "keywords": [ "Web Audio API", "audio", "browser" ], "license": "MIT", "main": "build/es5/bundle.js", "module": "build/es2019/module.js", "name": "extendable-media-recorder", "repository": { "type": "git", "url": "https://github.com/chrisguttandin/extendable-media-recorder.git" }, "scripts": { "build": "rimraf build/* && tsc --project src/tsconfig.json && rollup --config config/rollup/bundle.mjs", "lint": "npm run lint:config && npm run lint:src && npm run lint:test", "lint:config": "eslint --config config/eslint/config.json --ext .cjs --ext .js --ext .mjs --report-unused-disable-directives config/", "lint:src": "tslint --config config/tslint/src.json --project src/tsconfig.json src/*.ts src/**/*.ts", "lint:test": "eslint --config config/eslint/test.json --ext .js --report-unused-disable-directives test/", "prepare": "husky", "prepublishOnly": "npm run build", "test": "npm run lint && npm run build && npm run test:expectation-chrome && npm run test:expectation-chrome-canary && npm run test:expectation-chrome-penultimate && npm run test:expectation-chrome-previous && npm run test:expectation-firefox && npm run test:expectation-firefox-developer && npm run test:expectation-firefox-penultimate && npm run test:expectation-firefox-previous && npm run test:expectation-safari && npm run test:expectation-safari-penultimate && npm run test:expectation-safari-previous && npm run test:integration && npm run test:unit", "test:expectation-chrome": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"chrome\" ]; then npx vitest --config config/vitest/expectation-chrome-current.ts; fi", "test:expectation-chrome-canary": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"chrome-canary\" ]; then npx vitest --config config/vitest/expectation-chrome-canary.ts; fi", "test:expectation-chrome-penultimate": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"chrome-penultimate\" ]; then npx vitest --config config/vitest/expectation-chrome-penultimate.ts; fi", "test:expectation-chrome-previous": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"chrome-previous\" ]; then npx vitest --config config/vitest/expectation-chrome-previous.ts; fi", "test:expectation-firefox": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"firefox\" ]; then npx vitest --config config/vitest/expectation-firefox-current.ts; fi", "test:expectation-firefox-developer": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"firefox-developer\" ]; then npx vitest --config config/vitest/expectation-firefox-developer.ts; fi", "test:expectation-firefox-penultimate": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"firefox-penultimate\" ]; then npx vitest --config config/vitest/expectation-firefox-penultimate.ts; fi", "test:expectation-firefox-previous": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"firefox-previous\" ]; then npx vitest --config config/vitest/expectation-firefox-previous.ts; fi", "test:expectation-safari": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"safari\" ]; then npx vitest --config config/vitest/expectation-safari-current.ts; fi", "test:expectation-safari-penultimate": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"safari-penultimate\" ]; then npx vitest --config config/vitest/expectation-safari-penultimate.ts; fi", "test:expectation-safari-previous": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"safari-previous\" ]; then npx vitest --config config/vitest/expectation-safari-previous.ts; fi", "test:integration": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"integration\" ]; then npx vitest --config config/vitest/integration.ts; fi", "test:unit": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"unit\" ]; then npx vitest --config config/vitest/unit.ts; fi" }, "types": "build/es2019/module.d.ts", "version": "9.2.37" }