Skip to content

hysryt/sukusho

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sukusho

インストール

$ npm install -g @hysryt/sukusho

使い方

sukusho.jsonを用意してsukushoを実行

sukusho.json

{
  "viewports": {
    "pc": {
      "device-width": 1280,
      "dpr": 1
    },
    "sp": {
      "device-width": 400,
      "dpr": 2,
      "save-width": 400
    }
  },
  "targets": [
    {
      "name": "menu",
      "url": "https://google.com/",
      "type": "jpeg"
    },
    {
      "name": "example",
      "url": "https://example.com/",
      "type": "jpeg"
    }
  ]
}

viewportsブロックは省略できる。

About

スクショを撮るやつ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published