blob: eb65b6018c9f89bae0575a6818560795a7d1b696 [file] [log] [blame]
Larbi Gharibe9af9732021-03-31 15:08:01 +01001{
simon42930d32022-10-14 14:36:54 -04002 "name": "jami-web",
Larbi Gharibe9af9732021-03-31 15:08:01 +01003 "version": "1.0.0",
Misha Krieger-Raynauld173fbba2022-11-16 14:10:38 -05004 "workspaces": [
5 "common",
6 "client",
7 "server"
8 ],
simonc7d52452022-09-23 02:09:42 -04009 "scripts": {
Misha Krieger-Raynauld173fbba2022-11-16 14:10:38 -050010 "start": "concurrently \"npm start --workspace server\" \"npm start --workspace client\"",
11 "start:prod": "concurrently \"npm run start:prod --workspace server\" \"npm run start:prod --workspace client\"",
Larbi Gharibb38e3542022-12-07 06:09:10 -050012 "start:debug-server": "LD_LIBRARY_PATH='${PWD}/daemon/src/.libs' HOME=/tmp npm start --workspace server",
Misha Krieger-Raynauld173fbba2022-11-16 14:10:38 -050013 "build": "npm run build --workspaces",
14 "clean": "npm run clean --workspaces",
simon42930d32022-10-14 14:36:54 -040015 "clean:all": "npm run clean && find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +",
Misha Krieger-Raynauld173fbba2022-11-16 14:10:38 -050016 "lint": "npm run lint --workspaces",
17 "lint:fix": "npm run lint:fix --workspaces",
18 "format": "npm run format --workspaces",
19 "format:check": "npm run format:check --workspaces",
Misha Krieger-Raynauld86917ea2022-11-20 14:21:02 -050020 "prepare": "if [ -e '.git' ]; then git config core.hooksPath .hooks; fi"
simonc7d52452022-09-23 02:09:42 -040021 },
simon7a7b4d52022-09-23 02:09:42 -040022 "lint-staged": {
simond8ca2f22022-10-11 23:30:55 -040023 "**/*.{ts,tsx,js,jsx,cjs,html}": [
simon7a7b4d52022-09-23 02:09:42 -040024 "eslint --fix",
25 "prettier --write"
simond8ca2f22022-10-11 23:30:55 -040026 ],
simon73ef58d2022-10-27 00:25:55 -040027 "*.{json,md,scss}": [
simond8ca2f22022-10-11 23:30:55 -040028 "prettier --write"
simon7a7b4d52022-09-23 02:09:42 -040029 ]
30 },
Larbi Gharibe9af9732021-03-31 15:08:01 +010031 "devDependencies": {
Misha Krieger-Raynauld86917ea2022-11-20 14:21:02 -050032 "@typescript-eslint/eslint-plugin": "^5.43.0",
33 "@typescript-eslint/parser": "^5.43.0",
simon42930d32022-10-14 14:36:54 -040034 "concurrently": "^7.4.0",
Adrien BĂ©raud2b3c2cd2022-09-18 14:24:33 -040035 "eslint": "^8.23.1",
simon7a7b4d52022-09-23 02:09:42 -040036 "eslint-config-prettier": "^8.5.0",
Larbi Gharibb38e3542022-12-07 06:09:10 -050037 "eslint-plugin-cypress": "^2.12.1",
simon0e225ca2022-10-05 22:13:34 -040038 "eslint-plugin-header": "^3.1.1",
simond8ca2f22022-10-11 23:30:55 -040039 "eslint-plugin-html": "^7.1.0",
simon08a23162022-09-29 17:36:17 -040040 "eslint-plugin-simple-import-sort": "^8.0.0",
simon7a7b4d52022-09-23 02:09:42 -040041 "eslint-plugin-unused-imports": "^2.0.0",
simon7a7b4d52022-09-23 02:09:42 -040042 "lint-staged": "^13.0.3",
Misha Krieger-Raynauld173fbba2022-11-16 14:10:38 -050043 "prettier": "^2.7.1"
44 }
Larbi Gharibe9af9732021-03-31 15:08:01 +010045}