2014-03-24 20:23:22 +04:00
|
|
|
{
|
|
|
|
"name": "chromestatus-dashboard",
|
2016-07-08 22:04:57 +03:00
|
|
|
"description": "Chrome platform status - chromestatus.com",
|
|
|
|
"homepage": "https://www.chromestatus.com",
|
2014-04-03 22:33:36 +04:00
|
|
|
"private": true,
|
2022-10-25 17:12:23 +03:00
|
|
|
"type": "module",
|
2016-07-08 22:04:57 +03:00
|
|
|
"engines": {
|
2022-10-25 17:12:23 +03:00
|
|
|
"node": ">=18.0.0"
|
2016-07-08 22:04:57 +03:00
|
|
|
},
|
2015-11-17 20:11:51 +03:00
|
|
|
"scripts": {
|
2022-11-08 00:00:51 +03:00
|
|
|
"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",
|
2022-06-28 18:12:44 +03:00
|
|
|
"deps": "source cs-env/bin/activate; pip install -r requirements.txt --upgrade; pip install -r requirements.dev.txt --upgrade",
|
2022-06-11 00:56:40 +03:00
|
|
|
"dev-deps": "echo 'dev-deps is no longer needed'",
|
2022-11-08 00:00:51 +03:00
|
|
|
"do-tests": "source cs-env/bin/activate; curl -X POST 'http://localhost:15606/reset' && python3.10 -m unittest discover -p '*_test.py' -b",
|
2022-02-16 00:31:27 +03:00
|
|
|
"start-emulator-persist": "gcloud beta emulators datastore start --host-port=:15606 --consistency=1.0",
|
2021-08-28 23:42:43 +03:00
|
|
|
"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",
|
2022-09-12 20:52:33 +03:00
|
|
|
"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-11-08 00:00:51 +03:00
|
|
|
"stop": "killall cs-env/bin/python3.10",
|
2021-11-10 05:00:07 +03:00
|
|
|
"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",
|
2022-10-18 00:01:12 +03:00
|
|
|
"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",
|
2021-09-23 22:06:20 +03:00
|
|
|
"do-coverage": "coverage3 erase && coverage3 run -m unittest discover -p '*_test.py' -b && coverage3 html",
|
2022-06-28 18:12:44 +03:00
|
|
|
"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",
|
2022-11-08 00:00:51 +03:00
|
|
|
"view-coverage": "pushd htmlcov/; python3.10 -m http.server 8080; popd",
|
2022-10-25 23:02:53 +03:00
|
|
|
"mypy": "source cs-env/bin/activate; mypy --ignore-missing-imports --exclude cs-env/ --exclude appengine_config.py .",
|
2022-10-18 00:01:12 +03:00
|
|
|
"lint": "gulp lint-fix && lit-analyzer \"client-src/elements/chromedash-!(featurelist)*.js\"",
|
2022-10-14 16:36:21 +03:00
|
|
|
"presubmit": "npm test && npm run webtest && npm run lint && npm run mypy",
|
2022-10-17 23:09:18 +03:00
|
|
|
"pylint": "pylint --output-format=parseable *py api/*py framework/*py internals/*py pages/*py",
|
2022-07-19 20:36:05 +03:00
|
|
|
"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
|
|
|
},
|
2016-07-08 22:04:57 +03:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/GoogleChrome/chromium-dashboard"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/GoogleChrome/chromium-dashboard/issues"
|
|
|
|
},
|
2014-03-24 20:23:22 +04:00
|
|
|
"devDependencies": {
|
2023-02-23 21:29:17 +03:00
|
|
|
"@babel/core": "^7.21.0",
|
2022-10-25 17:12:23 +03:00
|
|
|
"@babel/eslint-parser": "^7.19.1",
|
|
|
|
"@babel/eslint-plugin": "^7.19.1",
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
2022-01-11 23:23:28 +03:00
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
2022-11-07 23:59:29 +03:00
|
|
|
"@babel/preset-env": "^7.20.2",
|
2023-02-23 21:30:29 +03:00
|
|
|
"@babel/register": "^7.21.0",
|
2022-11-15 21:35:11 +03:00
|
|
|
"@open-wc/testing": "^3.1.7",
|
2022-12-06 21:34:46 +03:00
|
|
|
"@rollup/plugin-babel": "^6.0.3",
|
2022-11-01 02:35:07 +03:00
|
|
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
2023-03-08 21:20:47 +03:00
|
|
|
"@shoelace-style/shoelace": "^2.2.0",
|
2023-03-07 21:44:32 +03:00
|
|
|
"@web/test-runner": "^0.15.1",
|
2022-10-25 17:12:23 +03:00
|
|
|
"@web/test-runner-playwright": "^0.9.0",
|
2023-01-24 22:45:06 +03:00
|
|
|
"acorn": ">=8.8.2",
|
2022-02-14 23:58:04 +03:00
|
|
|
"color-string": ">=1.9.0",
|
2022-10-25 17:12:23 +03:00
|
|
|
"del": "^7.0.0",
|
2022-02-22 01:41:53 +03:00
|
|
|
"dot-prop": ">=7.2.0",
|
2023-03-07 21:45:31 +03:00
|
|
|
"eslint": "^8.35.0",
|
2022-01-25 00:10:43 +03:00
|
|
|
"eslint-config-google": "^0.14.0",
|
2022-02-14 23:57:47 +03:00
|
|
|
"glob-parent": ">=6.0.2",
|
2022-10-25 17:12:23 +03:00
|
|
|
"gulp": "^4.0.2",
|
2022-02-07 23:57:10 +03:00
|
|
|
"gulp-autoprefixer": "^8.0.0",
|
2019-11-12 01:32:32 +03:00
|
|
|
"gulp-babel": "^8.0.0",
|
2022-04-18 21:57:57 +03:00
|
|
|
"gulp-concat": "^2.6.1",
|
2022-01-17 23:41:08 +03:00
|
|
|
"gulp-eslint": "^6.0.0",
|
2019-07-02 00:28:54 +03:00
|
|
|
"gulp-eslint-if-fixed": "^1.0.0",
|
2016-07-21 23:50:22 +03:00
|
|
|
"gulp-license": "^1.1.0",
|
2022-02-01 00:13:50 +03:00
|
|
|
"gulp-rename": "^2.0.0",
|
2022-10-25 17:12:23 +03:00
|
|
|
"gulp-sass": "^5.1.0",
|
2022-01-14 01:06:50 +03:00
|
|
|
"gulp-uglify-es": "^3.0.0",
|
2022-08-22 23:37:23 +03:00
|
|
|
"ini": ">=3.0.1",
|
2020-04-07 01:34:03 +03:00
|
|
|
"kind-of": ">=6.0.3",
|
2022-11-08 21:06:25 +03:00
|
|
|
"lit-analyzer": "^1.2.1",
|
2021-05-13 00:54:10 +03:00
|
|
|
"lodash": ">=4.17.21",
|
2020-02-19 01:29:31 +03:00
|
|
|
"lodash.template": ">=4.5.0",
|
2023-02-14 04:58:13 +03:00
|
|
|
"minimist": ">=1.2.8",
|
2021-08-28 23:42:43 +03:00
|
|
|
"path-parse": ">=1.0.7",
|
2022-11-29 02:32:54 +03:00
|
|
|
"regenerator-runtime": "^0.13.11",
|
2023-03-07 21:45:00 +03:00
|
|
|
"rollup": "^3.18.0",
|
2022-10-25 17:12:23 +03:00
|
|
|
"rollup-plugin-babel-minify": "^10.0.0",
|
2022-12-20 03:54:29 +03:00
|
|
|
"sinon": "^15.0.1",
|
2022-12-12 23:13:52 +03:00
|
|
|
"tar": ">=6.1.13",
|
2022-08-30 19:59:56 +03:00
|
|
|
"trim-newlines": ">=4.0.2"
|
2018-06-05 00:56:45 +03:00
|
|
|
},
|
2019-11-12 01:32:32 +03:00
|
|
|
"dependencies": {
|
2020-11-06 22:14:44 +03:00
|
|
|
"@polymer/iron-collapse": "^3.0.1",
|
2019-11-12 01:32:32 +03:00
|
|
|
"@polymer/iron-icon": "^3.0.1",
|
|
|
|
"@polymer/iron-iconset-svg": "^3.0.1",
|
2022-02-01 00:35:05 +03:00
|
|
|
"lit": "^2",
|
2022-11-15 21:24:18 +03:00
|
|
|
"node-fetch": ">=3.3.0",
|
2022-07-27 07:09:48 +03:00
|
|
|
"page": "^1.11.6",
|
2023-02-23 21:29:44 +03:00
|
|
|
"sass": ">=1.58.3",
|
2022-04-12 20:43:40 +03:00
|
|
|
"urijs": ">=1.19.11",
|
2022-08-08 23:26:11 +03:00
|
|
|
"yargs-parser": ">=21.1.1"
|
2022-10-25 17:12:23 +03:00
|
|
|
},
|
|
|
|
"overrides": {
|
|
|
|
"glob-parent@<5.1.2": ">=5.1.2"
|
2019-11-12 01:32:32 +03:00
|
|
|
}
|
2021-06-03 04:12:35 +03:00
|
|
|
}
|