-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 3.91 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "mmtour",
"version": "1.0.0",
"description": "MMTour API",
"main": "src/app.js",
"scripts": {
"build:ts": "tsc && npx tsc-alias",
"build": "pnpm run build-ts && pnpm run lint && pnpm run copy-static-assets",
"copy-static-assets": "ts-node copyStaticAssets.ts",
"lint": "eslint --ignore-path .gitignore --ext .ts src/",
"lint:fix": "pnpm run lint -- --fix",
"serve": "node dist/server.js",
"start": "pnpm run build && NODE_ENV=production pnpm run serve",
"dev": "NODE_ENV=development nodemon",
"test": "jest src/tests/unit/models/tour.model.test.ts --forceExit --detectOpenHandles",
"watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"cyan.bold,green.bold\" \"pnpm run watch-ts\" \"pnpm run watch-node\"",
"watch:debug": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"cyan.bold,green.bold\" \"pnpm run watch-ts\" \"pnpm run serve-debug\"",
"watch:node": "nodemon dist/server.js",
"watch:ts": "tsc -w",
"watch:test": "pnpm run test -- --watchAll",
"debug": "pnpm run build && pnpm run watch-debug",
"serve:debug": "nodemon --inspect dist/server.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/DavianYang/MMTour.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/DavianYang/MMTour/issues"
},
"homepage": "https://github.com/DavianYang/MMTour#readme",
"dependencies": {
"axios": "^0.21.4",
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"convict": "^6.2.1",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"express-mongo-sanitize": "^2.1.0",
"express-rate-limit": "^5.2.6",
"helmet": "^4.6.0",
"hpp": "^0.2.3",
"html-to-text": "^8.0.0",
"json2csv": "^5.0.6",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"moment": "^2.29.1",
"mongodb": "^4.1.3",
"mongoose": "^5.13.11",
"morgan": "^1.10.0",
"multer": "1.4.1",
"nodemailer": "^6.6.2",
"parcel": "^2.0.0",
"pnpm": "^6.9.1",
"pug": "^3.0.2",
"slugify": "^1.5.3",
"stripe": "^8.183.0",
"swagger-jsdoc": "^6.1.0",
"swagger-ui-express": "^4.1.6",
"ts-jest": "^27.0.3",
"ts-node": "^10.0.0",
"tslib": "^2.3.0",
"typescript": "^4.3.4",
"validator": "^13.6.0",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.5",
"xss-clean": "^0.1.1"
},
"devDependencies": {
"@shelf/jest-mongodb": "^2.0.3",
"@types/bcryptjs": "^2.4.2",
"@types/compression": "^1.7.2",
"@types/config": "^0.0.38",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.10",
"@types/express": "^4.17.12",
"@types/express-rate-limit": "^5.1.2",
"@types/faker": "^5.5.8",
"@types/hpp": "^0.2.1",
"@types/html-to-text": "^8.0.1",
"@types/jest": "^27.0.1",
"@types/json2csv": "^5.0.2",
"@types/jsonwebtoken": "^8.5.4",
"@types/mongodb": "^4.0.7",
"@types/morgan": "^1.9.2",
"@types/multer": "^1.4.7",
"@types/node": "^15.12.4",
"@types/nodemailer": "^6.4.4",
"@types/pug": "^2.0.5",
"@types/sharp": "^0.29.2",
"@types/shelljs": "^0.8.8",
"@types/supertest": "^2.0.11",
"@types/swagger-jsdoc": "^6.0.0",
"@types/swagger-ui-express": "^4.1.2",
"@types/validator": "^13.1.4",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"concurrently": "6.0.2",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"faker": "^5.5.3",
"husky": "^6.0.0",
"jest": "^27.2.0",
"lint-staged": "^11.0.0",
"node-config": "^0.0.2",
"node-gyp": "^8.1.0",
"node-mocks-http": "^1.11.0",
"nodemon": "^2.0.7",
"prettier": "^2.3.1",
"shelljs": "^0.8.4",
"supertest": "6.0.1",
"tsconfig-paths": "^3.9.0"
},
"engines": {
"node": "^16.0.0"
}
}