-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
75 lines (75 loc) · 2.42 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
{
"name": "particle-usb",
"version": "3.7.0",
"description": "A library for accessing Particle USB devices",
"main": "src/particle-usb.js",
"keywords": [
"particle",
"usb"
],
"browser": {
"./src/usb-device-node.js": "./src/usb-device-webusb.js"
},
"repository": {
"type": "git",
"url": "https://github.com/particle-iot/particle-usb"
},
"license": "Apache-2.0",
"contributors": [
"Sergey Polyakov <[email protected]>",
"Andrey Tolstoy <[email protected]>"
],
"engines": {
"node": ">=12",
"npm": "8.x"
},
"scripts": {
"prepublish": "git submodule update --init && npm run build",
"version": "npm run docs && git add docs",
"test": "mocha test test/integration './src/**/*.test.js'",
"test:ci": "npm run lint && npm test && npm run coverage && npm run test:e2e:ci",
"test:silent": "npm run test > tmp/test-unit-log.txt 2>&1",
"test:e2e": "npm run build && mocha 'test/**/*.e2e.js' --require './test/e2e/lib/setup.js' --timeout 30000 --node-option unhandled-rejections=strict",
"test:e2e:ci": "npm run test:e2e:no-device -- --forbid-only",
"test:e2e:no-device": "npm run test:e2e -- --grep @device --invert",
"lint": "eslint . --ext .js --ignore-path .gitignore",
"lint:fix": "npm run lint -- --fix",
"coverage": "nyc --include='src/**/*.js' --temp-dir=./tmp/ --check-coverage npm run test:silent",
"build": "npm run build:web",
"build:web": "webpack-cli",
"docs": "documentation build src/** -g -f md -o docs/reference.md",
"clean": "rm -rf ./dist ./lib",
"reinstall": "npm run clean && rm -rf ./node_modules && npm i"
},
"dependencies": {
"@particle/device-os-protobuf": "^2.6.1",
"ip-address": "^9.0.5",
"protobufjs": "^6.11.3",
"usb": "^2.11.0"
},
"peerDependencies": {
"@particle/device-constants": "^3.1.8"
},
"devDependencies": {
"@particle/async-utils": "^4.0.2",
"@particle/device-constants": "^3.7.0",
"buffer": "^6.0.3",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"chai-subset": "^1.6.0",
"documentation": "^12.3.0",
"eslint": "^8.22.0",
"eslint-config-particle": "^2.5.0",
"execa": "^5.1.1",
"fs-extra": "^10.1.0",
"mkdirp": "^1.0.4",
"mocha": "^9.2.2",
"nyc": "^15.1.0",
"proxyquire": "^2.1.3",
"puppeteer": "^16.2.0",
"sinon": "^13.0.2",
"sinon-chai": "^3.7.0",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
}
}