UNPKG

extendable-media-recorder

Version:

An extendable drop-in replacement for the native MediaRecorder.

109 lines (108 loc) 6.94 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.27.1", "media-encoder-host": "^9.0.18", "multi-buffer-data-view": "^6.0.20", "recorder-audio-worklet": "^6.0.46", "standardized-audio-context": "^25.3.77", "subscribable-things": "^2.1.51", "tslib": "^2.8.1" }, "description": "An extendable drop-in replacement for the native MediaRecorder.", "devDependencies": { "@babel/core": "^7.27.1", "@babel/plugin-external-helpers": "^7.27.1", "@babel/plugin-transform-runtime": "^7.27.1", "@babel/preset-env": "^7.27.1", "@commitlint/cli": "^19.8.0", "@commitlint/config-angular": "^19.8.0", "@rollup/plugin-babel": "^6.0.4", "chai": "^4.3.10", "commitizen": "^4.3.1", "cz-conventional-changelog": "^3.3.0", "eslint": "^8.57.0", "eslint-config-holy-grail": "^60.0.33", "extendable-media-recorder-wav-encoder": "^7.0.127", "husky": "^9.1.7", "karma": "^6.4.4", "karma-browserstack-launcher": "^1.6.0", "karma-chrome-launcher": "^3.2.0", "karma-firefox-launcher": "^2.1.3", "karma-mocha": "^2.0.1", "karma-sinon-chai": "^2.0.2", "karma-webkit-launcher": "^2.6.0", "karma-webpack": "^5.0.1", "lint-staged": "^15.5.1", "mocha": "^11.2.2", "prettier": "^3.5.3", "rimraf": "^6.0.1", "rollup": "^4.40.1", "sinon": "^17.0.2", "sinon-chai": "^3.7.0", "ts-loader": "^9.5.2", "tsconfig-holy-grail": "^15.0.2", "tslint": "^6.1.3", "tslint-config-holy-grail": "^56.0.6", "typescript": "^5.8.3", "webpack": "^5.99.7" }, "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 karma start config/karma/config-expectation-chrome.js --single-run; fi", "test:expectation-chrome-canary": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"chrome-canary\" ]; then karma start config/karma/config-expectation-chrome-canary.js --single-run; fi", "test:expectation-chrome-penultimate": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"chrome-penultimate\" ]; then karma start config/karma/config-expectation-chrome-penultimate.js --single-run; fi", "test:expectation-chrome-previous": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"chrome-previous\" ]; then karma start config/karma/config-expectation-chrome-previous.js --single-run; fi", "test:expectation-firefox": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"firefox\" ]; then karma start config/karma/config-expectation-firefox.js --single-run; fi", "test:expectation-firefox-developer": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"firefox-developer\" ]; then karma start config/karma/config-expectation-firefox-developer.js --single-run; fi", "test:expectation-firefox-penultimate": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"firefox-penultimate\" ]; then karma start config/karma/config-expectation-firefox-penultimate.js --single-run; fi", "test:expectation-firefox-previous": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"firefox-previous\" ]; then karma start config/karma/config-expectation-firefox-previous.js --single-run; fi", "test:expectation-safari": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"safari\" ]; then karma start config/karma/config-expectation-safari.js --single-run; fi", "test:expectation-safari-penultimate": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"safari-penultimate\" ]; then karma start config/karma/config-expectation-safari-penultimate.js --single-run; fi", "test:expectation-safari-previous": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"expectation\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"safari-previous\" ]; then karma start config/karma/config-expectation-safari-previous.js --single-run; fi", "test:integration": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"integration\" ]; then karma start config/karma/config-integration.js --single-run; fi", "test:unit": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"unit\" ]; then karma start config/karma/config-unit.js --single-run; fi" }, "types": "build/es2019/module.d.ts", "version": "9.2.24" }