blob: ae1bb2f4149693b0df4e2cc8c2c050ca7c9eefce [file] [log] [blame]
{
"name": "gerrit",
"version": "3.1.0-SNAPSHOT",
"description": "Gerrit Code Review",
"dependencies": {
"@bazel/concatjs": "^5.5.0",
"@bazel/rollup": "^5.5.0",
"@bazel/terser": "^5.5.0",
"@bazel/typescript": "^5.5.0"
},
"devDependencies": {
"@koa/cors": "^3.3.0",
"@types/page": "^1.11.5",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@web/dev-server": "^0.1.33",
"@web/dev-server-esbuild": "^0.3.2",
"eslint": "^8.16.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-html": "^6.2.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.6.4",
"eslint-plugin-lit": "^1.6.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-regex": "^1.9.0",
"gts": "^3.1.0",
"lit-analyzer": "^1.2.1",
"npm-run-all": "^4.1.5",
"prettier": "2.6.2",
"rollup": "^2.45.2",
"terser": "^5.6.1",
"ts-lit-plugin": "^1.2.1",
"typescript": "^4.7.2"
},
"scripts": {
"setup": "yarn && yarn --cwd=polygerrit-ui && yarn --cwd=polygerrit-ui/app",
"clean": "git clean -fdx && bazel clean --expunge",
"compile:local": "tsc --project ./polygerrit-ui/app/tsconfig.json",
"compile:watch": "npm run compile:local -- --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"
},
"repository": {
"type": "git",
"url": "https://gerrit.googlesource.com/gerrit"
},
"resolutions": {
"eslint": "^8.16.0",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0"
},
"author": "",
"license": "Apache-2.0"
}