particle-cli
Version:
Simple Node commandline application for working with your Particle devices and using the Particle Cloud
190 lines (189 loc) • 6.44 kB
JSON
{
"name": "particle-cli",
"description": "Simple Node commandline application for working with your Particle devices and using the Particle Cloud",
"version": "3.44.1",
"author": "David Middlecamp",
"scripts": {
"start": "node ./src/index.js",
"version": "npm run update-changelog",
"lint": "eslint",
"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"
},
"dependencies": {
"@particle/device-constants": "^4.1.0",
"@particle/softap-setup": "^4.1.2",
"archiver": "^7.0.1",
"binary-version-reader": "^3.0.2",
"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",
"gpt": "^3.0.0",
"handlebars": "^4.1.2",
"inquirer": "^6.5.2",
"jose": "^4.13.1",
"lodash": "^4.17.15",
"moment": "^2.24.0",
"node-fetch": "^2.7.0",
"node-wifiscanner2": "^1.2.2",
"particle-api-js": "^11.1.7",
"particle-commands": "^1.0.5",
"particle-library-manager": "^1.0.6",
"particle-usb": "^4.0.1",
"request": "^2.88.2",
"safe-buffer": "^5.2.0",
"semver": "^7.5.2",
"serialport": "~10.4.0",
"sha512crypt-node": "^1.0.2",
"temp": "^0.9.4",
"unzipper": "^0.12.3",
"uuid": "^11.1.0",
"verror": "^1.10.0",
"wiring-preprocessor": "^2.3.0",
"xtend": "^4.0.2",
"yaml": "^2.7.0",
"yargs": "^5.0.0"
},
"devDependencies": {
"@types/cli-table": "^0.3.1",
"@yao-pkg/pkg": "^6.10.1",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"doctoc": "^1.4.0",
"dotenv": "^7.0.0",
"eslint": "^9.37.0",
"eslint-config-particle": "^3.0.3",
"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",
"proxyquire": "^2.1.3",
"sinon": "^7.5.0",
"sinon-chai": "^3.3.0",
"strip-ansi": "^7.1.2"
},
"engines": {
"node": ">=22",
"npm": ">=10"
},
"homepage": "https://github.com/particle-iot/particle-cli/",
"keywords": [
"cli",
"core",
"electron",
"iot",
"particle",
"photon",
"spark"
],
"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"
}
],
"license": "Apache-2.0",
"main": "./src/index.js",
"preferGlobal": true,
"bin": {
"particle": "./src/index.js"
},
"pkg": {
"targets": [
"node22-linux-x64",
"node22-linuxstatic-armv7",
"node22-linux-arm64",
"node22-macos-x64",
"node22-macos-arm64",
"node22-win-x64"
],
"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-library-manager/dist/init/**/*"
],
"outputPath": "build"
},
"yargs": {
"camel-case-expansion": false
}
}