lighthouse-plugin-amp

2.7.6 • Public • Published

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 

Readme

Keywords

none

Package Sidebar

Install

npm i lighthouse-plugin-amp

Weekly Downloads

3

Version

2.7.6

License

none

Unpacked Size

15.7 kB

Total Files

5

Last publish

Collaborators

  • amp-toolbox
  • caroqliu