subcli
Version:
helpers for creating command-line interfaces that support subcommands
89 lines (88 loc) • 2.33 kB
JSON
{
"name": "subcli",
"version": "0.2.4",
"description": "helpers for creating command-line interfaces that support subcommands",
"main": "lib",
"scripts": {
"build:library": "./node_modules/.bin/babel -d lib/ src/ --ignore __tests__",
"build:example": "./node_modules/.bin/babel example/index.babel.js > example/index.js",
"build": "npm run build:library && npm run build:example",
"prepublish": "npm test && npm run build",
"2npm": "./node_modules/.bin/publish",
"lint": "./node_modules/.bin/xo",
"test:cov": "npm run test:cov:run && npm run test:cov:send",
"test:cov:run": "./node_modules/.bin/nyc --reporter=lcov npm run test:run",
"test:cov:send": "./node_modules/.bin/codeclimate-test-reporter < ./coverage/lcov.info",
"test:run": "NODE_ENV=test ./node_modules/.bin/mocha --opts ./config/mocha.opts $(find . -path './**/__tests__/*.test.js' ! -ipath '*node_modules*')",
"test": "npm run lint && npm run test:run"
},
"keywords": [
"cli",
"options",
"parser",
"usage",
"subcommand"
],
"repository": {
"type": "git",
"url": "git+https://github.com/LearnersGuild/subcli.git"
},
"author": {
"name": "Jeffrey Wescott",
"email": "jeffrey@learnersguild.org"
},
"license": "ISC",
"dependencies": {
"cliclopts": "^1.1.1",
"minimist": "^1.2.0",
"sprintf-js": "^1.0.3",
"wordwrap": "^1.0.0"
},
"devDependencies": {
"babel-cli": "^6.9.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-istanbul": "^1.0.3",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-2": "^6.5.0",
"chai": "^3.5.0",
"chai-as-promised": "^5.3.0",
"codeclimate-test-reporter": "^0.3.3",
"mocha": "^2.5.3",
"nyc": "^7.1.0",
"publish": "^0.6.0",
"xo": "^0.15.1"
},
"engines": {
"node": "5.6.x",
"npm": "3.7.x"
},
"xo": {
"ignore": [
"lib/**",
"example/index.js"
],
"rules": {
"comma-dangle": [
0
],
"no-negated-condition": [
0
],
"quotes": [
2,
"single",
"avoid-escape"
],
"xo/filename-case": [
0
]
},
"esnext": true,
"space": true,
"semicolon": false
},
"nyc": {
"sourceMap": false,
"instrument": false
}
}