UNPKG

particle-api-js

Version:
91 lines (90 loc) 2.94 kB
{ "name": "particle-api-js", "version": "11.1.3", "description": "Particle API Client", "main": "src/Particle.js", "scripts": { "prepublish": "npm run lint && npm run build", "test": "npm run lint && npm run typecheck && npm run test:unit", "test:ci": "npm run lint && npm run test:unit -- --forbid-only && npm run coverage", "test:unit": "mocha test/ -R spec", "test:unit:silent": "npm run test:unit > tmp/test-unit-log.txt 2>&1", "test:browser": "karma start --single-run", "test:watch": "npm run test:unit -- --watch", "typecheck": "tsc --noEmit", "coverage": "nyc --reporter=text --include='src/**/*.js' --temp-dir=./tmp/ --check-coverage --lines 91 npm run test:unit:silent", "lint": "eslint . --ext .js --format unix --ignore-path .gitignore --ignore-pattern \"dist/*\"", "lint:fix": "npm run lint -- --fix", "docs": "documentation build src/Particle.js --shallow -g -f md -o docs/api.md", "build": "webpack --env mode=production", "build-nomin": "webpack --env mode=development", "preversion": "npm run test && npm run prepublish", "reinstall": "rm -rf ./node_modules && npm i", "version": "npm run build && npm run docs && npm run update-changelog && git add dist/* docs/*", "update-changelog": "VERSION=`node -p -e \"require('./package.json').version\"` bash -c 'read -p \"Update CHANGELOG.md for version $VERSION and press ENTER when done.\"' && git add CHANGELOG.md" }, "repository": { "type": "git", "url": "https://github.com/particle-iot/particle-api-js" }, "author": "Julien Vanier <julien@particle.io>", "contributors": [ "Ido Kleinman", "Bryce Kahle", "Justin Debbink", "Matthew McGowan", "Julien Vanier", "Wojtek Siudzinski", "Emily Rose" ], "keywords": [ "particle", "library", "spark", "api" ], "license": "Apache-2.0", "devDependencies": { "@types/node": "^20.5.9", "buffer": "^6.0.3", "chai": "^4.3.6", "chai-as-promised": "^7.1.1", "documentation": "^4.0.0-rc.1", "eslint": "^8.17.0", "eslint-config-particle": "^2.2.1", "events": "^3.3.0", "karma": "^6.4.4", "karma-chai": "^0.1.0", "karma-cli": "^2.0.0", "karma-coverage": "^2.2.1", "karma-firefox-launcher": "^2.1.3", "karma-mocha": "^2.0.1", "karma-webpack": "^5.0.1", "mocha": "^2.5.1", "nyc": "^15.1.0", "process": "^0.11.10", "should": "^9.0.0", "sinon": "^7.2.5", "sinon-chai": "^3.7.0", "terser-webpack-plugin": "^5.3.9", "typescript": "^5.2.2", "url": "^0.11.3", "webpack": "^5.88.2", "webpack-cli": "^5.1.4" }, "dependencies": { "form-data": "^4.0.0", "node-fetch": "^2.7.0", "qs": "^6.11.2", "stream-http": "^3.2.0" }, "browser": { "./fs": false, "http": "stream-http", "https": "stream-http" }, "engines": { "node": ">=12.x", "npm": "8.x" } }