-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
executable file
·95 lines (95 loc) · 2.5 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
{
"name": "file-delivery",
"description": "REST microservice for file-delivery",
"license": "MIT",
"version": "2.0.0",
"main": "index.js",
"dependencies": {
"@koa/cors": "3",
"babel-eslint": "^10.0.3",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"koa": "^2.8.1",
"koa-bodyparser": "^4.2.1",
"koa-cluster": "^1.1.0",
"koa-compress": "^3.0.0",
"koa-jwt": "^3.6.0",
"koa-morgan": "^1.0.1",
"koa-mount": "^4.0.0",
"koa-router": "^7.4.0",
"lodash": "^4.17.15",
"moment": "^2.24.0",
"sync-request": "^6.1.0",
"yarn": "^1.22.21"
},
"devDependencies": {
"adm-zip": "^0.4.13",
"chai": "^4.2.0",
"coveralls": "^3.0.6",
"eslint": "^6.3.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-standard": "^4.0.1",
"mocha": "^6.2.0",
"nodemon": "^1.19.2",
"npm-watch": "^0.6.0",
"nyc": "^14.1.1",
"rewiremock": "^3.13.7",
"sinon": "^7.4.2",
"supertest": "^4.0.2"
},
"scripts": {
"start": "./node_modules/.bin/nodemon index.js",
"serve": "./node_modules/.bin/nodemon index.js",
"test": "nyc mocha --require babel-register --recursive --exit",
"test:watch": "nyc mocha --require babel-register --recursive --watch",
"test:debug": "find ./test -name '*test.js' | NODE_ENV=test xargs ./node_modules/.bin/mocha --require babel-register --recursive --watch --inspect-brk",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"watch": "npm-watch",
"lint": "eslint src test"
},
"watch": {
"serve": {
"patterns": [
"src"
],
"extensions": "js",
"quiet": "true"
}
},
"eslintConfig": {
"env": {
"mocha": true
},
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"strict": 0,
"no-param-reassign": 0,
"no-console": 0,
"prefer-const": 0,
"comma-dangle": 0,
"no-use-before-define": 0,
"no-underscore-dangle": 0
}
},
"babel": {
"presets": [
"es2015",
"stage-0"
],
"plugins": [
"add-module-exports",
"transform-runtime"
]
}
}