1.0.1 • Published 2 years ago

cit-ssc-cli v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

README

This is a library for comparing screenshots of websites

Installation

    npm install cit-ssc-cli -g

Usage

step 1

Initialize Project

    mdkir <project name>
    cd <project name>
    ssc-cli init

step 2

Configure the site URL and viewPort

siteList:

    {
        "siteList": ["siteA","siteB","",....]
    }

viewPort: Customize the screen size

    {
        "viewPortList" : [
            {
                "w": 1920,
                "h": 1024
            },
            {
                "w": 768,
                "h": 1024
            }
        ]
    }

step 3

    ssc-cli screenshot

step 3

    ssc-cli diff