| { | |
| "name": "gerrit", | |
| "version": "3.1.0-SNAPSHOT", | |
| "description": "Gerrit Code Review", | |
| "dependencies": {}, | |
| "devDependencies": { | |
| "@bazel/rollup": "^2.0.0", | |
| "@bazel/terser": "^2.0.0", | |
| "@bazel/typescript": "^2.0.0", | |
| "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", | |
| "gts": "^2.0.2", | |
| "polymer-cli": "^1.9.11", | |
| "prettier": "2.0.5", | |
| "terser": "^4.8.0", | |
| "typescript": "3.9.5" | |
| }, | |
| "scripts": { | |
| "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": "polygerrit-ui/run-server.sh", | |
| "test": "./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", | |
| "test:debug": "npm run safe_bazelisk run //polygerrit-ui:karma_bin -- -- start $(pwd)/polygerrit-ui/karma.conf.js --browsers ChromeDev --no-single-run --testFiles", | |
| "test:single": "npm run safe_bazelisk run //polygerrit-ui:karma_bin -- -- start $(pwd)/polygerrit-ui/karma.conf.js --testFiles" | |
| }, | |
| "repository": { | |
| "type": "git", | |
| "url": "https://gerrit.googlesource.com/gerrit" | |
| }, | |
| "author": "", | |
| "license": "Apache-2.0" | |
| } |