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,
|
2016-07-08 22:04:57 +03:00
|
|
|
"engines": {
|
2022-08-27 01:30:35 +03:00
|
|
|
"node": ">=12.0.0"
|
2016-07-08 22:04:57 +03:00
|
|
|
},
|
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",
|
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-02-16 00:31:27 +03:00
|
|
|
"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",
|
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-07-01 03:45:02 +03:00
|
|
|
"stop": "killall cs-env/bin/python3.9",
|
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",
|
2021-09-23 22:06:20 +03:00
|
|
|
"view-coverage": "pushd htmlcov/; python3 -m http.server 8080; popd",
|
2022-10-14 16:36:21 +03:00
|
|
|
"mypy": "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": {
|
2022-10-04 00:35:26 +03:00
|
|
|
"@babel/core": "^7.19.3",
|
2019-11-12 01:32:32 +03:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.5.5",
|
2022-01-11 23:23:28 +03:00
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
2022-10-11 19:19:22 +03:00
|
|
|
"@babel/preset-env": "^7.19.4",
|
2022-07-19 22:59:46 +03:00
|
|
|
"@babel/register": "^7.18.9",
|
2022-06-21 00:19:19 +03:00
|
|
|
"@open-wc/testing": "^3.1.6",
|
2022-10-04 00:30:31 +03:00
|
|
|
"@shoelace-style/shoelace": "^2.0.0-beta.83",
|
2022-08-08 23:38:38 +03:00
|
|
|
"@web/test-runner": "^0.14.0",
|
2022-08-08 23:25:15 +03:00
|
|
|
"@web/test-runner-playwright": "^0.8.10",
|
2022-07-26 20:55:17 +03:00
|
|
|
"acorn": ">=8.8.0",
|
2019-11-12 01:32:32 +03:00
|
|
|
"babel-eslint": "^10.0.3",
|
2022-02-14 23:58:04 +03:00
|
|
|
"color-string": ">=1.9.0",
|
2018-06-05 00:56:45 +03:00
|
|
|
"del": "^3.0.0",
|
2022-02-22 01:41:53 +03:00
|
|
|
"dot-prop": ">=7.2.0",
|
2019-01-10 19:25:31 +03:00
|
|
|
"eslint": "^5.2.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",
|
2018-06-05 00:56:45 +03:00
|
|
|
"gulp": "^4.0.0",
|
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-08-30 20:00:21 +03:00
|
|
|
"gulp-load-plugins": "^2.0.8",
|
2016-07-21 23:50:22 +03:00
|
|
|
"gulp-minify-html": "^1.0.6",
|
2022-02-01 00:13:50 +03:00
|
|
|
"gulp-rename": "^2.0.0",
|
2018-06-05 00:56:45 +03:00
|
|
|
"gulp-sass": "^4.0.1",
|
2022-01-14 01:06:50 +03:00
|
|
|
"gulp-uglify-es": "^3.0.0",
|
2016-07-20 22:34:31 +03:00
|
|
|
"gulp-util": "^3.0.7",
|
2015-11-01 01:52:56 +03:00
|
|
|
"http2-push-manifest": "^1.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",
|
2019-11-12 01:32:32 +03:00
|
|
|
"lit-analyzer": "^1.1.9",
|
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",
|
2022-03-24 19:09:16 +03:00
|
|
|
"minimist": ">=1.2.6",
|
2021-08-28 23:42:43 +03:00
|
|
|
"path-parse": ">=1.0.7",
|
2022-10-18 01:39:52 +03:00
|
|
|
"regenerator-runtime": "^0.13.10",
|
2022-06-21 00:18:13 +03:00
|
|
|
"rollup": "^1.32.1",
|
2022-01-11 22:37:33 +03:00
|
|
|
"rollup-plugin-babel": "^4.4.0",
|
2019-11-12 01:32:32 +03:00
|
|
|
"rollup-plugin-babel-minify": "^9.1.0",
|
|
|
|
"rollup-plugin-lit-css": "^2.0.0",
|
|
|
|
"rollup-plugin-node-resolve": "^5.2.0",
|
2022-10-04 00:31:09 +03:00
|
|
|
"sinon": "^14.0.1",
|
2018-03-23 21:10:38 +03:00
|
|
|
"sw-precache": "^5.2.1",
|
2021-06-15 01:23:18 +03:00
|
|
|
"sw-toolbox": "^3.6.0",
|
2021-08-28 23:42:43 +03:00
|
|
|
"tar": ">=3.2.3",
|
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-08-02 02:02:52 +03:00
|
|
|
"node-fetch": ">=3.2.10",
|
2022-09-12 23:43:30 +03:00
|
|
|
"node-sass": ">=7.0.3",
|
2022-07-27 07:09:48 +03:00
|
|
|
"page": "^1.11.6",
|
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"
|
2019-11-12 01:32:32 +03:00
|
|
|
}
|
2021-06-03 04:12:35 +03:00
|
|
|
}
|