143 строки
5.3 KiB
JSON
143 строки
5.3 KiB
JSON
{
|
|
"name": "lighthouse",
|
|
"version": "2.9.1",
|
|
"description": "Lighthouse",
|
|
"main": "./lighthouse-core/index.js",
|
|
"bin": {
|
|
"lighthouse": "./lighthouse-cli/index.js",
|
|
"chrome-debug": "./chrome-launcher/manual-chrome-launcher.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=6"
|
|
},
|
|
"scripts": {
|
|
"install-all": "npm-run-posix-or-windows install-all:task",
|
|
"install-all:task": "yarn & yarn install-extension & yarn install-viewer & wait",
|
|
"install-all:task:windows": "yarn && yarn install-extension && yarn install-viewer",
|
|
"install-extension": "cd ./lighthouse-extension && yarn install",
|
|
"install-viewer": "cd ./lighthouse-viewer && yarn install",
|
|
"build-all": "npm-run-posix-or-windows build-all:task",
|
|
"build-all:task": "yarn build-extension & yarn build-viewer & wait",
|
|
"build-all:task:windows": "yarn build-extension && yarn build-viewer",
|
|
"build-extension": "cd ./lighthouse-extension && yarn build",
|
|
"build-viewer": "cd ./lighthouse-viewer && yarn build",
|
|
"clean": "rimraf *.report.html *.report.dom.html *.report.json *.screenshots.html *.devtoolslog.json *.trace.json || true",
|
|
"lint": "[ \"$CI\" = true ] && eslint --quiet -f codeframe . || eslint .",
|
|
"smoke": "bash lighthouse-cli/test/smokehouse/run-all-tests.sh",
|
|
"coverage": "istanbul cover -x \"**/third_party/**\" _mocha -- $(find */test -name '*-test.js') --reporter progress --report lcovonly",
|
|
"coveralls": "yarn coverage && cat ./coverage/lcov.info | coveralls && ./node_modules/codecov/bin/codecov",
|
|
"debug": "node --inspect-brk ./lighthouse-cli/index.js",
|
|
"start": "node ./lighthouse-cli/index.js",
|
|
"test": "yarn lint --quiet && yarn unit && yarn type-check && yarn closure",
|
|
"unit-core": "bash lighthouse-core/scripts/run-mocha.sh --core",
|
|
"unit-cli": "bash lighthouse-core/scripts/run-mocha.sh --cli",
|
|
"unit-viewer": "bash lighthouse-core/scripts/run-mocha.sh --viewer",
|
|
"unit": "bash lighthouse-core/scripts/run-mocha.sh --default",
|
|
"core-unit": "yarn unit-core",
|
|
"cli-unit": "yarn unit-cli",
|
|
"viewer-unit": "yarn unit-viewer",
|
|
"closure": "cd lighthouse-core && node closure/closure-type-checking.js",
|
|
"devtools": "bash lighthouse-core/scripts/roll-to-devtools.sh",
|
|
"compile-devtools": "bash lighthouse-core/scripts/compile-against-devtools.sh",
|
|
"watch": "bash lighthouse-core/scripts/run-mocha.sh --watch",
|
|
"chrome": "node chrome-launcher/manual-chrome-launcher.js",
|
|
"fast": "yarn start --disable-device-emulation --disable-cpu-throttling --disable-network-throttling",
|
|
"smokehouse": "node lighthouse-cli/test/smokehouse/smokehouse.js",
|
|
"deploy-viewer": "cd lighthouse-viewer && gulp deploy",
|
|
"bundlesize": "bundlesize",
|
|
"plots-smoke": "bash plots/test/smoke.sh",
|
|
"changelog": "conventional-changelog --config ./build/changelog-generator/index.js --infile changelog.md --same-file",
|
|
"type-check": "tsc -p .",
|
|
"mixed-content": "./lighthouse-cli/index.js --chrome-flags='--headless' --config-path=./lighthouse-core/config/mixed-content.js"
|
|
},
|
|
"devDependencies": {
|
|
"@types/configstore": "^2.1.1",
|
|
"@types/inquirer": "^0.0.35",
|
|
"@types/node": "*",
|
|
"@types/opn": "^3.0.28",
|
|
"@types/update-notifier": "^1.0.2",
|
|
"@types/yargs": "^8.0.2",
|
|
"babel-core": "^6.16.0",
|
|
"bundlesize": "^0.14.4",
|
|
"codecov": "^2.2.0",
|
|
"commitizen": "^2.9.6",
|
|
"conventional-changelog-cli": "^1.3.4",
|
|
"coveralls": "^2.11.9",
|
|
"cz-customizable": "^5.2.0",
|
|
"eslint": "^4.8.0",
|
|
"eslint-config-google": "^0.9.1",
|
|
"google-closure-compiler": "^20170521.0.0",
|
|
"gulp": "^3.9.1",
|
|
"gulp-replace": "^0.5.4",
|
|
"gulp-util": "^3.0.7",
|
|
"istanbul": "^0.4.3",
|
|
"jsdom": "^9.12.0",
|
|
"mocha": "^3.2.0",
|
|
"npm-run-posix-or-windows": "^2.0.2",
|
|
"sinon": "^2.3.5",
|
|
"typescript": "^2.6.1",
|
|
"zone.js": "^0.7.3"
|
|
},
|
|
"dependencies": {
|
|
"axe-core": "3.0.0-beta.2",
|
|
"chrome-devtools-frontend": "1.0.422034",
|
|
"chrome-launcher": "^0.10.2",
|
|
"configstore": "^3.1.1",
|
|
"devtools-timeline-model": "1.1.6",
|
|
"esprima": "^4.0.0",
|
|
"http-link-header": "^0.8.0",
|
|
"inquirer": "^3.3.0",
|
|
"jpeg-js": "0.1.2",
|
|
"js-library-detector": "^4.3.1",
|
|
"lighthouse-logger": "^1.0.0",
|
|
"lodash.isequal": "^4.5.0",
|
|
"metaviewport-parser": "0.2.0",
|
|
"mkdirp": "0.5.1",
|
|
"opn": "4.0.2",
|
|
"parse-cache-control": "1.0.1",
|
|
"raven": "^2.2.1",
|
|
"rimraf": "^2.6.1",
|
|
"robots-parser": "^1.0.2",
|
|
"semver": "^5.3.0",
|
|
"speedline": "1.3.0",
|
|
"update-notifier": "^2.1.0",
|
|
"whatwg-url": "^6.3.0",
|
|
"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": "./lighthouse-extension/dist/scripts/lighthouse-background.js",
|
|
"threshold": "400 Kb"
|
|
},
|
|
{
|
|
"path": "./lighthouse-viewer/dist/src/viewer.js",
|
|
"threshold": "60 Kb"
|
|
}
|
|
],
|
|
"homepage": "https://github.com/GoogleChrome/lighthouse#readme",
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-customizable"
|
|
},
|
|
"cz-customizable": {
|
|
"config": "./.cz-config.js"
|
|
}
|
|
}
|
|
}
|