-
Notifications
You must be signed in to change notification settings - Fork 92
/
package.json
190 lines (190 loc) · 6.48 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"name": "particle-cli",
"description": "Simple Node commandline application for working with your Particle devices and using the Particle Cloud",
"version": "3.30.3",
"author": "David Middlecamp",
"bin": {
"particle": "./src/index.js"
},
"bugs": {
"url": "https://github.com/particle-iot/particle-cli/issues"
},
"contributors": [
{
"name": "Kenneth Lim",
"url": "https://github.com/kennethlimcp"
},
{
"name": "David Washington",
"url": "https://github.com/dwcares"
},
{
"name": "TJ Hunter",
"url": "https://github.com/Hypnopompia"
},
{
"name": "Udo Kramer",
"url": "https://github.com/optikfluffel"
},
{
"name": "vk2tds",
"url": "https://github.com/vk2tds"
},
{
"name": "Emily Rose",
"url": "https://github.com/emilyrose"
},
{
"name": "Kyle Marsh",
"url": "https://github.com/kylemarsh"
},
{
"name": "Harrison Jones",
"url": "https://github.com/harrisonhjones"
},
{
"name": "Bryce Kahle",
"url": "https://github.com/brycekahle"
},
{
"name": "Julien Vanier",
"url": "https://github.com/monkbroc"
}
],
"dependencies": {
"@particle/device-constants": "^3.5.0",
"binary-version-reader": "^2.5.1",
"chalk": "^2.4.2",
"cli-progress": "^3.12.0",
"cli-spinner": "^0.2.10",
"cli-table": "^0.3.1",
"core-js": "^3.4.7",
"fs-extra": "^8.1.0",
"glob": "^7.1.6",
"handlebars": "^4.1.2",
"inquirer": "^6.5.2",
"jose": "^4.13.1",
"lodash": "^4.17.15",
"moment": "^2.24.0",
"node-wifiscanner2": "^1.2.1",
"particle-api-js": "^11.1.0",
"particle-commands": "^1.0.1",
"particle-library-manager": "^0.1.15",
"particle-usb": "^3.6.0",
"request": "https://github.com/particle-iot/request/releases/download/v2.75.1-relativepath.1/request-2.75.1-relativepath.1.tgz",
"safe-buffer": "^5.2.0",
"semver": "^7.5.2",
"serialport": "^10.4.0",
"softap-setup": "^4.1.0",
"temp": "^0.9.1",
"unzipper": "^0.12.3",
"verror": "^1.10.0",
"wiring-preprocessor": "^2.2.0",
"xtend": "^4.0.2",
"yargs": "^5.0.0"
},
"devDependencies": {
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"doctoc": "^1.4.0",
"dotenv": "^7.0.0",
"eslint": "^8.56.0",
"eslint-config-particle": "^2.2.1",
"execa": "^5.1.1",
"github-api": "^3.3.0",
"mocha": "^6.2.2",
"mock-fs": "^4.10.4",
"nock": "^13.3.0",
"nyc": "^14.1.1",
"pkg": "^5.8.1",
"proxyquire": "^2.1.3",
"sinon": "^7.5.0",
"sinon-chai": "^3.3.0",
"strip-ansi": "^6.0.1"
},
"engines": {
"node": ">=12",
"npm": ">=6"
},
"homepage": "https://github.com/particle-iot/particle-cli/",
"keywords": [
"cli",
"core",
"electron",
"iot",
"particle",
"photon",
"spark"
],
"license": "Apache-2.0",
"main": "./src/index.js",
"preferGlobal": true,
"repository": {
"type": "git",
"url": "https://github.com/particle-iot/particle-cli"
},
"scripts": {
"start": "node ./src/index.js",
"version": "npm run update-changelog",
"lint": "eslint . --ext .js --ignore-path .gitignore --format unix",
"lint:fix": "npm run lint -- --fix",
"test": "npm run lint && npm run test:unit && npm run test:integration && npm run test:e2e",
"test:ci": "npm run lint && npm run test:unit:ci && npm run test:integration:ci",
"test:unit": "mocha 'src/**/*.test.js' --exclude 'test/**/*.e2e.js'",
"test:unit:ci": "npm run test:unit -- --forbid-only",
"test:unit:watch": "npm run test:unit -- --watch --watch-extensions js,json",
"test:unit:inspect": "npm test:unit -- --inspect-brk",
"test:unit:silent": "PARTICLE_NOOP=$(npm run test:unit:ci)",
"test:integration": "mocha test/integration",
"test:integration:ci": "npm run test:integration -- --forbid-only",
"test:integration:watch": "npm run test:integration -- --watch --watch-extensions js,json",
"test:integration:inspect": "npm test:integration -- --inspect-brk",
"test:integration:silent": "PARTICLE_NOOP=$(npm run test:integration:ci)",
"test:e2e": "npm run build -- --target host && mocha 'test/{,!(__fixtures__)/**}/*.e2e.js' --timeout 120000 --exit",
"test:e2e:ci": "npm run test:e2e:no-device -- --forbid-only",
"test:e2e:no-device": "npm run test:e2e -- --grep @device --invert",
"test:e2e:wifi": "npm run test:e2e -- --grep @device,@wifi",
"test:e2e:device-protection": "npm run test:e2e -- --grep @device,@device-protection",
"test:e2e:watch": "npm run test:e2e -- --watch --watch-extensions js,json",
"test:e2e:inspect": "npm test:e2e -- --inspect-brk",
"test:e2e:silent": "PARTICLE_NOOP=$(npm run test:e2e:ci)",
"test:wrapper": "./scripts/test-wrapper-update.sh",
"coverage": "npm run coverage:unit && npm run coverage:integration && npm run coverage:report",
"coverage:unit": "nyc npm run test:unit:silent",
"coverage:integration": "nyc --no-clean npm run test:integration:silent",
"coverage:e2e": "nyc npm run test:e2e:silent",
"coverage:report": "nyc report --reporter=html",
"build": "pkg .",
"sign:win": "node ./scripts/win-sign.js",
"generate:win-installer": "node ./scripts/generate-win-installer.js",
"generate:manifest": "node ./scripts/generate-manifest.js",
"clean": "npm run clean:modules",
"clean:modules": "rm -rf ./node_modules",
"update-changelog": "VERSION=`node --print --eval \"require('./package.json').version\"` bash -c 'read -p \"Update CHANGELOG.md for version $VERSION and press ENTER when done.\"' && git add CHANGELOG.md",
"reinstall": "npm run clean && npm i",
"doctoc": "doctoc --title '## Table of Contents' README.md",
"todo": "git grep -e 'TODO (.*)' --ignore-case --heading --break --context=2 --full-name --line-number -- :^./package.json"
},
"pkg": {
"targets": [
"node16-linux-x64",
"node16-macos-x64",
"node16-macos-arm64",
"node16-win-x64",
"node16-linux-arm",
"node16-linux-arm64"
],
"assets": [
"./assets/**",
"./node_modules/@serialport/bindings-cpp/prebuilds/*/node.napi*.node",
"./node_modules/usb/prebuilds/*/node.napi*.node",
"./node_modules/node-wifiscanner2/locales/en.json",
"./node_modules/particle-commands/dist/cmd/templates/project/**/*",
"./node_modules/particle-commands/node_modules/particle-library-manager/dist/init/**/*"
],
"outputPath": "build"
},
"yargs": {
"camel-case-expansion": false
}
}