include-nodecg
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

include-nodecg

Tools to include NodeCG in your bundle, rather than including your bundle in NodeCG

  • During development of NodeCG, you have to put your bundles inside the nodecg/bundles directory
  • This package provides tools to put NodeCG in your bundles, the other way around of the normal way
  • This package reduces the step of cloning NodeCG or symlinking the bundle directory to NodeCG bundles directory.

Install

nodecg must be installed as npm package along with this package

npm i -S include-nodecg nodecg

or

yarn add include-nodecg nodecg

Setup

  • Setup postinstall npm hook in package.json
    "scripts"{
      "postinstall": "include-nodecg postinstall"
    }

CLI

include-nodecg <command>

Commands:
  include-nodecg postinstall  Set this command to npm `postinstall` hook
  include-nodecg start        Start NodeCG

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]

License

MIT © Keiichiro Amemiya (Hoishin)

Readme

Keywords

none

Package Sidebar

Install

npm i include-nodecg

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

12.8 kB

Total Files

10

Last publish

Collaborators

  • hoishin