UNPKG

@martin-juul/nativescript-astreamer

Version:

NativeScript plugin to play audio from filesystem and network.

158 lines (157 loc) 4.99 kB
{ "name": "@martin-juul/nativescript-astreamer", "version": "1.0.0", "description": "NativeScript plugin to play audio from filesystem and network.", "author": { "name": "Martin Juul", "url": "https://github.com/martin-juul" }, "main": "audio", "license": "MIT", "homepage": "https://github.com/martin-juul/nativescript-astreamer", "readmeFilename": "README.md", "bugs": { "url": "https://github.com/martin-juul/nativescript-astreamer/issues" }, "nativescript": { "platforms": { "android": "3.0.0", "ios": "3.0.0" } }, "scripts": { "tsc": "tsc -skipLibCheck --outDir dist", "tsc.dist": "yarn run dist.clean && tsc -skipLibCheck --outDir dist && yarn run dist.copy", "dist.copy": "cp -R platforms dist && cp ../README.md dist && cp astreamer.d.ts dist && cp package.json dist && cp ../NOTICE dist", "dist.clean": "rimraf dist", "build": "yarn install --frozen-lockfile && yarn run tsc.dist", "demo.reset": "cd ../demo && rimraf platforms", "demo.ios": "yarn run preparedemo && cd ../demo && tns run ios", "demo.ios.device": "yarn run preparedemo && cd ../demo && tns platform remove ios && tns run ios", "demo.android": "yarn run preparedemo && cd ../demo && tns run android", "test": "yarn run tslint && yarn run tslint.demo && cd ../demo && tns build ios && tns build android", "test.ios": "cd ../demo && tns platform remove ios && tns test ios --emulator", "test.ios.device": "cd ../demo && tns platform remove ios && tns test ios", "test.android": "cd ../demo && tns platform remove android && tns test android --justlaunch", "preparedemo": "yarn run build && cd ../demo && tns plugin remove nativescript-audio && tns plugin add ../src && tns install", "setup": "yarn run build && cd ../demo && yarn i", "plugin.tscwatch": "yarn run tsc -- -w", "setupandinstall": "yarn i && cd ../demo && yarn i && cd ../src && yarn run build && cd ../demo && tns plugin add ../src && cd ../src", "tslint": "tslint --config '../tslint.json' '*.ts' --exclude '**/node_modules/**'", "tslint.demo": "tslint --config '../tslint.json' '../demo/app/*.ts' --exclude '**/node_modules/**'", "ci.tslint": "yarn i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'", "prepublishOnly": "yarn run build", "precommit": "lint-staged", "generate.typings.ios": "cd ../demo && TNS_DEBUG_METADATA_PATH=\"$(pwd)/metadata\" tns build ios && TNS_TYPESCRIPT_DECLARATIONS_PATH=\"$(pwd)/typings\" tns build ios && echo 'Now look for your library typings in demo/typings!'" }, "typings": "index.d.ts", "lint-staged": { "*.ts": [ "prettier --write", "git add" ] }, "repository": { "type": "git", "url": "https://github.com/martin-juul/nativescript-astreamer" }, "dependencies": { "nativescript-permissions": "~1.3.8" }, "devDependencies": { "husky": "^0.14.3", "lint-staged": "^7.2.0", "prettier": "^1.19.1", "tns-core-modules": "^6.3.1", "tns-platform-declarations": "^6.3.1", "rimraf": "^2.5.0", "tslint": "~5.20.1", "typescript": "~3.7.3" }, "keywords": [ "NativeScript", "JavaScript", "TypeScript", "Android", "iOS", "music", "microphone", "recorder", "audio", "nStudio", "bradmartin", "nathanwalker" ], "contributors": [ { "name": "Brad Martin", "url": "https://github.com/bradmartin", "email": "bmartin@nstudio.io" }, { "name": "Nathan Walker", "email": "walkerrunpdx@gmail.com", "url": "https://github.com/NathanWalker" }, { "name": "Jibon Lawrence Costa", "url": "https://github.com/jibon57" }, { "name": "Dylan Ryan", "url": "https://github.com/dylanryan" }, { "name": "Alexander Vakrilov", "url": "https://github.com/vakrilov" }, { "name": "GT Nunes", "url": "https://github.com/gtnunes1956" }, { "name": "Andrea Sotto", "url": "https://github.com/andreasotto" }, { "name": "August Heegaard", "url": "https://github.com/agisboye" }, { "name": "Akmal Sultonov", "url": "https://github.com/asultonov" }, { "name": "Amit Gharat", "url": "https://github.com/codef0rmer" }, { "name": "Jen Looper", "url": "https://github.com/jlooper" }, { "name": "Stanimira Vlaeva", "url": "https://github.com/sis0k0" }, { "name": "Osei Fortune", "url": "https://github.com/triniwiz" }, { "name": "RedPandaTronics", "url": "https://github.com/redpandatronicsuk" }, { "name": "Chris Flannagan", "url": "https://github.com/ChrisFlannagan" }, { "name": "mfrro", "url": "https://github.com/mfrro" }, { "name": "Richard Smith", "url": "https://github.com/DickSmith" } ] }