-
Notifications
You must be signed in to change notification settings - Fork 213
/
package.json
75 lines (75 loc) · 2.23 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
{
"name": "chat-e2ee",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "concurrently \"npm run client\" \"npm run server\"",
"build-client": "cd client && npm run build",
"build": "tsc && npm run build-client",
"client": "cd client && npm start",
"server": "cross-env NODE_ENV=development nodemon --watch \"./**\" --ext \"ts,json\" --ignore \"./client\" --ignore \"./service\" --exec \"ts-node index.ts\"",
"watch-sdk": "cd service && npm run watch",
"serve": "node ./dist/index",
"test": "cross-env NODE_ENV=test jest",
"start": "cross-env NODE_ENV=production npm run serve",
"postinstall": "npm run build-service-sdk && cd client && npm install",
"docker_start": "cross-env NODE_ENV=production node ./dist/index",
"build-service-sdk": "cd service && npm install && npm run build",
"publish-sdk": "cd service && npm run publish-sdk"
},
"author": "",
"license": "ISC",
"dependencies": {
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"express": "^4.21.2",
"form-data": "^4.0.0",
"mongodb": "^6.9.0",
"node-fetch": "^2.7.0",
"socket.io": "^4.8.0",
"uuid": "^10.0.0"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.13",
"@types/node": "^22.6.1",
"@types/node-fetch": "^2.6.11",
"@types/socket.io": "^3.0.2",
"concurrently": "^9.0.1",
"eslint": "^9.11.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "28.8.3",
"husky": "^9.1.6",
"jest": "^29.7.0",
"lint-staged": "^15.2.10",
"nodemon": "^3.1.7",
"prettier": "^3.3.3",
"react-bootstrap": "^2.10.4",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "5.6.2"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.{js,css,json,md}": [
"prettier --write",
"git add"
]
}
}