2016-06-15 21:37:52 +03:00
|
|
|
{
|
|
|
|
"name": "lighthouse",
|
2017-04-22 22:07:26 +03:00
|
|
|
"version": "2.0.0-alpha.1",
|
2016-06-15 21:37:52 +03:00
|
|
|
"description": "Lighthouse",
|
2016-07-11 15:36:50 +03:00
|
|
|
"main": "./lighthouse-core/index.js",
|
2016-09-21 03:09:05 +03:00
|
|
|
"bin": {
|
|
|
|
"lighthouse": "./lighthouse-cli/index.js",
|
2016-11-03 23:32:42 +03:00
|
|
|
"chrome-debug": "./lighthouse-cli/manual-chrome-launcher.js"
|
2016-09-21 03:09:05 +03:00
|
|
|
},
|
2016-06-15 21:37:52 +03:00
|
|
|
"engines": {
|
2017-01-25 02:39:47 +03:00
|
|
|
"node": ">=6"
|
2016-06-15 21:37:52 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
2017-04-26 22:41:01 +03:00
|
|
|
"install-all": "yarn install-cli && yarn install-extension && yarn install-viewer",
|
2017-04-22 20:51:06 +03:00
|
|
|
"install-cli": "cd ./lighthouse-cli && yarn install && yarn build",
|
|
|
|
"install-extension": "cd ./lighthouse-extension && yarn install",
|
|
|
|
"install-viewer": "cd ./lighthouse-viewer && yarn install",
|
2017-04-26 22:41:01 +03:00
|
|
|
"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",
|
2017-04-08 02:06:18 +03:00
|
|
|
"clean": "rimraf *.report.html *.report.dom.html *.report.json *.screenshots.html *.devtoolslog.json *.trace.json || true",
|
2016-12-14 03:49:28 +03:00
|
|
|
"lint": "[ \"$CI\" = true ] && eslint --quiet -f codeframe . || eslint .",
|
2017-04-04 00:17:46 +03:00
|
|
|
"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",
|
2017-04-26 22:41:01 +03:00
|
|
|
"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",
|
2017-03-04 03:57:03 +03:00
|
|
|
"start": "gulp && node ./lighthouse-cli/index.js",
|
2017-04-26 22:41:01 +03:00
|
|
|
"test": "yarn lint --silent && gulp && yarn unit && yarn closure",
|
2017-01-25 07:49:40 +03:00
|
|
|
"core-unit": "bash lighthouse-core/scripts/run-mocha.sh --core",
|
|
|
|
"cli-unit": "bash lighthouse-core/scripts/run-mocha.sh --cli",
|
|
|
|
"viewer-unit": "bash lighthouse-core/scripts/run-mocha.sh --viewer",
|
|
|
|
"unit": "bash lighthouse-core/scripts/run-mocha.sh --default",
|
|
|
|
"closure": "cd lighthouse-core && node closure/closure-type-checking.js",
|
2017-04-14 04:52:25 +03:00
|
|
|
"devtools": "bash lighthouse-core/scripts/roll-to-devtools.sh",
|
2017-01-25 07:49:40 +03:00
|
|
|
"watch": "bash lighthouse-core/scripts/run-mocha.sh --watch",
|
|
|
|
"chrome": "node ./lighthouse-cli/manual-chrome-launcher.js",
|
2017-04-26 22:41:01 +03:00
|
|
|
"fast": "yarn start -- --disable-device-emulation --disable-cpu-throttling --disable-network-throttling",
|
2017-01-25 02:39:47 +03:00
|
|
|
"smokehouse": "node lighthouse-cli/test/smokehouse/smokehouse.js",
|
2016-12-07 04:16:50 +03:00
|
|
|
"deploy-viewer": "cd lighthouse-viewer && gulp deploy"
|
2016-06-15 21:37:52 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2016-10-19 15:50:52 +03:00
|
|
|
"@types/node": "^6.0.45",
|
2016-10-01 03:59:29 +03:00
|
|
|
"babel-core": "^6.16.0",
|
2016-07-25 23:12:36 +03:00
|
|
|
"coveralls": "^2.11.9",
|
2016-12-14 03:49:28 +03:00
|
|
|
"eslint": "^3.12.0",
|
|
|
|
"eslint-config-google": "^0.7.1",
|
2017-04-22 00:55:38 +03:00
|
|
|
"google-closure-compiler": "20170409.0.0",
|
2016-10-01 03:59:29 +03:00
|
|
|
"gulp": "^3.9.1",
|
2017-03-04 03:57:03 +03:00
|
|
|
"gulp-concat": "^2.6.1",
|
|
|
|
"gulp-declare": "^0.3.0",
|
|
|
|
"gulp-define-module": "^0.1.5",
|
|
|
|
"gulp-handlebars": "^4.0.0",
|
2016-07-25 23:12:36 +03:00
|
|
|
"gulp-replace": "^0.5.4",
|
|
|
|
"gulp-util": "^3.0.7",
|
2016-06-15 21:37:52 +03:00
|
|
|
"istanbul": "^0.4.3",
|
2017-04-08 02:54:57 +03:00
|
|
|
"jsdom": "^9.12.0",
|
2017-01-31 11:59:52 +03:00
|
|
|
"mocha": "^3.2.0",
|
2016-12-20 02:29:00 +03:00
|
|
|
"zone.js": "^0.7.3"
|
2016-06-15 21:37:52 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2017-04-28 02:17:14 +03:00
|
|
|
"axe-core": "2.2.0",
|
2016-10-01 04:09:42 +03:00
|
|
|
"chrome-devtools-frontend": "1.0.422034",
|
2017-01-24 02:44:03 +03:00
|
|
|
"debug": "2.2.0",
|
2016-07-25 23:12:36 +03:00
|
|
|
"devtools-timeline-model": "1.1.6",
|
|
|
|
"gl-matrix": "2.3.2",
|
2017-01-24 02:44:03 +03:00
|
|
|
"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",
|
2017-04-21 09:52:33 +03:00
|
|
|
"speedline": "1.1.1",
|
2017-03-25 04:11:53 +03:00
|
|
|
"update-notifier": "^2.1.0",
|
2017-01-24 02:44:03 +03:00
|
|
|
"whatwg-url": "4.0.0",
|
|
|
|
"ws": "1.1.1",
|
2017-02-16 03:07:25 +03:00
|
|
|
"yargs": "3.32.0"
|
2016-06-15 21:37:52 +03:00
|
|
|
},
|
2017-02-10 19:46:20 +03:00
|
|
|
"repository": "GoogleChrome/lighthouse",
|
2016-06-15 21:37:52 +03:00
|
|
|
"keywords": [
|
|
|
|
"google",
|
|
|
|
"chrome",
|
|
|
|
"devtools"
|
|
|
|
],
|
|
|
|
"author": "The Chromium Authors",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"bugs": {
|
2017-02-10 19:46:20 +03:00
|
|
|
"url": "https://github.com/GoogleChrome/lighthouse/issues"
|
2016-06-15 21:37:52 +03:00
|
|
|
},
|
2017-02-10 19:46:20 +03:00
|
|
|
"homepage": "https://github.com/GoogleChrome/lighthouse#readme"
|
2016-06-15 21:37:52 +03:00
|
|
|
}
|