Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·84 lines (84 loc) · 2.22 KB
/
Copy pathpackage.json
File metadata and controls
executable file
·84 lines (84 loc) · 2.22 KB
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
{
"name": "ticketing",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"private": true,
"engines": {
"node": ">=16.14.0"
},
"scripts": {
"lint": "eslint 'src/**/*.{js,ts}' --fix",
"test": "mocha -r ts-node/register src/test/**/*.spec.ts --exit --timeout 50000",
"test:docker:up": "docker-compose -f docker-compose.yml up -d",
"test:docker:down": "docker-compose -f docker-compose.yml down",
"coverage": "yarn nyc --reporter lcov yarn test",
"start": "nodemon --watch \"*.ts\" --exec \"ts-node\" ./src/index.ts",
"init:data": "ts-node ./src/init.ts",
"db:pull": "npx prisma db pull",
"db:push": "npx prisma generate"
},
"dependencies": {
"@prisma/client": "3.10.0",
"body-parser": "^1.19.2",
"connect-timeout": "^1.9.0",
"express": "^4.17.3",
"express-graphql": "^0.12.0",
"express-promise-router": "^4.1.1",
"express-validator": "^6.14.0",
"graphql": "^15.3.0",
"redis": "^4.0.4",
"underscore": "^1.13.2",
"uuid": "^8.3.2"
},
"devDependencies": {
"@types/chai": "^4.3.0",
"@types/chai-as-promised": "^7.1.5",
"@types/connect-timeout": "^0.0.36",
"@types/express": "^4.17.13",
"@types/graphql": "^14.5.0",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.19",
"@types/sinon": "^10.0.11",
"@types/underscore": "^1.11.4",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^8.1.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-prettier": "^4.0.0",
"mocha": "^9.2.1",
"nyc": "^15.1.0",
"prettier": "^2.4.1",
"prisma": "^3.10.0",
"sinon": "^13.0.1",
"sinon-chai": "^3.7.0",
"ts-node": "^10.5.0",
"typescript": "^4.5.5"
},
"nyc": {
"include": [
"src/**/*.ts"
],
"exclude": [
"src/**/test/**/*.ts",
"src/**/*.spec.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"reporter": [
"text-summary",
"html"
],
"sourceMap": true,
"instrument": true
}
}