UNPKG

@donmccurdy/caporal

Version:

A full-featured framework for building command line applications (cli) with node.js

108 lines (107 loc) 3.08 kB
{ "name": "@donmccurdy/caporal", "version": "0.0.10", "description": "A full-featured framework for building command line applications (cli) with node.js", "type": "module", "sideEffects": false, "source": "./src/index.ts", "types": "./dist/index.d.ts", "main": "./dist/caporal.cjs", "exports": { "types": "./dist/index.d.ts", "require": "./dist/caporal.cjs", "default": "./dist/caporal.modern.js" }, "scripts": { "lint": "eslint src/**/*.ts examples", "lint:fix": "eslint --fix src/**/*.ts examples/**/*.{ts,js}", "prebuild": "npm run clean", "build": "microbundle --format modern,cjs --target node --no-compress", "build:ci": "npm run build", "watch": "microbundle watch --format modern,cjs --target node --no-compress", "postbuild:ci": "npm run test:ci", "refresh-markdown": "./scripts/gen-contributors.js && ./scripts/gen-dependents.js && ./scripts/gen-readme.js", "clean": "rimraf dist", "test": "ava src/**/*.test.ts", "test:ci": "echo \"not implemented\"", "test:dist": "ava dist-tests/**/*.test.ts", "preversion": "npm run build && npm run test && npm run test:dist", "version": "npm run build && git add -u", "postversion": "git push && git push --tags && npm publish" }, "files": [ "dist/**/*.{ts,js}" ], "engines": { "node": ">= 18" }, "homepage": "https://github.com/donmccurdy/Caporal.js", "keywords": [ "cli", "command", "commander", "clap", "cli-app", "minimist", "cli-table", "command line apps", "option", "parser", "argument", "flag", "args", "argv" ], "author": "Don McCurdy <dm@donmccurdy.com> and Matthias ETIENNE <matthias@etienne.in> (https://github.com/mattallty)", "repository": "donmccurdy/Caporal.js", "license": "MIT", "dependencies": { "@types/glob": "^8.1.0", "@types/lodash": "^4.14.197", "@types/node": "20.5.6", "@types/table": "5.0.0", "@types/wrap-ansi": "^8.0.1", "chalk": "3.0.0", "glob": "^10.3.3", "lodash": "^4.17.21", "table": "5.4.6", "winston": "3.10.0", "wrap-ansi": "^8.1.0" }, "devDependencies": { "@octokit/rest": "^17.2.1", "@types/sinon": "^10.0.16", "@typescript-eslint/eslint-plugin": "^6.4.0", "@typescript-eslint/parser": "^6.4.0", "ava": "^5.3.1", "cheerio": "^1.0.0-rc.3", "eslint": "^8.47.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.0", "json": "^9.0.4", "markdown-table": "^2.0.0", "memfs": "^3.1.2", "microbundle": "^0.15.1", "node-fetch": "^2.6.0", "npm-run-all": "^4.1.5", "prettier": "^3.0.2", "rimraf": "^5.0.1", "sinon": "^15.2.0", "strip-ansi": "^7.1.0", "suppress-experimental-warnings": "^1.1.17", "ts-node": "^10.9.1", "typescript": "5.1.6" }, "publishConfig": { "access": "public" }, "ava": { "extensions": { "ts": "module" }, "nodeArguments": [ "--loader=ts-node/esm", "--require=suppress-experimental-warnings" ] } }