-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
105 lines (105 loc) · 3.38 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
{
"name": "natours_api",
"version": "1.0.0",
"description": "Booking tour api",
"scripts": {
"clean": "npx rimraf ./dist/",
"prebuild": "npm run clean",
"setup": "npx tsc -p . && npx ts-node ./scripts/setup.ts ",
"build": "npm run setup && npm run build:js:prod",
"postbuild": "npx ts-node ./scripts/cleanup.ts",
"format": "prettier --write ./src/**/*.ts ./tests/**/*.ts",
"start": "npx cross-env NODE_ENV=production node -r ts-node/register/transpile-only -r tsconfig-paths/register ./dist/src/server.js",
"start:api:dev": "npx cross-env NODE_ENV=development nodemon",
"start:api:prod": "npx cross-env NODE_ENV=production nodemon",
"build:js:dev": "npx cross-env NODE_ENV=development node ./scripts/esbuild.dev.js",
"build:js:prod": "npx cross-env NODE_ENV=production node ./scripts/esbuild.js",
"test:api:dev": "npx cross-env NODE_ENV=development playwright test --project=rest_api"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@faker-js/faker": "^7.3.0",
"@playwright/test": "^1.22.2",
"@types/axios": "^0.14.0",
"@types/bcryptjs": "^2.4.2",
"@types/compression": "^1.7.2",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.12",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.13",
"@types/hpp": "^0.2.2",
"@types/html-to-text": "^8.1.0",
"@types/jsonwebtoken": "^8.5.8",
"@types/mapbox-gl": "^2.7.2",
"@types/morgan": "^1.9.3",
"@types/multer": "^1.4.7",
"@types/node": "^17.0.10",
"@types/nodemailer": "^6.4.4",
"@types/pug": "^2.0.6",
"@types/rimraf": "^3.0.2",
"@types/sharp": "^0.30.2",
"@types/shelljs": "^0.8.11",
"@types/validator": "^13.7.1",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"allure-commandline": "^2.17.2",
"allure-playwright": "^2.0.0-beta.15",
"base64url": "^3.0.1",
"concurrently": "^7.1.0",
"esbuild": "^0.14.47",
"esbuild-node-externals": "^1.4.1",
"eslint": "^8.7.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"jsonschema": "^1.4.0",
"nodemon": "^2.0.18",
"pino-pretty": "^8.1.0",
"playwright": "^1.20.0",
"prettier": "^2.5.1",
"process": "^0.11.10",
"randomstring": "^1.2.2",
"rimraf": "^3.0.2",
"shelljs": "^0.8.5",
"typescript": "^4.5.5"
},
"dependencies": {
"axios": "^0.26.1",
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"dotenv": "^14.3.0",
"express": "^4.17.2",
"express-mongo-sanitize": "^2.2.0",
"express-rate-limit": "^6.3.0",
"helmet": "^5.0.2",
"hpp": "^0.2.3",
"html-to-text": "^8.2.0",
"jsonwebtoken": "^8.5.1",
"mapbox-gl": "^2.8.2",
"mongoose": "^6.3.6",
"multer": "^1.4.5-lts.1",
"nodemailer": "^6.7.2",
"pino": "^8.1.0",
"pino-http": "^8.1.0",
"pug": "^3.0.2",
"sharp": "^0.30.4",
"slugify": "^1.6.5",
"stripe": "^8.222.0",
"ts-node": "^10.4.0",
"tsconfig-paths": "^4.0.0",
"validator": "^13.7.0",
"xss-clean": "^0.1.1"
},
"engines": {
"node": ">= 16.16.0 <= 18.0.0"
}
}