UNPKG

hackrf.js

Version:
77 lines (76 loc) 1.5 kB
{ "name": "hackrf.js", "version": "1.0.0-rc2", "description": "Control HackRF devices from Node.js", "author": "Alba Mendez <me@alba.sh>", "keywords": [ "radio", "sdr", "hackrf", "usb" ], "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { "node": ">=12.0.0" }, "repository": { "type": "git", "url": "https://github.com/mildsunrise/hackrf.js.git" }, "scripts": { "clean": "rm -rf dist", "build": "tsc", "prepare": "rm -rf dist; tsc", "test": "jest --coverage", "test:watch": "jest --coverage --watch", "docs": "typedoc --out docs lib/index.ts", "build-examples": "cd examples && tsc", "report-coverage": "cat ./coverage/lcov.info | coveralls" }, "files": [ "dist" ], "jest": { "transform": { ".(ts|tsx)": "ts-jest" }, "testEnvironment": "node", "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", "moduleFileExtensions": [ "ts", "tsx", "js" ], "coveragePathIgnorePatterns": [ "/node_modules/", "/test/", "index.ts" ], "coverageThreshold": { "global": { "branches": 85, "functions": 90, "lines": 90, "statements": 90 } }, "collectCoverageFrom": [ "lib/**/*.{js,ts}" ] }, "dependencies": { "@types/node": "^13.13.15", "usb": "^2.1.2" }, "devDependencies": { "@types/jest": "^27.4.1", "coveralls": "^3.1.0", "jest": "^27.5.1", "ts-jest": "^27.1.3", "ts-node": "^10.7.0", "typedoc": "^0.22.13", "typescript": "^4.0.0" } }