-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) ยท 3.19 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
{
"name": "node-server",
"version": "1.0.0",
"description": "KnowNow node-server",
"main": "index.js",
"scripts": {
"pm2": "cross-env NODE_ENV=production pm2 start ./src/server.ts --watch",
"start": "npm run build && cross-env NODE_ENV=production node dist/server.js",
"reset:prod": "cross-env NODE_ENV=production DATABASE_INIT=true ts-node ./src/server.ts",
"reset:dev": "cross-env NODE_ENV=development DATABASE_INIT=true ts-node ./src/server.ts",
"dev": "cross-env NODE_ENV=development nodemon",
"test": "cross-env NODE_ENV=test jest --runInBand --verbose --detectOpenHandles --forceExit --testTimeout=30000 ./tests/*.test.ts exit",
"test:watch": "cross-env NODE_ENV=test jest --runInBand --verbose --detectOpenHandles --watchAll --testTimeout=30000 ./tests/*.test.ts",
"test:coverage": "cross-env NODE_ENV=test jest --runInBand --verbose --detectOpenHandles --forceExit --coverage --testTimeout=30000 ./tests/*.test.ts exit",
"build": "tsc && npx tsc-alias && copyfiles -u 1 src/**/* dist"
},
"repository": {
"type": "git",
"url": "git+https://github.com/knowNow-Team/node-server.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/knowNow-Team/node-server/issues"
},
"homepage": "https://github.com/knowNow-Team/node-server#readme",
"dependencies": {
"axios": "^0.21.1",
"class-transformer": "^0.4.0",
"class-validator": "^0.13.1",
"compression": "^1.7.4",
"config": "^3.3.6",
"cookie-parser": "~1.4.4",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"debug": "~2.6.9",
"dotenv": "^8.2.0",
"envalid": "^7.1.0",
"errorhandler": "^1.5.1",
"express": "^4.17.1",
"express-validator": "^6.9.0",
"helmet": "^4.4.1",
"hpp": "^0.2.3",
"jsonwebtoken": "^8.5.1",
"mongodb": "^3.6.5",
"mongoose": "^5.12.3",
"morgan": "~1.9.1",
"reflect-metadata": "^0.1.13",
"swagger-jsdoc": "^6.0.0",
"swagger-ui-express": "^4.1.6",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.2"
},
"devDependencies": {
"@types/compression": "^1.7.0",
"@types/config": "0.0.38",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.10",
"@types/dotenv": "^8.2.0",
"@types/errorhandler": "^1.5.0",
"@types/express": "^4.17.9",
"@types/helmet": "^4.0.0",
"@types/hpp": "^0.2.1",
"@types/http-errors": "^1.8.0",
"@types/jsonwebtoken": "^8.5.1",
"@types/mongodb": "^3.6.10",
"@types/mongoose": "^5.10.4",
"@types/morgan": "^1.9.2",
"@types/node": "^14.14.20",
"@types/swagger-jsdoc": "^6.0.0",
"@types/swagger-ui-express": "^4.1.2",
"@types/validator": "^13.1.3",
"@types/winston": "^2.4.4",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"copyfiles": "^2.4.1",
"eslint": "^7.22.0",
"eslint-config-node": "^4.1.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"gts": "^3.1.0",
"nodemon": "^2.0.7",
"prettier": "^2.2.1",
"ts-node": "^9.1.1",
"tsconfig-paths": "^3.9.0",
"tslib": "^2.2.0",
"typescript": "^4.2.3"
}
}