summaryrefslogtreecommitdiffstats
path: root/package.json
blob: bfbf0c414bfa5f9803c6c53290176e50e7d1a61c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
  "name": "gerrit",
  "version": "3.9.0-SNAPSHOT",
  "description": "Gerrit Code Review",
  "dependencies": {
    "@bazel/concatjs": "^5.8.1",
    "@bazel/rollup": "^5.8.1",
    "@bazel/terser": "^5.8.1",
    "@bazel/typescript": "^5.8.1",
    "@typescript-eslint/parser": "^5.62.0"
  },
  "devDependencies": {
    "@koa/cors": "^3.4.3",
    "@types/page": "^1.11.9",
    "@typescript-eslint/eslint-plugin": "^5.62.0",
    "@web/dev-server": "^0.1.38",
    "@web/dev-server-esbuild": "^0.3.6",
    "eslint": "^8.56.0",
    "eslint-config-google": "^0.14.0",
    "eslint-plugin-html": "^7.1.0",
    "eslint-plugin-import": "^2.29.1",
    "eslint-plugin-jsdoc": "^44.2.7",
    "eslint-plugin-lit": "^1.11.0",
    "eslint-plugin-node": "^11.1.0",
    "eslint-plugin-prettier": "^4.2.1",
    "eslint-plugin-regex": "^1.10.0",
    "gts": "^3.1.1",
    "lit-analyzer": "^1.2.1",
    "npm-run-all": "^4.1.5",
    "prettier": "^2.8.8",
    "rollup": "^2.79.1",
    "terser": "~5.8.0",
    "ts-lit-plugin": "^1.2.1",
    "typescript": "^4.9.5"
  },
  "scripts": {
    "setup": "yarn && yarn --cwd=polygerrit-ui && yarn --cwd=polygerrit-ui/app",
    "clean": "git clean -fdx && bazel clean --expunge",
    "compile": "tsc --project ./polygerrit-ui/app/tsconfig.json",
    "compile:watch": "npm run compile -- --preserveWatchOutput --watch",
    "start": "run-p -rl compile:watch start:server",
    "start:server": "web-dev-server",
    "test": "yarn --cwd=polygerrit-ui test",
    "test:screenshot": "yarn --cwd=polygerrit-ui test:screenshot",
    "test:screenshot-update": "yarn --cwd=polygerrit-ui test:screenshot-update",
    "test:browsers": "yarn --cwd=polygerrit-ui test:browsers",
    "test:coverage": "yarn --cwd=polygerrit-ui test:coverage",
    "test:watch": "yarn --cwd=polygerrit-ui test:watch",
    "test:single": "yarn --cwd=polygerrit-ui test:single",
    "test:single:coverage": "yarn --cwd=polygerrit-ui test:single:coverage",
    "safe_bazelisk": "if which bazelisk >/dev/null; then bazel_bin=bazelisk; else bazel_bin=bazel; fi && $bazel_bin",
    "eslint": "npm run safe_bazelisk test polygerrit-ui/app:lint_test",
    "eslintfix": "npm run safe_bazelisk run polygerrit-ui/app:lint_bin -- -- --fix $(pwd)/polygerrit-ui/app",
    "litlint": "npm run safe_bazelisk run polygerrit-ui/app:lit_analysis",
    "lint": "eslint -c polygerrit-ui/app/.eslintrc.js --ignore-path polygerrit-ui/app/.eslintignore polygerrit-ui/app"
  },
  "repository": {
    "type": "git",
    "url": "https://gerrit.googlesource.com/gerrit"
  },
  "resolutions": {
    "eslint": "^8.49.0",
    "@typescript-eslint/eslint-plugin": "^5.62.0",
    "@typescript-eslint/parser": "^5.62.0"
  },
  "author": "",
  "license": "Apache-2.0"
}