0.0.3 • Published 4 years ago

include-nodecg v0.0.3

Weekly downloads
70
License
MIT
Repository
-
Last release
4 years ago

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)

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

5 years ago

0.0.1-7

5 years ago

0.0.1-6

5 years ago

0.0.1-5

5 years ago

0.0.1-4

5 years ago

0.0.1-3

5 years ago

0.0.1-2

5 years ago

0.0.1-1

5 years ago

0.0.1-0

5 years ago