lighthouse/package.json

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

{
"name": "lighthouse",
2019-04-09 04:15:40 +03:00
"version": "4.3.0",
"description": "Lighthouse",
2016-07-11 15:36:50 +03:00
"main": "./lighthouse-core/index.js",
"bin": {
"lighthouse": "./lighthouse-cli/index.js",
"chrome-debug": "./lighthouse-core/scripts/manual-chrome-launcher.js"
},
"engines": {
"node": ">=10.13"
},
"scripts": {
"build-all": "npm-run-posix-or-windows build-all:task",
"build-all:task": "yarn build-extension & yarn build-devtools & yarn build-lr & yarn build-viewer & wait",
"build-all:task:windows": "yarn build-extension && yarn build-devtools && yarn build-lr && yarn build-viewer",
"build-extension": "node ./build/build-extension.js",
"build-devtools": "node ./build/build-bundle.js clients/devtools-entry.js dist/lighthouse-dt-bundle.js && node ./build/build-dt-report-resources.js",
"build-lr": "node ./build/build-bundle.js clients/lightrider-entry.js dist/lighthouse-lr-bundle.js",
"build-viewer": "node ./build/build-viewer.js",
"clean": "rimraf dist proto/scripts/*.json proto/scripts/*_pb2.* proto/scripts/*_pb.* proto/scripts/__pycache__ proto/scripts/*.pyc *.report.html *.report.dom.html *.report.json *.devtoolslog.json *.trace.json || true",
"lint": "[ \"$CI\" = true ] && eslint --quiet -f codeframe . || eslint .",
"smoke": "node lighthouse-cli/test/smokehouse/run-smoke.js",
"debug": "node --inspect-brk ./lighthouse-cli/index.js",
"start": "node ./lighthouse-cli/index.js",
"test": "yarn diff:sample-json && yarn lint --quiet && yarn unit && yarn type-check",
2019-03-09 07:34:52 +03:00
"test-clients": "jest \"clients/\"",
"test-viewer": "yarn unit-viewer && jest lighthouse-viewer/test/viewer-test-pptr.js",
"test-lantern": "bash lighthouse-core/scripts/test-lantern.sh",
"unit-core": "jest \"lighthouse-core/\"",
"unit-cli": "jest \"lighthouse-cli/\"",
"unit-viewer": "jest \"lighthouse-viewer/.*-test.js\"",
"unit": "yarn unit-core && yarn unit-cli && yarn unit-viewer",
"unit:ci": "npm run unit-core -- --runInBand --ci --coverage && npm run unit-cli -- --runInBand --ci --coverage && npm run unit-viewer -- --runInBand --ci --coverage",
"core-unit": "yarn unit-core",
"cli-unit": "yarn unit-cli",
"viewer-unit": "yarn unit-viewer",
"watch": "yarn unit-core --watch",
"unit:cicoverage": "nyc --all --hook-run-in-context npm run unit:ci && nyc report --reporter text-lcov > unit-coverage.lcov",
"coverage": "yarn unit:cicoverage && nyc report --reporter html",
"smoke:cicoverage": "nyc npm run smoke && nyc report --reporter text-lcov > smoke-coverage.lcov",
"coverage:smoke": "yarn smoke:cicoverage && nyc report --reporter html",
"coveralls": "cat unit-coverage.lcov | coveralls",
"codecov": "codecov -f unit-coverage.lcov -F unit && codecov -f smoke-coverage.lcov -F smoke",
"devtools": "bash lighthouse-core/scripts/roll-to-devtools.sh",
"compile-devtools": "bash lighthouse-core/scripts/compile-against-devtools.sh",
"chrome": "node lighthouse-core/scripts/manual-chrome-launcher.js",
"fast": "yarn start --disable-device-emulation --throttlingMethod=provided",
"deploy-viewer": "yarn build-viewer --deploy",
"bundlesize": "bundlesize",
"timing-trace": "node lighthouse-core/scripts/generate-timing-trace.js",
"changelog": "conventional-changelog --config ./build/changelog-generator/index.js --infile changelog.md --same-file",
"type-check": "tsc -p . && tsc -p lighthouse-viewer/",
"i18n:checks": "./lighthouse-core/scripts/i18n/assert-strings-collected.sh",
"i18n:collect-strings": "node lighthouse-core/scripts/i18n/collect-strings.js",
"update:sample-artifacts": "node lighthouse-core/scripts/update-report-fixtures.js -G",
"update:sample-json": "yarn i18n:collect-strings && node ./lighthouse-cli -A=./lighthouse-core/test/results/artifacts --throttling-method=devtools --output=json --output-path=./lighthouse-core/test/results/sample_v2.json && node lighthouse-core/scripts/cleanup-LHR-for-diff.js ./lighthouse-core/test/results/sample_v2.json --only-remove-timing && yarn compile-proto && yarn build-proto-roundtrip",
"diff:sample-json": "yarn i18n:checks && bash lighthouse-core/scripts/assert-golden-lhr-unchanged.sh",
"ultradumbBenchmark": "./lighthouse-core/scripts/benchmark.js",
"mixed-content": "./lighthouse-cli/index.js --chrome-flags='--headless' --preset=mixed-content",
"minify-latest-run": "./lighthouse-core/scripts/lantern/minify-trace.js ./latest-run/defaultPass.trace.json ./latest-run/defaultPass.trace.min.json && ./lighthouse-core/scripts/lantern/minify-devtoolslog.js ./latest-run/defaultPass.devtoolslog.json ./latest-run/defaultPass.devtoolslog.min.json",
"compile-proto": "protoc --python_out=./ ./proto/lighthouse-result.proto && mv ./proto/*_pb2.py ./proto/scripts",
"build-proto-roundtrip": "cd proto/scripts && PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION_VERSION=2 python json_roundtrip_via_proto.py"
},
"devDependencies": {
"@firebase/app-types": "0.3.1",
"@firebase/auth-types": "0.3.2",
"@firebase/util": "0.2.1",
"@types/archiver": "^2.1.2",
"@types/babel-core": "^6.25.5",
"@types/browserify": "^12.0.36",
"@types/chrome": "^0.0.60",
"@types/configstore": "^2.1.1",
"@types/cpy": "^5.1.0",
"@types/css-font-loading-module": "^0.0.2",
"@types/esprima": "^4.0.2",
"@types/gh-pages": "^2.0.0",
"@types/google.analytics": "0.0.39",
"@types/inquirer": "^0.0.35",
"@types/intl-messageformat": "^1.3.0",
"@types/jest": "^24.0.9",
"@types/jpeg-js": "^0.3.0",
"@types/lodash.isequal": "^4.5.2",
"@types/make-dir": "^1.0.3",
"@types/node": "*",
"@types/opn": "^3.0.28",
"@types/raven": "^2.5.1",
"@types/semver": "^5.5.0",
"@types/uglify-es": "^3.0.0",
"@types/update-notifier": "^1.0.2",
"@types/ws": "^4.0.1",
"@types/yargs": "^8.0.2",
"angular": "^1.7.4",
"archiver": "^3.0.0",
"babel-core": "^6.26.0",
"babel-plugin-syntax-object-rest-spread": "^6.13.0",
"brfs": "^1.6.1",
"browserify": "^16.2.3",
"bundlesize": "^0.14.4",
"chalk": "^2.4.1",
"codecov": "^3.2.0",
"commitizen": "^2.10.1",
"conventional-changelog-cli": "^1.3.4",
"coveralls": "^3.0.3",
"cpy": "^7.0.1",
"csv-validator": "^0.0.3",
"cz-customizable": "^5.2.0",
"devtools-protocol": "0.0.588129",
"eslint": "^4.19.1",
"eslint-config-google": "^0.9.1",
2019-03-09 07:34:52 +03:00
"esprima": "^4.0.1",
2018-11-02 22:03:26 +03:00
"gh-pages": "^2.0.1",
"glob": "^7.1.3",
"idb-keyval": "2.2.0",
"intl": "^1.2.5",
"isomorphic-fetch": "^2.2.1",
"jest": "^24.3.0",
"jsdom": "^12.2.0",
"make-dir": "^1.3.0",
"npm-run-posix-or-windows": "^2.0.2",
2019-03-11 18:12:32 +03:00
"nyc": "^13.3.0",
"package-json-versionify": "^1.0.4",
"prettier": "^1.14.3",
"pretty-json-stringify": "^0.0.2",
"puppeteer": "^1.10.0",
2018-12-11 00:06:44 +03:00
"typescript": "3.2.2",
"uglify-es": "3.0.15",
"url-search-params": "0.6.1",
"whatwg-fetch": "2.0.1",
"zone.js": "^0.7.3"
},
"dependencies": {
"axe-core": "3.1.2",
2018-09-26 20:36:43 +03:00
"chrome-launcher": "^0.10.5",
"configstore": "^3.1.1",
"cssstyle": "1.2.1",
"details-element-polyfill": "2.2.0",
"http-link-header": "^0.8.0",
"inquirer": "^3.3.0",
"intl-messageformat": "^2.2.0",
"intl-messageformat-parser": "^1.4.0",
"jpeg-js": "0.1.2",
"js-library-detector": "^5.1.0",
"jsonld": "^1.5.0",
"jsonlint-mod": "^1.7.4",
"lighthouse-logger": "^1.2.0",
"lodash.isequal": "^4.5.0",
"lookup-closest-locale": "6.0.4",
"metaviewport-parser": "0.2.0",
2017-01-24 02:44:03 +03:00
"mkdirp": "0.5.1",
"opn": "4.0.2",
"parse-cache-control": "1.0.1",
"raven": "^2.2.1",
2017-07-05 20:18:21 +03:00
"rimraf": "^2.6.1",
"robots-parser": "^2.0.1",
"semver": "^5.3.0",
"speedline-core": "1.4.2",
"update-notifier": "^2.5.0",
2017-11-30 03:57:53 +03:00
"ws": "3.3.2",
"yargs": "3.32.0",
"yargs-parser": "7.0.0"
},
"resolutions": {
"chrome-launcher/@types/node": "*"
},
"repository": "GoogleChrome/lighthouse",
"keywords": [
"google",
"chrome",
"devtools"
],
"author": "The Chromium Authors",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/GoogleChrome/lighthouse/issues"
},
"bundlesize": [
{
"path": "./dist/extension/scripts/lighthouse-ext-bundle.js",
"threshold": "520 Kb"
},
{
"path": "./dist/viewer/src/viewer.js",
"threshold": "70 Kb"
}
],
"nyc": {
"reporter": [
"text-summary"
],
"tempDirectory": "./coverage",
"include": [
"**/lighthouse-core/**/*.js",
"**/lighthouse-cli/**/*.js",
"**/lighthouse-viewer/**/*.js"
],
"exclude": [
"**/third_party/**",
"**/test/",
"**/scripts/"
]
},
"homepage": "https://github.com/GoogleChrome/lighthouse#readme",
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
},
"cz-customizable": {
"config": "./.cz-config.js"
}
}
}