chromium-dashboard/package.json

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

{
"name": "chromestatus-dashboard",
"description": "Chrome platform status - chromestatus.com",
"homepage": "https://www.chromestatus.com",
"private": true,
"engines": {
"node": ">=12.0.0"
},
2015-11-17 20:11:51 +03:00
"scripts": {
2022-07-01 03:45:02 +03:00
"setup": "npm ci; python3.9 -m venv cs-env; npm run deps",
"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 -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",
2022-07-01 03:45:02 +03:00
"stop": "killall cs-env/bin/python3.9",
"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 -m http.server 8080; popd",
"mypy": "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.19.3",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.19.4",
"@babel/register": "^7.18.9",
"@open-wc/testing": "^3.1.6",
"@shoelace-style/shoelace": "^2.0.0-beta.83",
"@web/test-runner": "^0.14.0",
"@web/test-runner-playwright": "^0.8.10",
"acorn": ">=8.8.1",
"babel-eslint": "^10.0.3",
"color-string": ">=1.9.0",
2018-06-05 00:56:45 +03:00
"del": "^3.0.0",
"dot-prop": ">=7.2.0",
2019-01-10 19:25:31 +03:00
"eslint": "^5.2.0",
"eslint-config-google": "^0.14.0",
"glob-parent": ">=6.0.2",
2018-06-05 00:56:45 +03:00
"gulp": "^4.0.0",
"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-load-plugins": "^2.0.8",
"gulp-minify-html": "^1.0.6",
"gulp-rename": "^2.0.0",
2018-06-05 00:56:45 +03:00
"gulp-sass": "^4.0.1",
"gulp-uglify-es": "^3.0.0",
"gulp-util": "^3.0.7",
2015-11-01 01:52:56 +03:00
"http2-push-manifest": "^1.0.0",
"ini": ">=3.0.1",
"kind-of": ">=6.0.3",
"lit-analyzer": "^1.1.9",
"lodash": ">=4.17.21",
"lodash.template": ">=4.5.0",
"minimist": ">=1.2.7",
"path-parse": ">=1.0.7",
"regenerator-runtime": "^0.13.10",
"rollup": "^1.32.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-babel-minify": "^9.1.0",
"rollup-plugin-lit-css": "^2.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"sinon": "^14.0.1",
2018-03-23 21:10:38 +03:00
"sw-precache": "^5.2.1",
"sw-toolbox": "^3.6.0",
"tar": ">=3.2.3",
"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.2.10",
"node-sass": ">=7.0.3",
"page": "^1.11.6",
"urijs": ">=1.19.11",
"yargs-parser": ">=21.1.1"
}
2021-06-03 04:12:35 +03:00
}