UNPKG

2.17 kBJSONView Raw
1{
2 "name": "commander",
3 "version": "12.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": "git+https://github.com/tj/commander.js.git"
20 },
21 "scripts": {
22 "check": "npm run check:type && npm run check:lint && npm run check:format",
23 "check:format": "prettier --check .",
24 "check:lint": "eslint .",
25 "check:type": "npm run check:type:js && npm run check:type:ts",
26 "check:type:ts": "tsd && tsc -p tsconfig.ts.json",
27 "check:type:js": "tsc -p tsconfig.js.json",
28 "fix": "npm run fix:lint && npm run fix:format",
29 "fix:format": "prettier --write .",
30 "fix:lint": "eslint --fix .",
31 "test": "jest && npm run check:type:ts",
32 "test-all": "jest && npm run test-esm && npm run check",
33 "test-esm": "node ./tests/esm-imports-test.mjs"
34 },
35 "files": [
36 "index.js",
37 "lib/*.js",
38 "esm.mjs",
39 "typings/index.d.ts",
40 "typings/esm.d.mts",
41 "package-support.json"
42 ],
43 "type": "commonjs",
44 "main": "./index.js",
45 "exports": {
46 ".": {
47 "require": {
48 "types": "./typings/index.d.ts",
49 "default": "./index.js"
50 },
51 "import": {
52 "types": "./typings/esm.d.mts",
53 "default": "./esm.mjs"
54 },
55 "default": "./index.js"
56 },
57 "./esm.mjs": {
58 "types": "./typings/esm.d.mts",
59 "import": "./esm.mjs"
60 }
61 },
62 "devDependencies": {
63 "@eslint/js": "^8.56.0",
64 "@types/jest": "^29.2.4",
65 "@types/node": "^20.2.5",
66 "eslint": "^8.30.0",
67 "eslint-config-prettier": "^9.1.0",
68 "eslint-plugin-jest": "^28.3.0",
69 "eslint-plugin-jsdoc": "^48.1.0",
70 "globals": "^13.24.0",
71 "jest": "^29.3.1",
72 "prettier": "^3.2.5",
73 "prettier-plugin-jsdoc": "^1.3.0",
74 "ts-jest": "^29.0.3",
75 "tsd": "^0.31.0",
76 "typescript": "^5.0.4",
77 "typescript-eslint": "^7.0.1"
78 },
79 "types": "typings/index.d.ts",
80 "engines": {
81 "node": ">=18"
82 },
83 "support": true
84}