-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
141 lines (141 loc) · 4.33 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "spark-server",
"version": "0.1.1",
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/spark/spark-server"
},
"homepage": "https://github.com/spark/spark-server",
"bugs": "https://github.com/spark/spark-server/issues",
"author": {
"name": "David Middlecamp",
"email": "[email protected]",
"url": "https://www.spark.io/"
},
"contributors": [
{
"name": "Kenneth Lim",
"email": "[email protected]",
"url": "https://github.com/kennethlimcp"
},
{
"name": "Emily Rose",
"email": "[email protected]",
"url": "https://github.com/emilyrose"
}
],
"main": "./dist/exports.js",
"scripts": {
"build": "babel ./src --out-dir ./dist --copy-files",
"build:clean": "rimraf ./build",
"build:watch": "babel ./src --out-dir ./dist --watch",
"lint": "eslint --fix --max-warnings 0 -- .",
"lint-staged": "lint-staged",
"migrate-files-to-mongo": "babel-node ./src/scripts/migrateFilesToDatabase mongo",
"migrate-files-to-nedb": "babel-node ./src/scripts/migrateFilesToDatabase nedb",
"postinstall": "./node_modules/.bin/update-firmware",
"prebuild": "npm run build:clean",
"prettify": "prettier --single-quote --trailing-comma all --write",
"start": "nodemon --exec babel-node ./src/main.js --watch src --watch ../spark-protocol/dist --ignore data | bunyan",
"start:debug": "nodemon --exec babel-node ./src/main.js --watch src --watch ../spark-protocol/src --ignore data | bunyan",
"start:prod": "node ./dist/main.js | bunyan",
"start:warn": "babel-node ./src/main.js --trace-warnings | bunyan",
"test": "ava --serial --no-cache",
"test:watch": "ava --watch --serial",
"watch": "babel ./src --out-dir ./dist --watch"
},
"lint-staged": {
"examples/**/*.js": [
"lint",
"prettify",
"git add"
],
"src/**/*.js": [
"lint",
"prettify",
"git add"
],
"test/**/*.js": [
"lint",
"prettify",
"git add"
]
},
"pre-commit": [
"lint-staged",
"test"
],
"ava": {
"verbose": true,
"babel": "inherit",
"files": [
"test/*.test.js",
"!test/__test_data__/*"
],
"require": [
"babel-register"
]
},
"dependencies": {
"array-flatten": "^2.1.1",
"babel-cli": "^6.22.2",
"babel-runtime": "^6.22.0",
"basic-auth-parser": "0.0.2",
"binary-version-reader": "^0.5.1",
"body-parser": "^1.18.2",
"bunyan": "^1.8.10",
"bunyan-middleware": "^0.8.0",
"chalk": "^1.1.3",
"constitute": "^1.6.2",
"csv": "^1.2.1",
"ec-key": "https://github.com/Brewskey/ec-key",
"express": "^4.16.2",
"express-oauth-server": "^2.0.0-b3",
"hogan.js": "^3.0.2",
"lodash": "^4.17.4",
"mkdirp": "^0.5.1",
"moment": "^2.20.1",
"mongodb": "^2.2.34",
"morgan": "^1.9.0",
"multer": "^1.2.1",
"nedb-core": "^3.0.6",
"node-rsa": "^0.4.2",
"nullthrows": "^1.0.0",
"request": "^2.83.0",
"rmfr": "^1.0.8",
"spark-protocol": "https://github.com/Brewskey/spark-protocol.git#dev",
"uuid": "^3.0.1"
},
"devDependencies": {
"ava": "^0.17.0",
"babel-eslint": "^7.1.1",
"babel-plugin-transform-class-properties": "^6.19.0",
"babel-plugin-transform-decorators": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-es2015-destructuring": "^6.19.0",
"babel-plugin-transform-es2015-spread": "^6.8.0",
"babel-plugin-transform-flow-strip-types": "^6.18.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-latest": "^6.16.0",
"babel-preset-stage-0": "^6.16.0",
"babel-preset-stage-1": "^6.16.0",
"babel-register": "^6.18.0",
"eslint": "^3.11.0",
"eslint-config-airbnb-base": "^10.0.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-flowtype": "^2.41.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-sorting": "^0.3.0",
"flow-bin": "^0.53.1",
"lint-staged": "^4.3.0",
"nodemon": "^1.14.11",
"pre-commit": "^1.2.2",
"prettier": "^1.10.2",
"rimraf": "^2.6.2",
"sinon": "^1.17.7",
"supertest": "^2.0.1",
"uglifyjs": "^2.4.10"
}
}