-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 2.01 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
{
"name": "backend",
"version": "1.0.0",
"description": "Backend for Instaclone",
"main": "index.js",
"scripts": {
"tsc": "tsc -p tsconfig.build.json",
"ts-jest:init": "npx ts-jest config:init",
"test": "cross-env NODE_ENV=test jest --verbose --detectOpenHandles",
"start": "cross-env NODE_ENV=production node build/src/index.js",
"dev": "cross-env NODE_ENV=development nodemon --files src/index.ts",
"start:test": "cross-env NODE_ENV=test ts-node --files src/index.ts",
"start:cypress-test": "cross-env NODE_ENV=cypress ts-node --files src/index.ts",
"start:dev": "cross-env NODE_ENV=development ts-node --files src/index.ts",
"docker:mongo": "docker-compose -f docker-compose.dev.yml up -d",
"lint": "eslint .",
"build:ui": "rm -rf build && cd ../frontend && npm run build && mv build ../backend"
},
"author": "",
"license": "ISC",
"dependencies": {
"@types/express": "^4.17.13",
"bcrypt": "^5.1.0",
"cloudinary": "^1.29.0",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"dotenv": "^16.0.0",
"express": "^4.17.3",
"jsonwebtoken": "^8.5.1",
"mongodb-memory-server": "^8.4.2",
"mongoose": "^6.2.9",
"morgan": "^1.10.0",
"socket.io": "^4.7.5",
"valid-data-url": "^4.0.0"
},
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.12",
"@types/jest": "^27.4.1",
"@types/jsonwebtoken": "^8.5.8",
"@types/morgan": "^1.9.3",
"@types/supertest": "^2.0.12",
"@types/valid-data-url": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"eslint": "^8.12.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^16.1.4",
"eslint-plugin-import": "^2.25.4",
"jest": "^27.5.1",
"nodemon": "^2.0.15",
"socket.io-client": "^4.7.5",
"supertest": "^6.2.2",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"typescript": "^4.6.3"
}
}