-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 1.98 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
{
"name": "cse187-assignment1",
"version": "1.0.0",
"description": "CSE187 Assignment 1",
"author": "David Harrison <[email protected]>",
"license": "UNLICENSED",
"repository": "none",
"devDependencies": {
"@types/bcrypt": "*",
"@types/cors": "*",
"@types/express": "*",
"@types/jest": "*",
"@types/jsonwebtoken": "*",
"@types/node": "*",
"@types/pg": "*",
"@types/supertest": "*",
"@types/swagger-ui-express": "*",
"bestzip": "*",
"concurrently": "*",
"eslint": "*",
"eslint-config-typescript": "^3.0.0",
"jest": "*",
"nodemon": "*",
"supertest": "*",
"ts-jest": "*",
"ts-node": "*",
"ts-postgres": "*",
"typescript": "*"
},
"dependencies": {
"bcrypt": "*",
"cors": "*",
"dotenv": "*",
"express": "*",
"jsonwebtoken": "*",
"pg": "*",
"swagger-ui-express": "*",
"tsoa": "*"
},
"scripts": {
"prestart": "npm run build",
"start": "node build/src/server.js",
"prebuild": "npm run swagger",
"build": "tsc",
"predev": "npm run swagger",
"dev": "concurrently \"nodemon\" \"nodemon -x tsoa spec-and-routes\"",
"swagger": "tsoa spec-and-routes",
"pretest": "npm run swagger",
"test": "jest --runInBand --coverage --verbose --forceExit",
"lint": "eslint ./src/**/*.[jt]s --fix",
"zip": "bestzip Assignment1.Submission.zip tsoa.json tsconfig.json src/* sql/*"
},
"nodemonConfig": {
"watch": [
"src"
],
"ext": "ts",
"exec": "ts-node src/server.ts"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testTimeout": 500,
"collectCoverageFrom": [
"src/**/*.[jt]s"
],
"coveragePathIgnorePatterns": [
"src/server.[jt]s"
],
"testMatch": [
"**/?(*.)+(spec|test).[jt]s?(x)"
]
},
"eslintConfig": {
"extends": [
"typescript"
],
"parserOptions": {
"ecmaVersion": 13
},
"rules": {
"indent": [
"warn",
2
]
}
}
}