1.0.2 • Published 8 years ago

gitlapse v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

GitLapse

Time lapse the design of your project. Will generate screenshots within a given range of commits, and run your setup script between each one to ensure the dependencies are always inline.

Install

npm install -g gitlapse

## Example usage

Create a config file called gitlapse.json similar to the following in the project's directory you want to create the time lapse for:

{
  "name": "GitLapse project",
  "repo": "./",
  "uri": "http://localhost:3000",
  "output": "dist",
  "scripts": {
    "setup": "scripts/setup.sh",
    "server": "scripts/server.sh"
  },
  "window": {
    "width": 1280,
    "height": 800
  }
}

Once you've done that, you can hit the following (assuming your gitlapse.json is in the current working directory):

gitlapse <oldest-revision>..<newest-revision> [steps]

# eg gitlapse e7848c423ffb4807846fc9e0cde9fbaf23578621..dbf4ed3c4c67ac1a9961be5d329f4acaac9505de

# Use --help to get more instructions
gitlapse --help

Options