ninjs.pad
v0.0.1
Published
Prototyping pad
Downloads
1
Readme
ninjs.pad
Prototyping pad
Overview
Setup
Install the module locally and add to ./package.json dependencies
npm install --save ninjs.pad
Scripts/Debugging
Be sure to add '--' before args/switches when running cli scriptsOtherwise switches will not be passed to the spawned process created by 'npm run script' command
npm run cli -- settings --key=paths
{
"scripts": {
"cli": "set NODE_ENV=development && set DEBUG=* && node ./bin/cli.js",
"cli-prod": "set NODE_ENV=production && set DEBUG= && node ./bin/cli.js",
"test": "set NODE_ENV=development && set DEBUG=* && node ./test/index.js",
"test-prod": "set NODE_ENV=production && set DEBUG= && node ./test/index.js",
"npm-config": "npm c ls -l"
}
}