0.0.5 • Published 6 years ago
viewport-tools v0.0.5
viewport-tools
The viewport-tools contain command-line tools for Scroll Viewport theme developers.
Installation
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
.
Usage
Initialize local development
Set up ~/.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.
Development
- Checkout project
- Do
npm link
Resources
- 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
License
MIT