forked from particle-iot/particle-api-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 3.05 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
{
"name": "particle-api-js",
"version": "7.0.1",
"description": "Particle API Client",
"main": "lib/Particle.js",
"scripts": {
"babel-watch": "babel src -d lib --watch --source-maps",
"prepublish": "npm run lint && npm run compile",
"compile": "babel src -sd lib",
"test": "mocha test/ -R spec --compilers js:babel-register",
"test:browser": "karma start --single-run",
"test:watch": "npm run test -- --watch",
"cover": "istanbul cover ./node_modules/.bin/_mocha test/ -- -R spec --compilers js:babel-register",
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec --compilers js:babel-register test/ && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"lint": "eslint -f unix src/",
"lint:fix": "eslint --fix -f unix src/",
"docs": "documentation build src/Particle.js --shallow -g -f md -o docs/api.md",
"build": "browserify lib/Particle.js -s Particle -d -p [minifyify --map particle.min.js.map --output dist/particle.min.js.map] > dist/particle.min.js",
"preversion": "npm run test && npm run prepublish",
"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/spark/particle-api-js"
},
"author": "Julien Vanier <[email protected]>",
"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": {
"babel-cli": "^6.9.0",
"babel-eslint": "^6.0.4",
"babel-plugin-add-module-exports": "^0.1.2",
"babel-plugin-transform-runtime": "^6.9.0",
"babel-preset-es2015": "^6.6.0",
"babel-register": "^6.5.2",
"babelify": "^7.3.0",
"brfs": "^1.4.3",
"browserify": "^13.0.0",
"chai": "^3.5.0",
"chai-as-promised": "^5.3.0",
"coveralls": "^2.11.4",
"documentation": "^4.0.0-rc.1",
"eslint": "^2.3.0",
"eslint-config-particle": "^1.0.5",
"istanbul": "1.0.0-alpha.2",
"karma": "^1.1.1",
"karma-browserify": "^5.1.0",
"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",
"minifyify": "^7.3.1",
"mocha": "^2.5.1",
"should": "^9.0.0",
"sinon": "^1.17.4",
"sinon-as-promised": "^4.0.2",
"sinon-chai": "^2.8.0",
"watchify": "^3.7.0"
},
"dependencies": {
"babel-runtime": "^6.9.2",
"stream-http": "https://github.com/spark/stream-http/archive/v2.2.1.tar.gz",
"form-data": ">2.2.0",
"superagent": "^3.6.0",
"superagent-prefix": "0.0.2"
},
"browser": {
"http": "stream-http",
"https": "stream-http"
}
}