Skip to content

Latest commit

 

History

History
 
 

lighthouse-plugin-amp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Lighthouse AMP plugin

AMP plugin for Lighthouse.

To run

To run lighthouse in your project, first install lighthouse and lighthouse-plugin-amp as a development dependency:

$ npm install lighthouse lighthouse-plugin-amp -D

Then add a script to your package.json file that will run lighthouse together with the AMP plugin:

  "scripts": {
    "lighthouse": "lighthouse --plugins=lighthouse-plugin-amp --view"
  },

Now you can test your site via:

npm start && npm run lighthouse -- http://localhost:8080