047240b40f
Switching to npm packages requires a new way to define licenses for javascript libraries. This change adds a tool to generate json licenses map and also adds some examples how to define licenses. Change-Id: I80ba0ec5ef7853c517073566dfb34a5caebd5dcb
33 lines
1.1 KiB
JSON
33 lines
1.1 KiB
JSON
{
|
|
"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-jsdoc": "^18.4.3",
|
|
"fried-twinkie": "^0.2.2",
|
|
"polymer-cli": "^1.9.11",
|
|
"typescript": "^3.7.4",
|
|
"web-component-tester": "^6.5.1"
|
|
},
|
|
"scripts": {
|
|
"start": "polygerrit-ui/run-server.sh",
|
|
"test": "WCT_HEADLESS_MODE=1 WCT_ARGS='--verbose -l chrome' ./polygerrit-ui/app/run_test.sh",
|
|
"eslint": "./node_modules/eslint/bin/eslint.js --ext .html,.js polygerrit-ui/app",
|
|
"eslintfix": "npm run eslint -- --fix",
|
|
"test-template": "./polygerrit-ui/app/run_template_test.sh",
|
|
"polylint": "if [[ -z `which bazelisk 2>/dev/null` ]]; then bazel_bin=bazel; else bazel_bin=bazelisk; fi && $bazel_bin test polygerrit-ui/app:polylint_test"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://gerrit.googlesource.com/gerrit"
|
|
},
|
|
"author": "",
|
|
"license": "Apache-2.0"
|
|
}
|