Larbi Gharib | e9af973 | 2021-03-31 15:08:01 +0100 | [diff] [blame] | 1 | { |
Adrien Béraud | c4dd44a | 2021-04-08 01:05:24 -0400 | [diff] [blame] | 2 | "name": "jami-web-server", |
Larbi Gharib | e9af973 | 2021-03-31 15:08:01 +0100 | [diff] [blame] | 3 | "version": "1.0.0", |
| 4 | "description": "Jaas Web API that handles client requests to Jami daemon", |
simon | c7d5245 | 2022-09-23 02:09:42 -0400 | [diff] [blame] | 5 | "license": "ISC", |
| 6 | "author": "Larbi Gharib", |
| 7 | "type": "module", |
| 8 | "main": "app.ts", |
| 9 | "scripts": { |
simon | 2007698 | 2022-10-11 15:04:13 -0400 | [diff] [blame] | 10 | "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", |
simon | 7a7b4d5 | 2022-09-23 02:09:42 -0400 | [diff] [blame] | 16 | "lint": "eslint \"**/*.{ts,tsx,js,jsx}\"", |
simon | a47f1ee | 2022-10-11 19:24:02 -0400 | [diff] [blame] | 17 | "prepare": "[ -e '.git' ] && git config core.hooksPath .hooks", |
simon | 07b4eb0 | 2022-09-29 17:50:26 -0400 | [diff] [blame] | 18 | "prettier": "prettier -c \"**/*.{ts,tsx,js,jsx,json}\"", |
simon | 7e00d61 | 2022-10-01 20:06:53 -0400 | [diff] [blame] | 19 | "start": "rollup -cw", |
| 20 | "start:prod": "NODE_ENV=production node dist/bundle.js" |
simon | c7d5245 | 2022-09-23 02:09:42 -0400 | [diff] [blame] | 21 | }, |
simon | 7a7b4d5 | 2022-09-23 02:09:42 -0400 | [diff] [blame] | 22 | "lint-staged": { |
simon | 0e225ca | 2022-10-05 22:13:34 -0400 | [diff] [blame] | 23 | "**/*.{ts,tsx,js,jsx,cjs}": [ |
simon | 7a7b4d5 | 2022-09-23 02:09:42 -0400 | [diff] [blame] | 24 | "eslint --fix", |
| 25 | "prettier --write" |
| 26 | ] |
| 27 | }, |
Larbi Gharib | e9af973 | 2021-03-31 15:08:01 +0100 | [diff] [blame] | 28 | "dependencies": { |
Adrien Béraud | 21921aa | 2022-09-18 13:50:39 -0400 | [diff] [blame] | 29 | "@sentry/node": "^7.13.0", |
| 30 | "@sentry/tracing": "^7.13.0", |
idillon | d858c18 | 2022-09-16 13:18:26 -0400 | [diff] [blame] | 31 | "body-parser": "^1.20.0", |
| 32 | "connect-redis": "^6.1.3", |
Adrien Béraud | 3e41e4a | 2022-05-03 15:39:08 -0400 | [diff] [blame] | 33 | "cookie-parser": "^1.4.6", |
Adrien Béraud | 21921aa | 2022-09-18 13:50:39 -0400 | [diff] [blame] | 34 | "core-js": "^3.25.1", |
Larbi Gharib | e9af973 | 2021-03-31 15:08:01 +0100 | [diff] [blame] | 35 | "cors": "^2.8.5", |
Adrien Béraud | 21921aa | 2022-09-18 13:50:39 -0400 | [diff] [blame] | 36 | "dotenv": "^16.0.2", |
idillon | d858c18 | 2022-09-16 13:18:26 -0400 | [diff] [blame] | 37 | "ejs": "^3.1.8", |
Larbi Gharib | e9af973 | 2021-03-31 15:08:01 +0100 | [diff] [blame] | 38 | "env": "0.0.2", |
idillon | d858c18 | 2022-09-16 13:18:26 -0400 | [diff] [blame] | 39 | "express": "^4.18.1", |
| 40 | "express-session": "^1.17.3", |
simon | 2007698 | 2022-10-11 15:04:13 -0400 | [diff] [blame] | 41 | "jami-web-client": "file:client", |
| 42 | "jami-web-common": "file:common", |
idillon | d858c18 | 2022-09-16 13:18:26 -0400 | [diff] [blame] | 43 | "passport": "^0.6.0", |
Larbi Gharib | e9af973 | 2021-03-31 15:08:01 +0100 | [diff] [blame] | 44 | "passport-local": "^1.0.0", |
| 45 | "passport-session": "^1.0.2", |
Larbi Gharib | e9af973 | 2021-03-31 15:08:01 +0100 | [diff] [blame] | 46 | "path": "^0.12.7", |
| 47 | "redis-url": "^1.2.1", |
Adrien Béraud | 21921aa | 2022-09-18 13:50:39 -0400 | [diff] [blame] | 48 | "socket.io": "^4.5.2" |
Larbi Gharib | e9af973 | 2021-03-31 15:08:01 +0100 | [diff] [blame] | 49 | }, |
| 50 | "devDependencies": { |
simon | 7e00d61 | 2022-10-01 20:06:53 -0400 | [diff] [blame] | 51 | "@rollup/plugin-commonjs": "^22.0.2", |
| 52 | "@rollup/plugin-run": "^2.1.0", |
| 53 | "@rollup/plugin-typescript": "^8.5.0", |
idillon | d858c18 | 2022-09-16 13:18:26 -0400 | [diff] [blame] | 54 | "@svgr/webpack": "^6.3.1", |
simon | 7a7b4d5 | 2022-09-23 02:09:42 -0400 | [diff] [blame] | 55 | "@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éraud | 2b3c2cd | 2022-09-18 14:24:33 -0400 | [diff] [blame] | 61 | "@typescript-eslint/eslint-plugin": "^5.37.0", |
| 62 | "@typescript-eslint/parser": "^5.37.0", |
Adrien Béraud | 21921aa | 2022-09-18 13:50:39 -0400 | [diff] [blame] | 63 | "cypress": "^10.8.0", |
Adrien Béraud | 2b3c2cd | 2022-09-18 14:24:33 -0400 | [diff] [blame] | 64 | "eslint": "^8.23.1", |
simon | 7a7b4d5 | 2022-09-23 02:09:42 -0400 | [diff] [blame] | 65 | "eslint-config-prettier": "^8.5.0", |
simon | 0e225ca | 2022-10-05 22:13:34 -0400 | [diff] [blame] | 66 | "eslint-plugin-header": "^3.1.1", |
simon | 08a2316 | 2022-09-29 17:36:17 -0400 | [diff] [blame] | 67 | "eslint-plugin-simple-import-sort": "^8.0.0", |
simon | 7a7b4d5 | 2022-09-23 02:09:42 -0400 | [diff] [blame] | 68 | "eslint-plugin-unused-imports": "^2.0.0", |
simon | 7a7b4d5 | 2022-09-23 02:09:42 -0400 | [diff] [blame] | 69 | "lint-staged": "^13.0.3", |
Adrien Béraud | 21921aa | 2022-09-18 13:50:39 -0400 | [diff] [blame] | 70 | "llnode": "^4.0.0", |
simon | 7a7b4d5 | 2022-09-23 02:09:42 -0400 | [diff] [blame] | 71 | "prettier": "^2.7.1", |
Adrien Béraud | e5cad98 | 2021-06-07 10:05:50 -0400 | [diff] [blame] | 72 | "raw-loader": "^4.0.2", |
simon | 7e00d61 | 2022-10-01 20:06:53 -0400 | [diff] [blame] | 73 | "rollup": "^2.79.1", |
| 74 | "rollup-plugin-terser": "^7.0.2", |
simon | c7d5245 | 2022-09-23 02:09:42 -0400 | [diff] [blame] | 75 | "typescript": "^4.8.3", |
idillon | d858c18 | 2022-09-16 13:18:26 -0400 | [diff] [blame] | 76 | "webpack-dev-middleware": "^5.3.3", |
| 77 | "webpack-hot-middleware": "^2.25.2" |
simon | c7d5245 | 2022-09-23 02:09:42 -0400 | [diff] [blame] | 78 | } |
Larbi Gharib | e9af973 | 2021-03-31 15:08:01 +0100 | [diff] [blame] | 79 | } |