98 строки
4.1 KiB
JSON
98 строки
4.1 KiB
JSON
{
|
|
"name": "lighthouse",
|
|
"version": "2.0.0-alpha.4",
|
|
"description": "Lighthouse",
|
|
"main": "./lighthouse-core/index.js",
|
|
"bin": {
|
|
"lighthouse": "./lighthouse-cli/index.js",
|
|
"chrome-debug": "./lighthouse-cli/manual-chrome-launcher.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=6"
|
|
},
|
|
"scripts": {
|
|
"install-all": "yarn install-cli && yarn install-extension && yarn install-viewer",
|
|
"install-cli": "cd ./lighthouse-cli && yarn install && yarn build",
|
|
"install-extension": "cd ./lighthouse-extension && yarn install",
|
|
"install-viewer": "cd ./lighthouse-viewer && yarn install",
|
|
"build-all": "gulp && yarn build-cli && yarn build-extension && yarn build-viewer",
|
|
"build-cli": "cd ./lighthouse-cli && yarn build",
|
|
"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/offline-local/run-tests.sh && bash lighthouse-cli/test/smokehouse/perf/run-tests.sh && bash lighthouse-cli/test/smokehouse/dobetterweb/run-tests.sh && bash lighthouse-cli/test/smokehouse/byte-efficiency/run-tests.sh",
|
|
"coverage": "node $(yarn bin)/istanbul cover -x \"**/third_party/**\" _mocha -- $(find */test -name '*-test.js') --timeout 10000 --reporter progress",
|
|
"coveralls": "yarn coverage && cat ./coverage/lcov.info | coveralls",
|
|
"start": "gulp && node ./lighthouse-cli/index.js",
|
|
"test": "yarn lint --silent && gulp && yarn unit && yarn closure && yarn test-formatting",
|
|
"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",
|
|
"test-formatting": "cd lighthouse-cli && ./test/check-formatting.sh && cd ..",
|
|
"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 ./lighthouse-cli/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"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^6.0.45",
|
|
"babel-core": "^6.16.0",
|
|
"coveralls": "^2.11.9",
|
|
"eslint": "^3.12.0",
|
|
"eslint-config-google": "^0.7.1",
|
|
"google-closure-compiler": "20170423.0.0",
|
|
"gulp": "^3.9.1",
|
|
"gulp-concat": "^2.6.1",
|
|
"gulp-declare": "^0.3.0",
|
|
"gulp-define-module": "^0.1.5",
|
|
"gulp-handlebars": "^4.0.0",
|
|
"gulp-replace": "^0.5.4",
|
|
"gulp-util": "^3.0.7",
|
|
"istanbul": "^0.4.3",
|
|
"jsdom": "^9.12.0",
|
|
"mocha": "^3.2.0",
|
|
"zone.js": "^0.7.3"
|
|
},
|
|
"dependencies": {
|
|
"axe-core": "2.2.0",
|
|
"chrome-devtools-frontend": "1.0.422034",
|
|
"debug": "2.2.0",
|
|
"devtools-timeline-model": "1.1.6",
|
|
"gl-matrix": "2.3.2",
|
|
"handlebars": "4.0.5",
|
|
"json-stringify-safe": "5.0.1",
|
|
"marked": "0.3.6",
|
|
"metaviewport-parser": "0.0.1",
|
|
"mkdirp": "0.5.1",
|
|
"opn": "4.0.2",
|
|
"rimraf": "2.2.8",
|
|
"semver": "5.3.0",
|
|
"speedline": "1.2.0",
|
|
"update-notifier": "^2.1.0",
|
|
"whatwg-url": "4.0.0",
|
|
"ws": "1.1.1",
|
|
"yargs": "3.32.0"
|
|
},
|
|
"repository": "GoogleChrome/lighthouse",
|
|
"keywords": [
|
|
"google",
|
|
"chrome",
|
|
"devtools"
|
|
],
|
|
"author": "The Chromium Authors",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/GoogleChrome/lighthouse/issues"
|
|
},
|
|
"homepage": "https://github.com/GoogleChrome/lighthouse#readme"
|
|
}
|