blob: 136b73b0f81754fb0204608791fe727efcf23856 [file] [log] [blame]
Ole Rehmsen66c6e542019-05-14 17:57:41 +02001{
2 "name": "gerrit",
Paladox none0bb39c92023-05-21 14:16:40 +00003 "version": "3.9.0-SNAPSHOT",
Ole Rehmsen66c6e542019-05-14 17:57:41 +02004 "description": "Gerrit Code Review",
Dmitrii Filippov611185a2020-10-23 18:15:49 +02005 "dependencies": {
Ben Rohlfsd42c5252023-06-13 11:58:42 +02006 "@bazel/concatjs": "^5.8.1",
7 "@bazel/rollup": "^5.8.1",
8 "@bazel/terser": "^5.8.1",
Kamil Musinae515ea2023-09-21 15:14:34 +02009 "@bazel/typescript": "^5.8.1",
10 "@typescript-eslint/parser": "^5.62.0"
Dmitrii Filippov611185a2020-10-23 18:15:49 +020011 },
Ole Rehmsen66c6e542019-05-14 17:57:41 +020012 "devDependencies": {
Antoine Musso1c2bc472024-06-19 17:23:11 +020013 "@koa/cors": "^5.0.0",
Milutin Kristofic6f304e92024-01-03 20:16:18 +010014 "@types/page": "^1.11.9",
Kamil Musinae515ea2023-09-21 15:14:34 +020015 "@typescript-eslint/eslint-plugin": "^5.62.0",
Paladox none77bb42d2023-05-21 16:01:58 +000016 "@web/dev-server": "^0.1.38",
17 "@web/dev-server-esbuild": "^0.3.6",
Milutin Kristofic7644f3e2024-04-15 21:00:16 +020018 "eslint": "^8.57.0",
Dmitrii Filippov624a4762020-12-22 11:23:59 +010019 "eslint-config-google": "^0.14.0",
Paladox noneeb314a42023-05-26 18:57:17 +000020 "eslint-plugin-html": "^7.1.0",
Milutin Kristofic6f304e92024-01-03 20:16:18 +010021 "eslint-plugin-import": "^2.29.1",
Paladox noneeb314a42023-05-26 18:57:17 +000022 "eslint-plugin-jsdoc": "^44.2.7",
Kamil Musind4dd7c02024-07-31 16:42:01 +020023 "eslint-plugin-lit": "^1.14.0",
Dmitrii Filippov624a4762020-12-22 11:23:59 +010024 "eslint-plugin-node": "^11.1.0",
Paladox noneeb314a42023-05-26 18:57:17 +000025 "eslint-plugin-prettier": "^4.2.1",
26 "eslint-plugin-regex": "^1.10.0",
Ben Rohlfsd42c5252023-06-13 11:58:42 +020027 "gts": "^3.1.1",
Ben Rohlfsece23f92021-09-30 14:58:37 +020028 "lit-analyzer": "^1.2.1",
Chris Poucetf77ddab2021-11-19 20:33:18 +010029 "npm-run-all": "^4.1.5",
Ben Rohlfsd42c5252023-06-13 11:58:42 +020030 "prettier": "^2.8.8",
31 "rollup": "^2.79.1",
32 "terser": "~5.8.0",
Ben Rohlfsece23f92021-09-30 14:58:37 +020033 "ts-lit-plugin": "^1.2.1",
Ben Rohlfsd42c5252023-06-13 11:58:42 +020034 "typescript": "^4.9.5"
Ole Rehmsen66c6e542019-05-14 17:57:41 +020035 },
36 "scripts": {
Frank Borden9dd4f602022-10-12 11:22:15 +020037 "setup": "yarn && yarn --cwd=polygerrit-ui && yarn --cwd=polygerrit-ui/app",
Paladox nonef3965462020-02-14 13:08:33 +000038 "clean": "git clean -fdx && bazel clean --expunge",
Frank Bordenccb9ef72023-02-07 18:11:38 +010039 "compile": "tsc --project ./polygerrit-ui/app/tsconfig.json",
40 "compile:watch": "npm run compile -- --preserveWatchOutput --watch",
Frank Borden72e57b32022-08-17 16:24:35 +020041 "start": "run-p -rl compile:watch start:server",
42 "start:server": "web-dev-server",
Frank Bordene6e44302022-09-08 13:53:08 +020043 "test": "yarn --cwd=polygerrit-ui test",
Frank Bordena63de0e2022-09-14 14:52:11 +020044 "test:screenshot": "yarn --cwd=polygerrit-ui test:screenshot",
45 "test:screenshot-update": "yarn --cwd=polygerrit-ui test:screenshot-update",
Frank Bordenb9d2d532022-11-10 15:27:58 +010046 "test:browsers": "yarn --cwd=polygerrit-ui test:browsers",
Frank Borden73a2de52022-09-09 13:32:07 +020047 "test:coverage": "yarn --cwd=polygerrit-ui test:coverage",
Frank Bordene6e44302022-09-08 13:53:08 +020048 "test:watch": "yarn --cwd=polygerrit-ui test:watch",
49 "test:single": "yarn --cwd=polygerrit-ui test:single",
Frank Borden73a2de52022-09-09 13:32:07 +020050 "test:single:coverage": "yarn --cwd=polygerrit-ui test:single:coverage",
Dmitrii Filippov3d7ad552020-03-26 12:01:27 +010051 "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 Filippov1c4b3f32020-04-01 20:58:40 +020053 "eslintfix": "npm run safe_bazelisk run polygerrit-ui/app:lint_bin -- -- --fix $(pwd)/polygerrit-ui/app",
Frank Bordenccb9ef72023-02-07 18:11:38 +010054 "litlint": "npm run safe_bazelisk run polygerrit-ui/app:lit_analysis",
paladox99916112024-04-22 15:03:28 +010055 "lint": "eslint -c polygerrit-ui/app/.eslintrc.js --ignore-path polygerrit-ui/app/.eslintignore polygerrit-ui/app",
56 "gjf": "./tools/run_gjf.sh"
Ole Rehmsen66c6e542019-05-14 17:57:41 +020057 },
58 "repository": {
59 "type": "git",
60 "url": "https://gerrit.googlesource.com/gerrit"
61 },
Chris Poucet2573d312021-08-31 23:32:46 +000062 "resolutions": {
Milutin Kristofic7644f3e2024-04-15 21:00:16 +020063 "eslint": "^8.57.0",
Kamil Musinae515ea2023-09-21 15:14:34 +020064 "@typescript-eslint/eslint-plugin": "^5.62.0",
65 "@typescript-eslint/parser": "^5.62.0"
Chris Poucet2573d312021-08-31 23:32:46 +000066 },
Ole Rehmsen66c6e542019-05-14 17:57:41 +020067 "author": "",
68 "license": "Apache-2.0"
Kamil Musinae515ea2023-09-21 15:14:34 +020069}