Screenshot Components
Generate screenshot of react component automatically.
notice:
this version still in beta, I wrote this tool base on the structure like this:
├── /app/
│ ├── /components/ # Generic React Components (generally Dumb components)
│ ├── /containers/ # Components that provide context (e.g. Redux Provider)
│ ├── /routes/ # Application route definitions
│ ├── ... # other folders|files
you can found more structure details on: https://github.com/jackyon/react-redux-boilerplate
Packages Install
$ npm install phantomjs -g
$ npm install casperjs -g
$ npm install sscom
Usage
Usage: sscom
-h, --help More usage and help infos
-v, --version Version number