The viewport-tools contain command-line tools for Scroll Viewport theme developers.
Being command-line the viewport-tools should be installed globally.
$ npm install -g viewport-tools
If that doesn't work, try
$ sudo npm install -g viewport-tools.
Initialize local development
~/.viewportrc to develop locally with the gulp-viewport plugin:
$ viewport init
Create a new Scroll Viewport Theme
Create a new Scroll Viewport theme project:
$ viewport create
NOTE: Make sure to follow the getting started steps provided when the theme has been created.
- Checkout project
- Tim Pettersen: Building command line tools with Node.js, URL: https://developer.atlassian.com/blog/2015/11/scripting-with-node/
- The npm Blog: Building a simple command line tool with npm, URL: http://blog.npmjs.org/post/118810260230/building-a-simple-command-line-tool-with-npm