Ole Rehmsen | 66c6e54 | 2019-05-14 17:57:41 +0200 | [diff] [blame] | 1 | { |
| 2 | "name": "gerrit", |
Paladox none | 0bb39c9 | 2023-05-21 14:16:40 +0000 | [diff] [blame] | 3 | "version": "3.9.0-SNAPSHOT", |
Ole Rehmsen | 66c6e54 | 2019-05-14 17:57:41 +0200 | [diff] [blame] | 4 | "description": "Gerrit Code Review", |
Dmitrii Filippov | 611185a | 2020-10-23 18:15:49 +0200 | [diff] [blame] | 5 | "dependencies": { |
Ben Rohlfs | d42c525 | 2023-06-13 11:58:42 +0200 | [diff] [blame] | 6 | "@bazel/concatjs": "^5.8.1", |
| 7 | "@bazel/rollup": "^5.8.1", |
| 8 | "@bazel/terser": "^5.8.1", |
Kamil Musin | ae515ea | 2023-09-21 15:14:34 +0200 | [diff] [blame] | 9 | "@bazel/typescript": "^5.8.1", |
| 10 | "@typescript-eslint/parser": "^5.62.0" |
Dmitrii Filippov | 611185a | 2020-10-23 18:15:49 +0200 | [diff] [blame] | 11 | }, |
Ole Rehmsen | 66c6e54 | 2019-05-14 17:57:41 +0200 | [diff] [blame] | 12 | "devDependencies": { |
Antoine Musso | 1c2bc47 | 2024-06-19 17:23:11 +0200 | [diff] [blame] | 13 | "@koa/cors": "^5.0.0", |
Milutin Kristofic | 6f304e9 | 2024-01-03 20:16:18 +0100 | [diff] [blame] | 14 | "@types/page": "^1.11.9", |
Kamil Musin | ae515ea | 2023-09-21 15:14:34 +0200 | [diff] [blame] | 15 | "@typescript-eslint/eslint-plugin": "^5.62.0", |
Paladox none | 77bb42d | 2023-05-21 16:01:58 +0000 | [diff] [blame] | 16 | "@web/dev-server": "^0.1.38", |
| 17 | "@web/dev-server-esbuild": "^0.3.6", |
Milutin Kristofic | 7644f3e | 2024-04-15 21:00:16 +0200 | [diff] [blame] | 18 | "eslint": "^8.57.0", |
Dmitrii Filippov | 624a476 | 2020-12-22 11:23:59 +0100 | [diff] [blame] | 19 | "eslint-config-google": "^0.14.0", |
Paladox none | eb314a4 | 2023-05-26 18:57:17 +0000 | [diff] [blame] | 20 | "eslint-plugin-html": "^7.1.0", |
Milutin Kristofic | 6f304e9 | 2024-01-03 20:16:18 +0100 | [diff] [blame] | 21 | "eslint-plugin-import": "^2.29.1", |
Paladox none | eb314a4 | 2023-05-26 18:57:17 +0000 | [diff] [blame] | 22 | "eslint-plugin-jsdoc": "^44.2.7", |
Kamil Musin | d4dd7c0 | 2024-07-31 16:42:01 +0200 | [diff] [blame] | 23 | "eslint-plugin-lit": "^1.14.0", |
Dmitrii Filippov | 624a476 | 2020-12-22 11:23:59 +0100 | [diff] [blame] | 24 | "eslint-plugin-node": "^11.1.0", |
Paladox none | eb314a4 | 2023-05-26 18:57:17 +0000 | [diff] [blame] | 25 | "eslint-plugin-prettier": "^4.2.1", |
| 26 | "eslint-plugin-regex": "^1.10.0", |
Ben Rohlfs | d42c525 | 2023-06-13 11:58:42 +0200 | [diff] [blame] | 27 | "gts": "^3.1.1", |
Ben Rohlfs | ece23f9 | 2021-09-30 14:58:37 +0200 | [diff] [blame] | 28 | "lit-analyzer": "^1.2.1", |
Chris Poucet | f77ddab | 2021-11-19 20:33:18 +0100 | [diff] [blame] | 29 | "npm-run-all": "^4.1.5", |
Ben Rohlfs | d42c525 | 2023-06-13 11:58:42 +0200 | [diff] [blame] | 30 | "prettier": "^2.8.8", |
| 31 | "rollup": "^2.79.1", |
| 32 | "terser": "~5.8.0", |
Ben Rohlfs | ece23f9 | 2021-09-30 14:58:37 +0200 | [diff] [blame] | 33 | "ts-lit-plugin": "^1.2.1", |
Ben Rohlfs | d42c525 | 2023-06-13 11:58:42 +0200 | [diff] [blame] | 34 | "typescript": "^4.9.5" |
Ole Rehmsen | 66c6e54 | 2019-05-14 17:57:41 +0200 | [diff] [blame] | 35 | }, |
| 36 | "scripts": { |
Frank Borden | 9dd4f60 | 2022-10-12 11:22:15 +0200 | [diff] [blame] | 37 | "setup": "yarn && yarn --cwd=polygerrit-ui && yarn --cwd=polygerrit-ui/app", |
Paladox none | f396546 | 2020-02-14 13:08:33 +0000 | [diff] [blame] | 38 | "clean": "git clean -fdx && bazel clean --expunge", |
Frank Borden | ccb9ef7 | 2023-02-07 18:11:38 +0100 | [diff] [blame] | 39 | "compile": "tsc --project ./polygerrit-ui/app/tsconfig.json", |
| 40 | "compile:watch": "npm run compile -- --preserveWatchOutput --watch", |
Frank Borden | 72e57b3 | 2022-08-17 16:24:35 +0200 | [diff] [blame] | 41 | "start": "run-p -rl compile:watch start:server", |
| 42 | "start:server": "web-dev-server", |
Frank Borden | e6e4430 | 2022-09-08 13:53:08 +0200 | [diff] [blame] | 43 | "test": "yarn --cwd=polygerrit-ui test", |
Frank Borden | a63de0e | 2022-09-14 14:52:11 +0200 | [diff] [blame] | 44 | "test:screenshot": "yarn --cwd=polygerrit-ui test:screenshot", |
| 45 | "test:screenshot-update": "yarn --cwd=polygerrit-ui test:screenshot-update", |
Frank Borden | b9d2d53 | 2022-11-10 15:27:58 +0100 | [diff] [blame] | 46 | "test:browsers": "yarn --cwd=polygerrit-ui test:browsers", |
Frank Borden | 73a2de5 | 2022-09-09 13:32:07 +0200 | [diff] [blame] | 47 | "test:coverage": "yarn --cwd=polygerrit-ui test:coverage", |
Frank Borden | e6e4430 | 2022-09-08 13:53:08 +0200 | [diff] [blame] | 48 | "test:watch": "yarn --cwd=polygerrit-ui test:watch", |
| 49 | "test:single": "yarn --cwd=polygerrit-ui test:single", |
Frank Borden | 73a2de5 | 2022-09-09 13:32:07 +0200 | [diff] [blame] | 50 | "test:single:coverage": "yarn --cwd=polygerrit-ui test:single:coverage", |
Dmitrii Filippov | 3d7ad55 | 2020-03-26 12:01:27 +0100 | [diff] [blame] | 51 | "safe_bazelisk": "if which bazelisk >/dev/null; then bazel_bin=bazelisk; else bazel_bin=bazel; fi && $bazel_bin", |
| 52 | "eslint": "npm run safe_bazelisk test polygerrit-ui/app:lint_test", |
Dmitrii Filippov | 1c4b3f3 | 2020-04-01 20:58:40 +0200 | [diff] [blame] | 53 | "eslintfix": "npm run safe_bazelisk run polygerrit-ui/app:lint_bin -- -- --fix $(pwd)/polygerrit-ui/app", |
Frank Borden | ccb9ef7 | 2023-02-07 18:11:38 +0100 | [diff] [blame] | 54 | "litlint": "npm run safe_bazelisk run polygerrit-ui/app:lit_analysis", |
paladox | 9991611 | 2024-04-22 15:03:28 +0100 | [diff] [blame] | 55 | "lint": "eslint -c polygerrit-ui/app/.eslintrc.js --ignore-path polygerrit-ui/app/.eslintignore polygerrit-ui/app", |
| 56 | "gjf": "./tools/run_gjf.sh" |
Ole Rehmsen | 66c6e54 | 2019-05-14 17:57:41 +0200 | [diff] [blame] | 57 | }, |
| 58 | "repository": { |
| 59 | "type": "git", |
| 60 | "url": "https://gerrit.googlesource.com/gerrit" |
| 61 | }, |
Chris Poucet | 2573d31 | 2021-08-31 23:32:46 +0000 | [diff] [blame] | 62 | "resolutions": { |
Milutin Kristofic | 7644f3e | 2024-04-15 21:00:16 +0200 | [diff] [blame] | 63 | "eslint": "^8.57.0", |
Kamil Musin | ae515ea | 2023-09-21 15:14:34 +0200 | [diff] [blame] | 64 | "@typescript-eslint/eslint-plugin": "^5.62.0", |
| 65 | "@typescript-eslint/parser": "^5.62.0" |
Chris Poucet | 2573d31 | 2021-08-31 23:32:46 +0000 | [diff] [blame] | 66 | }, |
Ole Rehmsen | 66c6e54 | 2019-05-14 17:57:41 +0200 | [diff] [blame] | 67 | "author": "", |
| 68 | "license": "Apache-2.0" |
Kamil Musin | ae515ea | 2023-09-21 15:14:34 +0200 | [diff] [blame] | 69 | } |