-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 3.81 KB
/
package.json
File metadata and controls
128 lines (128 loc) · 3.81 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "@huddly/device-api-usb",
"version": "0.4.1",
"description": "Huddly SDK device api which uses node-usb wrapper responsible for handling the transport layer of the communication and discovering the physical device/camera",
"keywords": [
"API",
"Node-USB",
"SDK",
"Huddly",
"Transport",
"Protocol",
"Device",
"Discovery"
],
"author": "Huddly AS <npm@huddly.com>",
"homepage": "http://developer.huddly.com",
"license": "MIT",
"main": "./lib/src/index.js",
"types": "./lib/src/index.d.ts",
"directories": {
"lib": "lib",
"test": "tests"
},
"files": [
"lib",
"scripts",
"manifest.json",
"README.md"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Huddly/device-api-usb.git"
},
"scripts": {
"build": "npm run build-ts && npm run tslint",
"build-ts": "tsc --declaration",
"prepublish-package": "node scripts/rmLibDir",
"publish-package": "npm run build && npm run manifest && npm publish",
"watch-ts": "tsc -w",
"tslint": "tslint -c tslint.json -p tsconfig.json",
"test": "tsc --declaration && nyc mocha -r ts-node/register --recursive \"tests/**/*.spec.ts\" --exit",
"test-js": "mocha -r ts-node/register --recursive \"lib/tests/**/*.spec.js\"",
"upload-build": "node scripts/release-current-platform",
"upload-binaries": "cross-env SKIP_TAR=true node scripts/release-current-platform",
"install": "echo 'install without build'",
"prepare": "npm run build-ts",
"preversion": "npm run tslint",
"prettier": "npx prettier --config .prettierrc --write src/**/*.ts",
"prettier-check": "npx prettier --config .prettierrc --check src/**/*.ts",
"release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags",
"release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags",
"release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags",
"audit-check": "node scripts/checkVulnerabilities.js"
},
"pre-commit": [
"prettier-check",
"tslint",
"build-ts",
"test"
],
"binary": {
"builtVersions": [
"electron.napi",
"node.napi"
],
"host": "https://deviceapiusb.blob.core.windows.net/device-api-usb/"
},
"nyc": {
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"extension": [
".ts",
".tsx"
],
"require": [
"ts-node/register"
],
"reporter": [
"text-summary",
"html"
],
"sourceMap": true,
"instrument": true
},
"bugs": {
"url": "https://github.com/Huddly/device-api-usb/issues"
},
"dependencies": {
"@huddly/sdk-interfaces": "^0.2.3",
"@types/node": "^17.0.23",
"await-sleep": "0.0.1",
"chalk": "^4.1.2",
"lodash.throttle": "^4.1.1",
"usb": "2.1.3"
},
"devDependencies": {
"@types/chai": "^4.3.0",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^9.1.0",
"@types/rewire": "^2.5.28",
"@types/sinon": "^10.0.11",
"@types/sinon-chai": "^3.2.8",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"chai-things": "^0.2.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"mocha": "^9.2.2",
"mocha-param": "^2.0.1",
"nyc": "^15.1.0",
"pre-commit": "^1.2.2",
"prettier": "^2.6.1",
"rewire": "^6.0.0",
"rimraf": "^3.0.2",
"sinon": "^13.0.1",
"sinon-chai": "^3.7.0",
"source-map-support": "^0.5.19",
"ts-node": "^10.7.0",
"tslint": "^6.1.1",
"typescript": "^4.6.3"
}
}