UNPKG

particle-cli

Version:

Simple Node commandline application for working with your Particle devices and using the Particle Cloud

197 lines (196 loc) 6.66 kB
{ "name": "particle-cli", "description": "Simple Node commandline application for working with your Particle devices and using the Particle Cloud", "version": "3.40.1", "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": "^4.0.2", "binary-version-reader": "^3.0.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", "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.1", "particle-api-js": "^11.1.0", "particle-commands": "^1.0.2", "particle-library-manager": "^1.0.1", "particle-usb": "^4.0.0", "request": "^2.79.0", "safe-buffer": "^5.2.0", "semver": "^7.5.2", "serialport": "^10.4.0", "sha512crypt-node": "^1.0.2", "softap-setup": "^4.1.0", "temp": "^0.9.1", "unzipper": "^0.12.3", "uuid": "^11.1.0", "verror": "^1.10.0", "wiring-preprocessor": "^2.2.0", "xtend": "^4.0.2", "yaml": "^2.7.0", "yargs": "^5.0.0" }, "devDependencies": { "@types/cli-table": "^0.3.1", "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": ">=16", "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-library-manager/dist/init/**/*" ], "outputPath": "build" }, "yargs": { "camel-case-expansion": false } }