blob: b2fb9a11f2041a079ce947c1bcaf8dd42e96b1a7 [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": {
simon20076982022-10-11 15:04:13 -040010 "build": "npm run build:common && npm run build:client",
11 "build:prod": "export NODE_ENV=production && rollup -c && npm run build",
12 "build:client": "cd client && npm run build",
13 "build:common": "cd common && npm run build",
14 "clean": "rm -rf dist client/dist common/dist",
15 "clean-all": "npm run clean && rm -rf node_modules client/node_modules common/node_modules",
simon7a7b4d52022-09-23 02:09:42 -040016 "lint": "eslint \"**/*.{ts,tsx,js,jsx}\"",
simona47f1ee2022-10-11 19:24:02 -040017 "prepare": "[ -e '.git' ] && git config core.hooksPath .hooks",
simon07b4eb02022-09-29 17:50:26 -040018 "prettier": "prettier -c \"**/*.{ts,tsx,js,jsx,json}\"",
simon7e00d612022-10-01 20:06:53 -040019 "start": "rollup -cw",
20 "start:prod": "NODE_ENV=production node dist/bundle.js"
simonc7d52452022-09-23 02:09:42 -040021 },
simon7a7b4d52022-09-23 02:09:42 -040022 "lint-staged": {
simon0e225ca2022-10-05 22:13:34 -040023 "**/*.{ts,tsx,js,jsx,cjs}": [
simon7a7b4d52022-09-23 02:09:42 -040024 "eslint --fix",
25 "prettier --write"
26 ]
27 },
Larbi Gharibe9af9732021-03-31 15:08:01 +010028 "dependencies": {
Adrien Béraud21921aa2022-09-18 13:50:39 -040029 "@sentry/node": "^7.13.0",
30 "@sentry/tracing": "^7.13.0",
idillond858c182022-09-16 13:18:26 -040031 "body-parser": "^1.20.0",
32 "connect-redis": "^6.1.3",
Adrien Béraud3e41e4a2022-05-03 15:39:08 -040033 "cookie-parser": "^1.4.6",
Adrien Béraud21921aa2022-09-18 13:50:39 -040034 "core-js": "^3.25.1",
Larbi Gharibe9af9732021-03-31 15:08:01 +010035 "cors": "^2.8.5",
Adrien Béraud21921aa2022-09-18 13:50:39 -040036 "dotenv": "^16.0.2",
idillond858c182022-09-16 13:18:26 -040037 "ejs": "^3.1.8",
Larbi Gharibe9af9732021-03-31 15:08:01 +010038 "env": "0.0.2",
idillond858c182022-09-16 13:18:26 -040039 "express": "^4.18.1",
40 "express-session": "^1.17.3",
simon20076982022-10-11 15:04:13 -040041 "jami-web-client": "file:client",
42 "jami-web-common": "file:common",
idillond858c182022-09-16 13:18:26 -040043 "passport": "^0.6.0",
Larbi Gharibe9af9732021-03-31 15:08:01 +010044 "passport-local": "^1.0.0",
45 "passport-session": "^1.0.2",
Larbi Gharibe9af9732021-03-31 15:08:01 +010046 "path": "^0.12.7",
47 "redis-url": "^1.2.1",
Adrien Béraud21921aa2022-09-18 13:50:39 -040048 "socket.io": "^4.5.2"
Larbi Gharibe9af9732021-03-31 15:08:01 +010049 },
50 "devDependencies": {
simon7e00d612022-10-01 20:06:53 -040051 "@rollup/plugin-commonjs": "^22.0.2",
52 "@rollup/plugin-run": "^2.1.0",
53 "@rollup/plugin-typescript": "^8.5.0",
idillond858c182022-09-16 13:18:26 -040054 "@svgr/webpack": "^6.3.1",
simon7a7b4d52022-09-23 02:09:42 -040055 "@types/cookie-parser": "^1.4.3",
56 "@types/express": "^4.17.14",
57 "@types/express-session": "^1.17.5",
58 "@types/passport": "^1.0.11",
59 "@types/passport-local": "^1.0.34",
60 "@types/webpack-hot-middleware": "^2.25.6",
Adrien Béraud2b3c2cd2022-09-18 14:24:33 -040061 "@typescript-eslint/eslint-plugin": "^5.37.0",
62 "@typescript-eslint/parser": "^5.37.0",
Adrien Béraud21921aa2022-09-18 13:50:39 -040063 "cypress": "^10.8.0",
Adrien Béraud2b3c2cd2022-09-18 14:24:33 -040064 "eslint": "^8.23.1",
simon7a7b4d52022-09-23 02:09:42 -040065 "eslint-config-prettier": "^8.5.0",
simon0e225ca2022-10-05 22:13:34 -040066 "eslint-plugin-header": "^3.1.1",
simon08a23162022-09-29 17:36:17 -040067 "eslint-plugin-simple-import-sort": "^8.0.0",
simon7a7b4d52022-09-23 02:09:42 -040068 "eslint-plugin-unused-imports": "^2.0.0",
simon7a7b4d52022-09-23 02:09:42 -040069 "lint-staged": "^13.0.3",
Adrien Béraud21921aa2022-09-18 13:50:39 -040070 "llnode": "^4.0.0",
simon7a7b4d52022-09-23 02:09:42 -040071 "prettier": "^2.7.1",
Adrien Béraude5cad982021-06-07 10:05:50 -040072 "raw-loader": "^4.0.2",
simon7e00d612022-10-01 20:06:53 -040073 "rollup": "^2.79.1",
74 "rollup-plugin-terser": "^7.0.2",
simonc7d52452022-09-23 02:09:42 -040075 "typescript": "^4.8.3",
idillond858c182022-09-16 13:18:26 -040076 "webpack-dev-middleware": "^5.3.3",
77 "webpack-hot-middleware": "^2.25.2"
simonc7d52452022-09-23 02:09:42 -040078 }
Larbi Gharibe9af9732021-03-31 15:08:01 +010079}