-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 1.49 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"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",
"speaker": "^0.5.2",
"ts-jest": "^27.1.3",
"ts-node": "^10.7.0",
"typedoc": "^0.22.13",
"typescript": "^4.0.0"
}
}