-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
131 lines (131 loc) · 4.41 KB
/
package.json
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
129
130
131
{
"name": "@huddly/device-api-usb",
"version": "0.3.3",
"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 && npm run napi",
"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": "nyc mocha -r ts-node/register --recursive \"tests/**/*.spec.ts\" --exit",
"test-js": "mocha -r ts-node/register --recursive \"lib/tests/**/*.spec.js\"",
"napi": "prebuildify --napi --debug --verbose --target=node@10.12.0 --target=node@12.4.0 --target=node@14.17.3 --target=node@16.13.2 --target=electron@11.2.1",
"napi-64": "prebuildify --napi --debug --verbose --target=node@10.12.0 --target=node@12.4.0 --target=node@14.17.3 --target=node@16.13.2 --target=electron@11.2.1 --arch=x64",
"napi-32": "prebuildify --napi --debug --verbose --target=node@10.12.0 --target=node@12.4.0 --target=node@14.17.3 --target=node@16.13.2 --target=electron@11.2.1 --arch=ia32",
"upload-build": "node scripts/release-current-platform",
"upload-binaries": "cross-env SKIP_TAR=true node scripts/release-current-platform",
"install": "echo 'install without build'",
"postinstall": "node scripts/download-binaries.js",
"prepare": "npm run build-ts",
"preversion": "npm run tslint",
"prettier": "./node_modules/.bin/prettier --config ./.prettierrc --write src/**/*.ts",
"prettier-check": "./node_modules/.bin/prettier --config ./.prettierrc --check src/**/*.ts",
"manifest": "PROD_MANIFEST=true node scripts/generate-manifest.js",
"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.1.1",
"@types/node": "^15.12.2",
"await-sleep": "0.0.1",
"chalk": "^4.1.2",
"lodash.throttle": "^4.1.1",
"node-addon-api": "^1.7.2",
"node-gyp-build": "^4.2.3",
"typescript": "^4.3.2"
},
"devDependencies": {
"@types/mocha": "^8.2.2",
"azure-storage": "^2.10.6",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"chai-things": "^0.2.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"mocha": "^9.2.0",
"node-gyp": "^7.1.2",
"nyc": "^15.1.0",
"pre-commit": "^1.2.2",
"prebuildify": "^4.1.2",
"prettier": "^2.3.1",
"rimraf": "^3.0.2",
"sinon": "^11.1.1",
"sinon-chai": "^3.7.0",
"source-map-support": "^0.5.19",
"tar": "^6.1.0",
"ts-node": "^10.0.0",
"tslint": "^6.1.1"
}
}