1{
2  "name": "commander",
3  "version": "9.5.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 test-typings",
26    "test-esm": "node --experimental-modules ./tests/esm-imports-test.mjs",
27    "test-typings": "tsd",
28    "typescript-checkJS": "tsc --allowJS --checkJS index.js lib/*.js --noEmit",
29    "test-all": "npm run test && npm run lint && npm run typescript-checkJS && npm run test-esm"
30  },
31  "files": [
32    "index.js",
33    "lib/*.js",
34    "esm.mjs",
35    "typings/index.d.ts",
36    "package-support.json"
37  ],
38  "type": "commonjs",
39  "main": "./index.js",
40  "exports": {
41    ".": {
42      "types": "./typings/index.d.ts",
43      "require": "./index.js",
44      "import": "./esm.mjs"
45    },
46    "./esm.mjs": "./esm.mjs"
47  },
48  "devDependencies": {
49    "@types/jest": "^28.1.4",
50    "@types/node": "^16.11.15",
51    "@typescript-eslint/eslint-plugin": "^5.30.6",
52    "@typescript-eslint/parser": "^5.30.6",
53    "eslint": "^8.19.0",
54    "eslint-config-standard": "^17.0.0",
55    "eslint-config-standard-with-typescript": "^22.0.0",
56    "eslint-plugin-import": "^2.25.3",
57    "eslint-plugin-jest": "^26.5.3",
58    "eslint-plugin-n": "^15.2.4",
59    "eslint-plugin-promise": "^6.0.0",
60    "jest": "^28.1.2",
61    "ts-jest": "^28.0.5",
62    "tsd": "^0.22.0",
63    "typescript": "^4.7.4"
64  },
65  "types": "typings/index.d.ts",
66  "jest": {
67    "testEnvironment": "node",
68    "collectCoverage": true,
69    "transform": {
70      "^.+\\.tsx?$": "ts-jest"
71    },
72    "testPathIgnorePatterns": [
73      "/node_modules/"
74    ]
75  },
76  "engines": {
77    "node": "^12.20.0 || >=14"
78  },
79  "support": true
80}
81