-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.13 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.13 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
{
"name": "natours",
"version": "1.0.0",
"author": "morganTuber",
"license": "MIT",
"main": "build/build.js",
"dependencies": {
"@stripe/stripe-js": "^1.22.0",
"@typegoose/typegoose": "^9.4.0",
"axios": "^0.24.0",
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"express": "^4.17.2",
"express-mongo-sanitize": "^2.1.0",
"express-rate-limit": "^6.0.1",
"helmet": "^4.6.0",
"hpp": "^0.2.3",
"html-to-text": "^8.1.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"mapbox-gl": "^2.6.1",
"mongoose": "^6.1.3",
"morgan": "^1.10.0",
"multer": "^1.4.4",
"nodemailer": "^6.7.2",
"pug": "^3.0.2",
"sharp": "^0.29.3",
"stripe": "^8.195.0",
"xss-clean": "^0.1.1"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/compression": "^1.7.2",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/express-rate-limit": "^5.1.3",
"@types/hpp": "^0.2.2",
"@types/html-to-text": "^8.0.1",
"@types/jsonwebtoken": "^8.5.6",
"@types/lodash": "^4.14.178",
"@types/mapbox-gl": "^2.6.0",
"@types/morgan": "^1.9.3",
"@types/multer": "^1.4.7",
"@types/node": "17.0.4",
"@types/nodemailer": "^6.4.4",
"@types/pug": "^2.0.6",
"@types/sharp": "^0.29.5",
"@typescript-eslint/eslint-plugin": "5.8.0",
"@typescript-eslint/parser": "5.8.0",
"esbuild": "^0.14.8",
"eslint": "^8.5.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"rimraf": "^3.0.2",
"ts-node-dev": "^1.1.8",
"tsc-alias": "^1.5.0",
"tsconfig-paths": "^3.12.0",
"typescript": "^4.5.4"
},
"engines": {
"node": ">=14.17.6"
},
"scripts": {
"tsnode": "npx ts-node -r tsconfig-paths/register",
"clean-db": "yarn tsnode src/utils/dbSeed.ts --clean",
"seed-db": "yarn tsnode src/utils/dbSeed.ts --seed",
"dev": "ts-node-dev --respawn -r tsconfig-paths/register src/index.ts",
"start": "node build/index.js",
"build": "rimraf build && tsc && tsc-alias && cp -r src/views build",
"build:js": "esbuild dev-data/ts/index.ts --platform=browser --watch --bundle --minify --outfile=public/js/bundle.js"
}
}