-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
80 lines (80 loc) · 2.62 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
{
"name": "base4-graph",
"version": "0.0.1",
"main": "src/index.js",
"repository": "https://github.com/cygnusb2b/base4-graph.git",
"author": "Jacob Bare <[email protected]>",
"license": "MIT",
"private": true,
"scripts": {
"terminal": ". conf/dev.sh && scripts/terminal.sh",
"prestart": ". conf/dev.sh && scripts/install.sh",
"start": ". conf/dev.sh && scripts/up.sh",
"stop": ". conf/dev.sh && scripts/down.sh",
"pretest": "yarn posttest && . conf/test.sh && scripts/install.sh",
"test": ". conf/test.sh && docker-compose run app",
"posttest": ". conf/test.sh && scripts/down.sh && scripts/prune.sh",
"precoverage": "yarn postcoverage && . conf/test.sh && scripts/install.sh",
"coverage": ". conf/test.sh && docker-compose run --entrypoint yarn app run coverage:run",
"postcoverage": ". conf/test.sh && scripts/down.sh && scripts/prune.sh",
"prelint": ". conf/test.sh && scripts/install.sh",
"lint": ". conf/test.sh && docker-compose run --entrypoint yarn app run lint:run",
"postlint": ". conf/test.sh && scripts/down.sh",
"test:run": "yarn lint:run && mocha 'test/**/*.spec.js' --reporter spec",
"test:ci": "yarn lint:run && mocha 'test/**/*.spec.js' --reporter mocha-junit-reporter --reporter-options mochaFile=./coverage/test-results.xml",
"lint:run": "eslint src",
"coverage:run": "nyc yarn test:ci"
},
"nyc": {
"check-coverage": false,
"per-file": true,
"reporter": [
"text",
"cobertura"
],
"all": true,
"cache": false,
"include": [
"src/**/*.js"
]
},
"dependencies": {
"@limit0/graphql-custom-types": "^1.0.1",
"apollo-server-express": "^2.0.4",
"bluebird": "^3.5.1",
"body-parser": "^1.18.3",
"cors": "^2.8.4",
"deep-assign": "^2.0.0",
"deepmerge": "^2.1.1",
"envalid": "^4.1.4",
"express": "^4.16.3",
"graphql": "^0.13.2",
"graphql-import": "^0.6.0",
"graphql-tools": "^3.1.1",
"graphql-type-json": "^0.2.1",
"helmet": "^3.13.0",
"inflection": "^1.12.0",
"is-plain-object": "^2.0.4",
"moment": "^2.22.2",
"moment-timezone": "^0.5.21",
"mongodb": "^3.1.4",
"object-path": "^0.11.4",
"passport": "^0.4.0",
"passport-http-bearer": "^1.0.1",
"striptags": "^3.1.1",
"validator": "^10.7.0"
},
"devDependencies": {
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"eslint": "^5.4.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.10.0",
"gulp": "^3.9.1",
"mocha": "^5.2.0",
"mocha-junit-reporter": "^1.18.0",
"nyc": "^13.0.1",
"sinon": "^6.1.5",
"supertest": "^3.1.0"
}
}