blob: 905c3c33bdf933bde955fef6e38158aea9e064c5 [file] [log] [blame]
Larbi Gharibe9af9732021-03-31 15:08:01 +01001{
Adrien Béraudc4dd44a2021-04-08 01:05:24 -04002 "name": "jami-web-server",
Larbi Gharibe9af9732021-03-31 15:08:01 +01003 "version": "1.0.0",
4 "description": "Jaas Web API that handles client requests to Jami daemon",
simonc7d52452022-09-23 02:09:42 -04005 "license": "ISC",
6 "author": "Larbi Gharib",
7 "type": "module",
8 "main": "app.ts",
9 "scripts": {
10 "build": "npm run build-client",
11 "build:prod": "tsc && NODE_ENV=production npm run build-client",
simon7a7b4d52022-09-23 02:09:42 -040012 "build-client": "cd client && npm run build",
simonc7d52452022-09-23 02:09:42 -040013 "clean": "rm -rf dist client/dist",
14 "clean-all": "npm run clean && rm -rf node_modules client/node_modules",
simon7a7b4d52022-09-23 02:09:42 -040015 "lint": "eslint \"**/*.{ts,tsx,js,jsx}\"",
16 "prepare": "husky install",
simonc7d52452022-09-23 02:09:42 -040017 "start": "nodemon",
18 "start:prod": "NODE_ENV=production node dist/app.js"
19 },
simon7a7b4d52022-09-23 02:09:42 -040020 "lint-staged": {
21 "**/*.{ts,tsx,js,jsx,json}": [
22 "eslint --fix",
23 "prettier --write"
24 ]
25 },
Larbi Gharibe9af9732021-03-31 15:08:01 +010026 "dependencies": {
Adrien Béraud21921aa2022-09-18 13:50:39 -040027 "@sentry/node": "^7.13.0",
28 "@sentry/tracing": "^7.13.0",
idillond858c182022-09-16 13:18:26 -040029 "body-parser": "^1.20.0",
30 "connect-redis": "^6.1.3",
Adrien Béraud3e41e4a2022-05-03 15:39:08 -040031 "cookie-parser": "^1.4.6",
Adrien Béraud21921aa2022-09-18 13:50:39 -040032 "core-js": "^3.25.1",
Larbi Gharibe9af9732021-03-31 15:08:01 +010033 "cors": "^2.8.5",
Adrien Béraud21921aa2022-09-18 13:50:39 -040034 "dotenv": "^16.0.2",
idillond858c182022-09-16 13:18:26 -040035 "ejs": "^3.1.8",
Larbi Gharibe9af9732021-03-31 15:08:01 +010036 "env": "0.0.2",
idillond858c182022-09-16 13:18:26 -040037 "express": "^4.18.1",
38 "express-session": "^1.17.3",
39 "passport": "^0.6.0",
Larbi Gharibe9af9732021-03-31 15:08:01 +010040 "passport-local": "^1.0.0",
41 "passport-session": "^1.0.2",
Larbi Gharibe9af9732021-03-31 15:08:01 +010042 "path": "^0.12.7",
43 "redis-url": "^1.2.1",
Adrien Béraud21921aa2022-09-18 13:50:39 -040044 "socket.io": "^4.5.2"
Larbi Gharibe9af9732021-03-31 15:08:01 +010045 },
46 "devDependencies": {
idillond858c182022-09-16 13:18:26 -040047 "@svgr/webpack": "^6.3.1",
simon7a7b4d52022-09-23 02:09:42 -040048 "@types/cookie-parser": "^1.4.3",
49 "@types/express": "^4.17.14",
50 "@types/express-session": "^1.17.5",
51 "@types/passport": "^1.0.11",
52 "@types/passport-local": "^1.0.34",
53 "@types/webpack-hot-middleware": "^2.25.6",
Adrien Béraud2b3c2cd2022-09-18 14:24:33 -040054 "@typescript-eslint/eslint-plugin": "^5.37.0",
55 "@typescript-eslint/parser": "^5.37.0",
Adrien Béraud21921aa2022-09-18 13:50:39 -040056 "cypress": "^10.8.0",
Adrien Béraud2b3c2cd2022-09-18 14:24:33 -040057 "eslint": "^8.23.1",
simon7a7b4d52022-09-23 02:09:42 -040058 "eslint-config-prettier": "^8.5.0",
59 "eslint-plugin-unused-imports": "^2.0.0",
60 "husky": "^8.0.0",
Adrien Béraudb7890222021-04-15 18:32:25 -040061 "jami-web-client": "file:client",
simon7a7b4d52022-09-23 02:09:42 -040062 "lint-staged": "^13.0.3",
Adrien Béraud21921aa2022-09-18 13:50:39 -040063 "llnode": "^4.0.0",
64 "nodemon": "^2.0.20",
simon7a7b4d52022-09-23 02:09:42 -040065 "prettier": "^2.7.1",
Adrien Béraude5cad982021-06-07 10:05:50 -040066 "raw-loader": "^4.0.2",
simonc7d52452022-09-23 02:09:42 -040067 "ts-node": "^10.9.1",
68 "typescript": "^4.8.3",
idillond858c182022-09-16 13:18:26 -040069 "webpack-dev-middleware": "^5.3.3",
70 "webpack-hot-middleware": "^2.25.2"
simonc7d52452022-09-23 02:09:42 -040071 }
Larbi Gharibe9af9732021-03-31 15:08:01 +010072}