forked from janishar/nodejs-backend-architecture-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 2.31 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
{
"name": "nodejs-backend-architecture",
"version": "1.0.2",
"description": "The architecture for nodejs backend application. It is build on top of expressjs using typescript.",
"main": "index.js",
"scripts": {
"start": "npm run build && npm run serve",
"serve": "node -r dotenv/config build/server.js",
"build": "npm run clean && npm run build-ts",
"watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run watch-node\"",
"watch-node": "nodemon -r dotenv/config build/server.js",
"clean": "rimraf ./build",
"build-ts": "tsc",
"watch-ts": "tsc -w",
"eslint": "eslint . --ext .js,.ts",
"upgrade": "npm update --save-dev && npm update --save",
"test": "jest --forceExit --detectOpenHandles --coverage --verbose"
},
"repository": {
"type": "git",
"url": "https://github.com/afteracademy/nodejs-backend-architecture-typescript.git"
},
"author": "AfterAcademy",
"license": "Apache-2.0",
"dependencies": {
"@hapi/joi": "^17.1.1",
"bcrypt": "^5.0.0",
"body-parser": "^1.19.0",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"express": "^4.17.1",
"helmet": "^4.1.1",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.20",
"mongoose": "^5.10.11",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.0"
},
"devDependencies": {
"@types/bcrypt": "^3.0.0",
"@types/body-parser": "^1.19.0",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.8",
"@types/express": "^4.17.8",
"@types/hapi__joi": "^17.1.6",
"@types/helmet": "^4.0.0",
"@types/jest": "^26.0.15",
"@types/jsonwebtoken": "^8.5.0",
"@types/lodash": "^4.14.163",
"@types/mongoose": "^5.7.36",
"@types/morgan": "^1.9.2",
"@types/node": "^14.14.6",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^4.6.0",
"@typescript-eslint/parser": "^4.6.0",
"colors": "^1.4.0",
"concurrently": "^5.3.0",
"dotenv": "^8.2.0",
"eslint": "^7.12.1",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^26.6.1",
"nodemon": "^2.0.6",
"prettier": "^2.1.2",
"supertest": "^6.0.0",
"ts-jest": "^26.4.3",
"ts-node": "^9.0.0",
"tslint": "^6.1.0",
"typescript": "^4.0.5"
}
}