New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

include-nodecg

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

include-nodecg

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

latest
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

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)

FAQs

Package last updated on 01 Nov 2019

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