{
  "name": "particle-api-js",
  "version": "12.0.0",
  "description": "Particle API Client",
  "main": "lib/src/Particle.js",
  "types": "lib/src/Particle.d.ts",
  "exports": {
    ".": {
      "types": "./lib/src/Particle.d.ts",
      "require": "./lib/src/Particle.js",
      "default": "./lib/src/Particle.js"
    }
  },
  "scripts": {
    "compile": "tsc -p tsconfig.build.json && cp fs.js fs.d.ts lib/",
    "prepare": "npm run compile && npm run build",
    "test": "npm run lint && npm run typecheck && npm run test:unit",
    "test:ci": "npm run test:unit -- --forbid-only && npm run coverage",
    "test:unit": "mocha --require tsx 'test/**/*.spec.ts' 'test/**/*.integration.ts' 'test/**/*.test.ts' -R spec",
    "test:unit:silent": "npm run test:unit > tmp/test-unit-log.txt 2>&1",
    "test:browser": "npm run compile:test && karma start --single-run",
    "test:watch": "mocha --require tsx 'test/**/*.spec.ts' --watch --watch-files 'src/**/*.ts,test/**/*.ts'",
    "compile:test": "tsc -p tsconfig.test-browser.json",
    "typecheck": "tsc",
    "coverage": "nyc --reporter=text --temp-dir=./tmp/ --check-coverage --lines 91 npm run test:unit:silent",
    "lint": "eslint",
    "docs": "typedoc && node scripts/postprocess-docs.js",
    "build": "npm run compile && webpack --env mode=production",
    "build-nomin": "npm run compile && webpack --env mode=development",
    "prepublishOnly": "npm run test && npm run compile && npm run build",
    "preversion": "npm run test && npm run prepare",
    "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",
  "dependencies": {
    "form-data": "^4.0.0",
    "node-fetch": "^2.7.0",
    "qs": "^6.11.2",
    "stream-http": "^3.2.0"
  },
  "devDependencies": {
    "@types/chai-as-promised": "^8.0.2",
    "@types/chai-subset": "^1.3.6",
    "@types/mocha": "^10.0.10",
    "@types/node": "^20.5.9",
    "@types/node-fetch": "^2.6.13",
    "@types/qs": "^6.14.0",
    "@types/sinon": "^21.0.0",
    "@types/sinon-chai": "^4.0.0",
    "buffer": "^6.0.3",
    "chai": "^4.3.6",
    "chai-as-promised": "^7.1.1",
    "chai-subset": "^1.6.0",
    "eslint": "^9.36.0",
    "eslint-config-particle": "^3.0.0",
    "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": "^10.8.2",
    "nyc": "^15.1.0",
    "process": "^0.11.10",
    "sinon": "^17.0.1",
    "sinon-chai": "^3.7.0",
    "terser-webpack-plugin": "^5.3.9",
    "tsx": "^4.21.0",
    "typedoc": "^0.28.17",
    "typedoc-plugin-markdown": "^4.10.0",
    "typescript": "^5.9.2",
    "url": "^0.11.3",
    "webpack": "^5.88.2",
    "webpack-cli": "^5.1.4"
  },
  "browser": {
    "./fs": false,
    "http": "stream-http",
    "https": "stream-http"
  },
  "engines": {
    "node": ">=16.x",
    "npm": ">=8.x"
  }
}
