recink-pagespeed
recink-pagespeed
npm i recink-pagespeed
recink-pagespeed

recink-pagespeed

REciNK - Rethink Continuous Integration for JavaScript Applications

by MitocGroup

1.2.7 (see all)License:MPL-2.0TypeScript:Not Found
npm i recink-pagespeed
Readme

REciNK Component for PageSpeed

This is a REciNK component to analyze and optimize your website or webapp following best practices from Google PageSpeed.

Prerequisites

  • Git >= v1.x
  • Node.js >= v6.x
  • NPM >= v3.x
  • REciNK

Use nvm to install and manage different versions of Node.js; Ideally, use v8+ for faster performance

Installation

  • npm install -g recink-pagespeed

Note that the component is installed automatically when running recink component add pagespeed

Configuration

.recink.yml configuration:

$:
  pagespeed:
    uri:                                                                      # URIs to analyze
      - https://www.example.com
    # strategy: desktop                                                       # Available: desktop, mobile
    # filter-third-party: true                                                # Filter 3'rd party assets
    # locale: en                                                              # @see https://developers.google.com/speed/docs/insights/languagesx
    # reporters:                                                              # Customize Reporters (available: text, summary)
    #   summary: ~
    #   text: 
    #     - minimal: true                                                     # Skip showing detailed statistics
    # compare:
    #   negative-delta: 3                                                     # Compare coverage info and if negative delta is more than X fail (0.01-100.00)
    #   storage:                                              
    #     driver: 's3'                                                        # Available drivers: s3, volative
    #     options:
    #       - 's3://travis-metadata/pagespeed/sample-repo'                    # S3 storage directory
    #       -                                                                 # S3 storage options
    #         region: 'process.env.AWS_DEFAULT_REGION'
    #         accessKeyId: 'process.env.AWS_ACCESS_KEY_ID'
    #         secretAccessKey: 'process.env.AWS_SECRET_ACCESS_KEY'

.travis.yml configuration:

script: 'recink run pagespeed'
before_install:
  # other before_install scripts...
  - 'npm install -g recink-pagespeed'

Or using the registry:

before_install:
  # other before_install scripts...
  - 'recink component add pagespeed'

Usage

recink run pagespeed

Downloads/wk

3

GitHub Stars

14

LAST COMMIT

4yrs ago

MAINTAINERS

1

CONTRIBUTORS

13

OPEN ISSUES

15

OPEN PRs

13
VersionTagPublished
1.2.7
latest
4yrs ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate