1 | {
|
2 | "name": "commander",
|
3 | "version": "9.0.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 | "require": "./index.js",
|
43 | "import": "./esm.mjs"
|
44 | },
|
45 | "./esm.mjs": "./esm.mjs"
|
46 | },
|
47 | "devDependencies": {
|
48 | "@types/jest": "^27.0.3",
|
49 | "@types/node": "^16.11.15",
|
50 | "@typescript-eslint/eslint-plugin": "^4.33.0",
|
51 | "@typescript-eslint/parser": "^4.27.0",
|
52 | "eslint": "^7.29.0",
|
53 | "eslint-config-standard": "^16.0.3",
|
54 | "eslint-config-standard-with-typescript": "^21.0.1",
|
55 | "eslint-plugin-import": "^2.25.3",
|
56 | "eslint-plugin-jest": "^24.3.6",
|
57 | "eslint-plugin-node": "^11.1.0",
|
58 | "eslint-plugin-promise": "^5.2.0",
|
59 | "jest": "^27.0.4",
|
60 | "ts-jest": "^27.0.3",
|
61 | "tsd": "^0.17.0",
|
62 | "typescript": "^4.3.4"
|
63 | },
|
64 | "types": "typings/index.d.ts",
|
65 | "jest": {
|
66 | "testEnvironment": "node",
|
67 | "collectCoverage": true,
|
68 | "transform": {
|
69 | "^.+\\.tsx?$": "ts-jest"
|
70 | },
|
71 | "testPathIgnorePatterns": [
|
72 | "/node_modules/"
|
73 | ]
|
74 | },
|
75 | "engines": {
|
76 | "node": "^12.20.0 || >=14"
|
77 | },
|
78 | "support": true
|
79 | }
|