UNPKG

parse-my-command

Version:

Parse argv with Commander.js without executing the command

83 lines (82 loc) 2.31 kB
{ "name": "parse-my-command", "version": "0.4.0", "description": "Parse argv with Commander.js without executing the command", "keywords": [ "parser", "argv", "commander", "commanderjs" ], "homepage": "https://github.com/fardjad/node-parse-my-command", "bugs": { "url": "https://github.com/fardjad/node-parse-my-command/issues" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/fardjad/node-parse-my-command.git" }, "license": "MIT", "author": "Fardjad Davari <public@fardjad.com>", "type": "module", "exports": { ".": { "require": { "default": "./dist/index.cjs", "types": "./dist/index.d.cts" }, "import": { "default": "./dist/index.js", "types": "./dist/index.d.ts" } } }, "main": "dist/index.cjs", "types": "dist/index.d.ts", "files": [ "dist/index.cjs", "dist/index.d.cts", "dist/index.d.ts", "dist/index.js" ], "scripts": { "fix": "prettier --write . && eslint --ext .js --ext .cjs --ext .mjs --ext .ts --ext .cts --ext .mts --ext .d.ts --fix .", "lint": "prettier --check . && eslint --ext .js --ext .cjs --ext .mjs --ext .ts --ext .cts --ext .mts --ext .d.ts .", "prepare": "tsup ./src/index.ts --format esm,cjs --dts --clean --sourcemap inline --silent", "pretest": "tsc", "test": "glob -c \"tsx --test --test-reporter spec\" \"test/**/*.test.ts\"", "posttest": "npm run lint", "test:coverage": "c8 npm run test" }, "c8": { "reporter": [ "lcov" ] }, "dependencies": { "camelcase": "^8.0.0", "commander": "^13.1.0" }, "devDependencies": { "@trivago/prettier-plugin-sort-imports": "^4.3.0", "@types/node": "^20.12.4", "@typescript-eslint/eslint-plugin": "^7.5.0", "@typescript-eslint/parser": "^7.5.0", "c8": "^9.1.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-config-xo": "^0.44.0", "eslint-config-xo-typescript": "^4.0.0", "eslint-plugin-unicorn": "^52.0.0", "glob": "^10.3.12", "npm-check-updates": "^16.14.18", "prettier": "^3.2.5", "prettier-plugin-packagejson": "^2.4.14", "tsup": "^8.0.2", "tsx": "^4.7.2", "typescript": "^5.4.4" }, "engines": { "node": ">=18" } }