UNPKG

hackrf.js

Version:
77 lines (76 loc) 1.49 kB
{ "name": "hackrf.js", "version": "1.0.0-rc1", "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", "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", "@types/usb": "^1.5.1", "usb": "^1.6.3" }, "devDependencies": { "@types/jest": "^23.3.14", "coveralls": "^3.1.0", "jest": "^26.4.2", "ts-jest": "^26.2.0", "ts-node": "^9.0.0", "typedoc": "^0.17.0-3", "typescript": "^4.0.0" } }