chromium-dashboard/package.json

106 строки
4.9 KiB
JSON
Исходник Обычный вид История

{
"name": "chromestatus-dashboard",
"description": "Chrome platform status - chromestatus.com",
"homepage": "https://www.chromestatus.com",
"private": true,
"type": "module",
"engines": {
"node": ">=18.0.0"
},
2015-11-17 20:11:51 +03:00
"scripts": {
"setup": "npm ci; python3.10 -m venv cs-env; npm run deps",
2022-07-01 03:45:02 +03:00
"clean-setup": "rm -rf node_modules cs-env; npm run setup",
"deps": "source cs-env/bin/activate; pip install -r requirements.txt --upgrade; pip install -r requirements.dev.txt --upgrade",
"dev-deps": "echo 'dev-deps is no longer needed'",
"do-tests": "source cs-env/bin/activate; curl -X POST 'http://localhost:15606/reset' && python3.10 -m unittest discover -p '*_test.py' -b",
"start-emulator-persist": "gcloud beta emulators datastore start --host-port=:15606 --consistency=1.0",
"start-emulator": "gcloud beta emulators datastore start --host-port=:15606 --no-store-on-disk --consistency=1.0",
"stop-emulator": "curl -X POST 'http://localhost:15606/shutdown'",
2022-07-01 03:45:02 +03:00
"build": "gulp",
"watch": "gulp watch",
"start-app": "npm run build && curl --retry 4 http://localhost:15606/ --retry-connrefused && ./scripts/start_server.sh",
"start": "source cs-env/bin/activate; (npm run start-emulator-persist > /dev/null 2>&1 &); npm run start-app; status=$?; npm run stop-emulator; exit $status",
"stop": "killall cs-env/bin/python3.10",
"test": "(npm run start-emulator > /dev/null 2>&1 &); sleep 6; curl --retry 4 http://localhost:15606/ --retry-connrefused; npm run do-tests; status=$?; npm run stop-emulator; exit $status",
"webtest": "web-test-runner \"client-src/**/*_test.js\" --node-resolve --playwright --browsers chromium firefox",
"webtest-coverage": "web-test-runner \"client-src/**/*_test.js\" --node-resolve --playwright --coverage --browsers chromium firefox",
"do-coverage": "coverage3 erase && coverage3 run -m unittest discover -p '*_test.py' -b && coverage3 html",
"coverage": "source cs-env/bin/activate; (npm run start-emulator > /dev/null 2>&1 &); sleep 3; curl --retry 4 http://localhost:15606/ --retry-connrefused; npm run do-coverage; npm run stop-emulator",
"view-coverage": "pushd htmlcov/; python3.10 -m http.server 8080; popd",
"mypy": "source cs-env/bin/activate; mypy --ignore-missing-imports --exclude cs-env/ --exclude appengine_config.py .",
"lint": "gulp lint-fix && lit-analyzer \"client-src/elements/chromedash-!(featurelist)*.js\"",
"presubmit": "npm test && npm run webtest && npm run lint && npm run mypy",
"pylint": "pylint --output-format=parseable *py api/*py framework/*py internals/*py pages/*py",
"staging": "./scripts/deploy_site.sh `git describe --always --abbrev=7 --match 'NOT A TAG' --dirty='-tainted'` cr-status-staging",
"staging-rc": "./scripts/deploy_site.sh rc cr-status-staging",
"deploy": "./scripts/deploy_site.sh `git describe --always --abbrev=7 --match 'NOT A TAG' --dirty='-tainted'`",
"deploy-rc": "./scripts/deploy_site.sh rc"
2015-11-17 20:11:51 +03:00
},
"repository": {
"type": "git",
"url": "https://github.com/GoogleChrome/chromium-dashboard"
},
"bugs": {
"url": "https://github.com/GoogleChrome/chromium-dashboard/issues"
},
"devDependencies": {
"@babel/core": "^7.20.5",
"@babel/eslint-parser": "^7.19.1",
"@babel/eslint-plugin": "^7.19.1",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.20.2",
"@babel/register": "^7.18.9",
"@open-wc/testing": "^3.1.7",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-node-resolve": "^15.0.1",
"@shoelace-style/shoelace": "^2.0.0-beta.86",
"@web/test-runner": "^0.15.0",
"@web/test-runner-playwright": "^0.9.0",
"acorn": ">=8.8.1",
"color-string": ">=1.9.0",
"del": "^7.0.0",
"dot-prop": ">=7.2.0",
"eslint": "^8.29.0",
"eslint-config-google": "^0.14.0",
"glob-parent": ">=6.0.2",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^8.0.0",
"gulp-babel": "^8.0.0",
"gulp-concat": "^2.6.1",
"gulp-eslint": "^6.0.0",
2019-07-02 00:28:54 +03:00
"gulp-eslint-if-fixed": "^1.0.0",
"gulp-license": "^1.1.0",
"gulp-rename": "^2.0.0",
"gulp-sass": "^5.1.0",
"gulp-uglify-es": "^3.0.0",
"ini": ">=3.0.1",
"kind-of": ">=6.0.3",
"lit-analyzer": "^1.2.1",
"lodash": ">=4.17.21",
"lodash.template": ">=4.5.0",
"minimist": ">=1.2.7",
"path-parse": ">=1.0.7",
"regenerator-runtime": "^0.13.11",
"rollup": "^3.7.3",
"rollup-plugin-babel-minify": "^10.0.0",
"sinon": "^15.0.0",
"tar": ">=6.1.13",
"trim-newlines": ">=4.0.2"
2018-06-05 00:56:45 +03:00
},
"dependencies": {
"@polymer/iron-collapse": "^3.0.1",
"@polymer/iron-icon": "^3.0.1",
"@polymer/iron-iconset-svg": "^3.0.1",
"lit": "^2",
"node-fetch": ">=3.3.0",
"sass": ">=1.56.2",
"page": "^1.11.6",
"urijs": ">=1.19.11",
"yargs-parser": ">=21.1.1"
},
"overrides": {
"glob-parent@<5.1.2": ">=5.1.2"
}
2021-06-03 04:12:35 +03:00
}