Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gitbook-commander

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-commander

npm scripts friendly CLI for GitBook that installs nothing on your system and makes use of peerDependencies

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

gitbook-commander

Build Status Greenkeeper badge

An alternative lightweight CLI for the awesome GitBook documentation generator that, unlike the official CLI, doesn't assume it is installed globally (and, to the contrary, is build specifically for being used in npm scripts) and does not install anything on its own behalf.

Installation and Usage

$ npm install --save-dev gitbook
$ npm install --save-dev gitbook-commander

After that, the gitbook-local command will be available for you to use from npm scripts in package.json or via npx.

For example, you may add this or something similar to your package.json:

{
  "scripts": {
    "build-docs": "gitbook-local build"
  }
}

and run

$ npm run build-docs

to build your documentation. GitBook stays isolated inside your node_modules 🎉

Contributing

Issues and PRs are welcome if you spot anything worth fixing! ❤️

This project uses Conventional Commits and the JavaScript code style covered by its own ESLint config (no textual description, sorry 😔, just follow the surrounding code and run the linter via npm run lint or as a part of the general testing process via npm test).

Please adhere to the Code of Conduct for all the interaction in this repo.

License

MIT

Keywords

FAQs

Package last updated on 23 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc