UNPKG

2.15 kBJSONView Raw
1{
2 "name": "commander",
3 "version": "9.3.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": "^27.0.3",
50 "@types/node": "^16.11.15",
51 "@typescript-eslint/eslint-plugin": "^4.33.0",
52 "@typescript-eslint/parser": "^4.27.0",
53 "eslint": "^7.29.0",
54 "eslint-config-standard": "^16.0.3",
55 "eslint-config-standard-with-typescript": "^21.0.1",
56 "eslint-plugin-import": "^2.25.3",
57 "eslint-plugin-jest": "^24.3.6",
58 "eslint-plugin-node": "^11.1.0",
59 "eslint-plugin-promise": "^5.2.0",
60 "jest": "^27.0.4",
61 "ts-jest": "^27.0.3",
62 "tsd": "^0.17.0",
63 "typescript": "^4.3.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}