forked from straccio/spark-protocol
-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
108 lines (108 loc) · 3.03 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "spark-protocol",
"version": "0.1.7",
"main": "./dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/spark/spark-protocol"
},
"homepage": "https://github.com/spark/spark-protocol",
"bugs": "https://github.com/spark/spark-protocol/issues",
"author": {
"name": "David Middlecamp",
"email": "[email protected]",
"url": "https://www.spark.io/"
},
"license": "LGPL-3.0",
"scripts": {
"build": "babel ./src --out-dir ./dist && flow-copy-source -v src dist",
"lint": "eslint --fix --quiet -- .",
"lint-staged": "lint-staged",
"prettify": "prettier --single-quote --trailing-comma all --write src/*/**.js test/*/**.js",
"start": "babel ./src --out-dir ./dist --watch",
"update-firmware": "babel-node ./src/scripts/update-firmware-binaries.js",
"test": "ava --no-cache",
"test:watch": "ava --watch"
},
"bin": {
"update-firmware": "dist/scripts/update-firmware-binaries.js"
},
"lint-staged": {
"src/**/*.js": [
"lint",
"prettify",
"git add"
],
"test/**/*.js": [
"lint",
"prettify",
"git add"
]
},
"pre-commit": [
"lint-staged",
"test"
],
"ava": {
"verbose": true,
"babel": true,
"files": [
"test/*.test.js"
],
"require": [
"@babel/plugin-transform-runtime",
"@babel/register"
]
},
"dependencies": {
"@babel/runtime": "^7.16.5",
"@babel/runtime-corejs3": "^7.16.3",
"@particle/device-constants": "^1.3.0",
"binary-version-reader": "https://github.com/particle-iot/binary-version-reader",
"buffer-crc32": "~0.2.3",
"bunyan": "^1.8.12",
"chalk": "^1.1.3",
"coap-packet": "^0.1.14",
"compact-array": "0.0.1",
"constitute": "^1.6.2",
"dotenv": "^5.0.1",
"ec-key": "^0.0.4",
"hogan.js": "*",
"memoizee": "^0.4.11",
"mkdirp": "^0.5.1",
"moment": "^2.20.1",
"moniker": "^0.1.2",
"node-rsa": "^0.4.2",
"nullthrows": "^1.0.0",
"promise-retry": "^2.0.1",
"request": "^2.83.0",
"uuid": "^3.0.1"
},
"devDependencies": {
"@ava/babel": "^2.0.0",
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/eslint-parser": "^7.16.3",
"@babel/node": "^7.16.0",
"@babel/plugin-proposal-decorators": "^7.16.4",
"@babel/plugin-transform-react-jsx": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.16.4",
"@babel/preset-env": "^7.16.4",
"@babel/preset-flow": "^7.16.0",
"@babel/register": "^7.16.0",
"@octokit/rest": "^18.12.0",
"ava": "^3.15.0",
"eslint": "^8.3.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-sorting": "^0.4.1",
"flow-bin": "^0.165.1",
"flow-copy-source": "^2.0.9",
"lint-staged": "^4.3.0",
"pre-commit": "^1.2.2",
"prettier": "^1.10.2",
"sinon": "^1.17.7"
}
}