blob: eafa447c5c4d6bb0f6e53e90132a6f83ec3f91ca [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",
simon7e00d612022-10-01 20:06:53 -040011 "build:prod": "export NODE_ENV=production && rollup -c && 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",
simon07b4eb02022-09-29 17:50:26 -040017 "prettier": "prettier -c \"**/*.{ts,tsx,js,jsx,json}\"",
simon7e00d612022-10-01 20:06:53 -040018 "start": "rollup -cw",
19 "start:prod": "NODE_ENV=production node dist/bundle.js"
simonc7d52452022-09-23 02:09:42 -040020 },
simon7a7b4d52022-09-23 02:09:42 -040021 "lint-staged": {
simon0e225ca2022-10-05 22:13:34 -040022 "**/*.{ts,tsx,js,jsx,cjs}": [
simon7a7b4d52022-09-23 02:09:42 -040023 "eslint --fix",
24 "prettier --write"
25 ]
26 },
Larbi Gharibe9af9732021-03-31 15:08:01 +010027 "dependencies": {
Adrien Béraud21921aa2022-09-18 13:50:39 -040028 "@sentry/node": "^7.13.0",
29 "@sentry/tracing": "^7.13.0",
idillond858c182022-09-16 13:18:26 -040030 "body-parser": "^1.20.0",
31 "connect-redis": "^6.1.3",
Adrien Béraud3e41e4a2022-05-03 15:39:08 -040032 "cookie-parser": "^1.4.6",
Adrien Béraud21921aa2022-09-18 13:50:39 -040033 "core-js": "^3.25.1",
Larbi Gharibe9af9732021-03-31 15:08:01 +010034 "cors": "^2.8.5",
Adrien Béraud21921aa2022-09-18 13:50:39 -040035 "dotenv": "^16.0.2",
idillond858c182022-09-16 13:18:26 -040036 "ejs": "^3.1.8",
Larbi Gharibe9af9732021-03-31 15:08:01 +010037 "env": "0.0.2",
idillond858c182022-09-16 13:18:26 -040038 "express": "^4.18.1",
39 "express-session": "^1.17.3",
40 "passport": "^0.6.0",
Larbi Gharibe9af9732021-03-31 15:08:01 +010041 "passport-local": "^1.0.0",
42 "passport-session": "^1.0.2",
Larbi Gharibe9af9732021-03-31 15:08:01 +010043 "path": "^0.12.7",
44 "redis-url": "^1.2.1",
Adrien Béraud21921aa2022-09-18 13:50:39 -040045 "socket.io": "^4.5.2"
Larbi Gharibe9af9732021-03-31 15:08:01 +010046 },
47 "devDependencies": {
simon7e00d612022-10-01 20:06:53 -040048 "@rollup/plugin-commonjs": "^22.0.2",
49 "@rollup/plugin-run": "^2.1.0",
50 "@rollup/plugin-typescript": "^8.5.0",
idillond858c182022-09-16 13:18:26 -040051 "@svgr/webpack": "^6.3.1",
simon7a7b4d52022-09-23 02:09:42 -040052 "@types/cookie-parser": "^1.4.3",
53 "@types/express": "^4.17.14",
54 "@types/express-session": "^1.17.5",
55 "@types/passport": "^1.0.11",
56 "@types/passport-local": "^1.0.34",
57 "@types/webpack-hot-middleware": "^2.25.6",
Adrien Béraud2b3c2cd2022-09-18 14:24:33 -040058 "@typescript-eslint/eslint-plugin": "^5.37.0",
59 "@typescript-eslint/parser": "^5.37.0",
Adrien Béraud21921aa2022-09-18 13:50:39 -040060 "cypress": "^10.8.0",
Adrien Béraud2b3c2cd2022-09-18 14:24:33 -040061 "eslint": "^8.23.1",
simon7a7b4d52022-09-23 02:09:42 -040062 "eslint-config-prettier": "^8.5.0",
simon0e225ca2022-10-05 22:13:34 -040063 "eslint-plugin-header": "^3.1.1",
simon08a23162022-09-29 17:36:17 -040064 "eslint-plugin-simple-import-sort": "^8.0.0",
simon7a7b4d52022-09-23 02:09:42 -040065 "eslint-plugin-unused-imports": "^2.0.0",
66 "husky": "^8.0.0",
Adrien Béraudb7890222021-04-15 18:32:25 -040067 "jami-web-client": "file:client",
simon7a7b4d52022-09-23 02:09:42 -040068 "lint-staged": "^13.0.3",
Adrien Béraud21921aa2022-09-18 13:50:39 -040069 "llnode": "^4.0.0",
simon7a7b4d52022-09-23 02:09:42 -040070 "prettier": "^2.7.1",
Adrien Béraude5cad982021-06-07 10:05:50 -040071 "raw-loader": "^4.0.2",
simon7e00d612022-10-01 20:06:53 -040072 "rollup": "^2.79.1",
73 "rollup-plugin-terser": "^7.0.2",
simonc7d52452022-09-23 02:09:42 -040074 "typescript": "^4.8.3",
idillond858c182022-09-16 13:18:26 -040075 "webpack-dev-middleware": "^5.3.3",
76 "webpack-hot-middleware": "^2.25.2"
simonc7d52452022-09-23 02:09:42 -040077 }
Larbi Gharibe9af9732021-03-31 15:08:01 +010078}