summaryrefslogtreecommitdiffstats
path: root/package.json
blob: 5b9046d6c42a42e56a96ef86d9f9b7bf6d278ad6 (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
{
  "name": "gerrit",
  "version": "3.1.0-SNAPSHOT",
  "description": "Gerrit Code Review",
  "dependencies": {},
  "devDependencies": {
    "@bazel/rollup": "^1.1.0",
    "@bazel/typescript": "^1.0.1",
    "eslint": "^6.6.0",
    "eslint-config-google": "^0.13.0",
    "eslint-plugin-html": "^6.0.0",
    "eslint-plugin-import": "^2.20.1",
    "eslint-plugin-jsdoc": "^19.2.0",
    "eslint-plugin-prettier": "^3.1.3",
    "polymer-cli": "^1.9.11",
    "prettier": "2.0.5",
    "typescript": "^3.7.4",
    "web-component-tester": "^6.5.1"
  },
  "scripts": {
    "clean": "git clean -fdx && bazel clean --expunge",
    "start": "polygerrit-ui/run-server.sh",
    "test": "WCT_HEADLESS_MODE=1 WCT_ARGS='--verbose -l chrome' ./polygerrit-ui/app/run_test.sh",
    "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",
    "polylint": "npm run safe_bazelisk test polygerrit-ui/app:polylint_test"
  },
  "repository": {
    "type": "git",
    "url": "https://gerrit.googlesource.com/gerrit"
  },
  "author": "",
  "license": "Apache-2.0"
}