Граф коммитов

78 Коммитов

Автор SHA1 Сообщение Дата
Paul Irish 71520d21bb
Add `chrome-debug` binary to launch the debuggable standalone chrome 2016-09-20 17:09:05 -07:00
Boopathi Rajaa f8ace8b4b0 Naming and other small fixes. Enable travis to use lighthouse launcher 2016-09-15 01:05:31 +02:00
Boopathi Rajaa 324548a82f Run chrome as a part of Lighthouse CLI
+ (Fixes #349)
+ Rebases - https://github.com/GoogleChrome/lighthouse/compare/master...boopathi:launch-chrome-js to use the new CLI and folder structures

Logic:

+ When connection fails, try launching chrome
+ Poll every ~= 500ms to remote debugger port 9222 till a connection
can be established for a fixed number of retries - 10.
+ Attempt running lighthouse again whenever the connection is
successful

Lint fixes and option change - use-some-chrome to select-chrome

use strict for node 4 and 5

Clean up some stuff and add linux and windows - To be verified

Fix some lint

Move all finders to a single file and make it all sync

launch-chrome flag and split run function

Add LICENSE

Runner class to list of functions

linux additional flag and linux throw error for undef env

skip-autolaunch

Fix lint and node 4&5
2016-09-14 04:54:07 +02:00
Brendan Kenny a5bbe2338f 1.1.3 2016-09-06 16:50:06 -07:00
Paul Irish c72a695167
Merge branch 'master' into wardpeet-rename-tests 2016-08-19 20:51:05 -07:00
Paul Irish c8662e3d0c Introduce computedArtifacts (#583)
The difference between classic gatherers and computed artifacts:

* gatherers all speak directly to the browser and collect data. All of them talk to the protocol
* computed artifacts do not talk to the protocol. They take either a trace or networkRecords and generate another artifact that's of value to more than 1 audits. 

https://github.com/GoogleChrome/lighthouse/pull/583
2016-08-19 20:47:31 -07:00
Paul Irish 35e649ad50
mocha tests unfortch can't rely on globbing 2016-08-19 20:45:20 -07:00
Paul Irish 543b422603 Revamp smoketest, include offline & SW test
* Replace pythonsimplehttpserver with a configurable node-based server

### offline & sw details
* use SW logic from from googlechrome.github.io/samples/service-worker/basic , but adapted
* Simpler skipWaiting thanks to dbca5f70c8 (commitcomment-18601764)
* run smoketests on diff ports so sw isn't shared.
* Load offline-ready page twice so we dont have to worry about racing between cache population and lighthouse's gatherer.
* make offline page take longer to load to allow enough time for SW to populate cache
2016-08-19 20:15:25 -07:00
Paul Irish 0269917f96
1.1.2 2016-08-05 23:04:47 -07:00
Paul Irish ed8e056f52
1.1.1 2016-08-04 21:59:08 -07:00
Paul Irish d9a7f84763
1.1.0 2016-08-02 10:24:43 -07:00
Paul Irish 59fdea9dce
Refactor npm scripts for mocha 2016-08-01 17:11:35 -07:00
Paul Irish e8bb926eac
1.0.6 2016-07-28 15:55:42 -04:00
Ward Peeters 1b998a3e40 Moved everything from lighthouse-core to ligthouse 2016-07-26 07:38:23 +02:00
Ward Peeters da09ffb29a Cleanup harmony scripts #513 (#516) 2016-07-25 17:07:53 -04:00
Michael Gerakis fe5f57dbf3 Travis: enable testing of node v4 + --harmony (#501) 2016-07-11 17:35:56 -07:00
Paul Lewis 07e4958d36 Removes the 'module' folder from main. 2016-07-11 13:36:50 +01:00
Paul Irish 90ffa1a220
1.0.5 2016-07-08 14:26:21 -07:00
Paul Irish e28ee772c5 Install child folder deps through helper script (#500) 2016-07-08 14:22:05 -07:00
Paul Irish fcf82d22d8
1.0.4 2016-07-08 13:26:25 -07:00
Paul Irish 15b473dd5c
1.0.3 2016-07-07 19:11:26 -07:00
Michael Gerakis 94cc318ee4 Require semver as a dependency. (#473) 2016-06-27 22:19:23 +01:00
Paul Irish ab00e2c7e4
bump package to 1.0.2 2016-06-24 01:51:11 +01:00
Paul Irish dfe2a77ada
yargs on 3.30.0 . 2016-06-23 20:01:31 +01:00
Ward Peeters cfd98ab808 Setting up yargs instead of meow 2016-06-22 17:31:47 +02:00
Paul Lewis 4733a35469 Root package (#431)
* Creates package.json at root

* Removes lighthouse-core deps from CLI & extension

* Updates requires to use relative paths

* Fixes report loader path

* merge root package with cli package.json

* Updates smoke test paths

* Updates .travis.yml

* Update .travis.yml again

* Removes core/package.json

* Revert "Removes core/package.json"

This reverts commit 32e57ee782.
2016-06-15 19:37:52 +01:00
Paul Lewis 0295887b88 Refactors to separate /lighthouse-core, /lighthouse-extension and /lighthouse-cli 2016-06-14 12:10:19 +01:00
Paul Irish ed71d6b355 Screenshots gatherer, audit & asset viewer
* save screenshots in --save-assets flag
* meow needs to know what cmd line options are booleans.
* Get screenshots running with new whitelisted scheduler.
* use json-stringify-safe, which handles larger objects better than native.
* change default url to aliexpress, as platform-status.mozilla is down.

Closure is unhappy with the return value. I'm not sure why.
2016-05-28 00:00:48 -07:00
Paul Irish 1548a45a0f Merge pull request #375 from brendankenny/coverage
add istanbul test coverage reporting
2016-05-27 12:02:01 -07:00
Sam Thorogood 9ff0e36f65 get closure-type-checking running again (#360)
* minimal type fixes to get building
2016-05-27 12:01:12 -07:00
Brendan Kenny 127e50be4b add coveralls support for coverage info 2016-05-27 00:58:28 -07:00
Brendan Kenny 62adf05401 add istanbul test coverage reporting
also removes smoke tests from what are (ostensibly) unit tests
2016-05-27 00:41:38 -07:00
Zack Boehm fe9de41f24 Update package.json homepage & issue URLs from Big Rig (#357) 2016-05-25 13:47:23 -07:00
Boopathi Rajaa 50525add43 Fix unit test watch npm command
+ Fix extension.js and extension*.js are ignored
+ no need for grep -v. find supports exlusions
2016-05-17 12:05:37 +02:00
Paul Irish 62ca0b3671 traceviewer module + input readiness metric
PR  (#309) has the details

* Adds conversion script to convert catapult repo into a consumable node mobule
* Adds 'input readiness' metric which depends on traceviewer
* works with browserify.
2016-05-10 23:35:31 -07:00
Paul Lewis c1d5eb4e14 Adds module support. (#287) 2016-05-05 11:37:33 -07:00
Pierre-Marie Dartus 26796a31f1 Fix start script entry (#282) 2016-05-05 12:45:56 +01:00
Sam Thorogood 51b30d0954 pull in speedline and report speedIndex 2016-04-28 17:04:04 -07:00
Paul Irish e84bc3c065 test/ folder refactor (#245)
* folder refactor: tests/ now match up.

* add readme notes on `npm run watch`
2016-04-24 17:45:33 -07:00
Paul Irish de850dd236
folder refactor: cli/ ftw. Now: `node cli https://pwa.rocks` 2016-04-23 18:44:12 -07:00
Paul Irish 714ece497a
folder refactor: scripts/ get their own home 2016-04-23 18:43:53 -07:00
Paul Lewis 0f149459da Adds a11y valid-aria-attr check, using axe-core audits 2016-04-23 17:00:13 -07:00
Brendan Kenny cff829c7db Adds full report to CLI and extension; upgrades printer.
* Refactors for a 'full report' in CLI & extension.
* Upgrades the printer; adds tests.
2016-04-21 09:55:06 +01:00
Brendan Kenny f32eec17b5 reorganization of devtools frontend imports and mocking 2016-04-20 12:56:12 -07:00
Sam Saccone 2a84d3337b tests: Add initial smoke test coverage.
We can continue to add to this as we hit more and more issues.
2016-04-19 08:16:02 -07:00
Deepanjan Roy 0cc8bb4a00 Do not run if node version older than 5.9 2016-03-31 16:32:40 -04:00
Sam Saccone d3aeb330d6 Fix incorrect npm start command 2016-03-29 17:49:03 -07:00
Brendan Kenny da55619943 Merge pull request #95 from brendankenny/closure
add closure type checking (to audits/ only for now)
2016-03-29 17:43:23 -07:00
Brendan Kenny 807af0f3d0 add closure type checking to audits 2016-03-29 17:40:58 -07:00
ragingwind 57ec21d247 Using npm script to launch chrome 2016-03-29 09:33:32 +09:00