UNPKG

@twilio/audioplayer

Version:

An HTMLAudioElement-like implementation that uses AudioContext to circumvent browser limitations.

59 lines (58 loc) 1.67 kB
{ "name": "@twilio/audioplayer", "version": "1.0.6", "description": "An HTMLAudioElement-like implementation that uses AudioContext to circumvent browser limitations.", "main": "./es5/index.js", "repository": { "type": "git", "url": "git+https://github.com/twilio/AudioPlayer.git" }, "keywords": [ "twilio", "audioplayer" ], "scripts": { "babel": "babel lib -d es5", "build": "npm run clean && tsc && copyfiles -u 1 src/*.js lib", "build-message": "echo Building...", "build:travis": "npm run lint && npm test && npm run build && npm run babel", "clean": "rimraf ./lib ./es5", "lint": "tslint -c tslint.json --project tsconfig.json -t stylish", "lint-message": "echo Linting...", "install-typings": "node ./node_modules/typings/dist/bin.js install", "release": "release", "test": "mocha -r ts-node/register test/*.ts", "test-message": "echo Testing..." }, "pre-commit": [ "lint-message", "lint", "test-message", "test", "build-message", "build", "babel" ], "author": "Ryan Rowland <rrowland@twilio.com>", "license": "BSD-3-Clause", "devDependencies": { "@types/mocha": "^2.2.41", "@types/node": "^7.0.14", "@types/sinon": "^2.3.3", "babel-cli": "^6.26.0", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-es2015": "^6.24.1", "copyfiles": "^1.2.0", "mocha": "^3.4.1", "pre-commit": "^1.2.2", "release-tool": "^0.2.2", "rimraf": "^2.6.1", "sinon": "^3.2.1", "ts-node": "^3.1.0", "tslint": "^5.1.0", "typescript": "^2.5.0" }, "dependencies": { "babel-runtime": "^6.26.0" } }