-
Notifications
You must be signed in to change notification settings - Fork 53
/
package.json
90 lines (90 loc) · 2.87 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
{
"name": "particle-api-js",
"version": "11.1.1",
"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": "^1.1.1",
"karma-chai": "^0.1.0",
"karma-cli": "^1.0.1",
"karma-coverage": "^1.1.0",
"karma-firefox-launcher": "^1.0.0",
"karma-mocha": "^1.1.1",
"karma-webpack": "^5.0.0",
"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"
}
}