package.json (2125B)
1 { 2 "name": "commander", 3 "version": "11.1.0", 4 "description": "the complete solution for node.js command-line programs", 5 "keywords": [ 6 "commander", 7 "command", 8 "option", 9 "parser", 10 "cli", 11 "argument", 12 "args", 13 "argv" 14 ], 15 "author": "TJ Holowaychuk <tj@vision-media.ca>", 16 "license": "MIT", 17 "repository": { 18 "type": "git", 19 "url": "https://github.com/tj/commander.js.git" 20 }, 21 "scripts": { 22 "lint": "npm run lint:javascript && npm run lint:typescript", 23 "lint:javascript": "eslint index.js esm.mjs \"lib/*.js\" \"tests/**/*.js\"", 24 "lint:typescript": "eslint typings/*.ts tests/*.ts", 25 "test": "jest && npm run typecheck-ts", 26 "test-esm": "node ./tests/esm-imports-test.mjs", 27 "typecheck-ts": "tsd && tsc -p tsconfig.ts.json", 28 "typecheck-js": "tsc -p tsconfig.js.json", 29 "test-all": "npm run test && npm run lint && npm run typecheck-js && npm run test-esm" 30 }, 31 "files": [ 32 "index.js", 33 "lib/*.js", 34 "esm.mjs", 35 "typings/index.d.ts", 36 "typings/esm.d.mts", 37 "package-support.json" 38 ], 39 "type": "commonjs", 40 "main": "./index.js", 41 "exports": { 42 ".": { 43 "require": { 44 "types": "./typings/index.d.ts", 45 "default": "./index.js" 46 }, 47 "import": { 48 "types": "./typings/esm.d.mts", 49 "default": "./esm.mjs" 50 }, 51 "default": "./index.js" 52 }, 53 "./esm.mjs": { 54 "types": "./typings/esm.d.mts", 55 "import": "./esm.mjs" 56 } 57 }, 58 "devDependencies": { 59 "@types/jest": "^29.2.4", 60 "@types/node": "^20.2.5", 61 "@typescript-eslint/eslint-plugin": "^5.47.1", 62 "@typescript-eslint/parser": "^5.47.1", 63 "eslint": "^8.30.0", 64 "eslint-config-standard": "^17.0.0", 65 "eslint-config-standard-with-typescript": "^33.0.0", 66 "eslint-plugin-import": "^2.26.0", 67 "eslint-plugin-jest": "^27.1.7", 68 "eslint-plugin-n": "^15.6.0", 69 "eslint-plugin-promise": "^6.1.1", 70 "jest": "^29.3.1", 71 "ts-jest": "^29.0.3", 72 "tsd": "^0.28.1", 73 "typescript": "^5.0.4" 74 }, 75 "types": "typings/index.d.ts", 76 "engines": { 77 "node": ">=16" 78 }, 79 "support": true 80 }