123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- {
- "name": "commander",
- "version": "12.1.0",
- "description": "the complete solution for node.js command-line programs",
- "keywords": [
- "commander",
- "command",
- "option",
- "parser",
- "cli",
- "argument",
- "args",
- "argv"
- ],
- "author": "TJ Holowaychuk <tj@vision-media.ca>",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/tj/commander.js.git"
- },
- "scripts": {
- "check": "npm run check:type && npm run check:lint && npm run check:format",
- "check:format": "prettier --check .",
- "check:lint": "eslint .",
- "check:type": "npm run check:type:js && npm run check:type:ts",
- "check:type:ts": "tsd && tsc -p tsconfig.ts.json",
- "check:type:js": "tsc -p tsconfig.js.json",
- "fix": "npm run fix:lint && npm run fix:format",
- "fix:format": "prettier --write .",
- "fix:lint": "eslint --fix .",
- "test": "jest && npm run check:type:ts",
- "test-all": "jest && npm run test-esm && npm run check",
- "test-esm": "node ./tests/esm-imports-test.mjs"
- },
- "files": [
- "index.js",
- "lib/*.js",
- "esm.mjs",
- "typings/index.d.ts",
- "typings/esm.d.mts",
- "package-support.json"
- ],
- "type": "commonjs",
- "main": "./index.js",
- "exports": {
- ".": {
- "require": {
- "types": "./typings/index.d.ts",
- "default": "./index.js"
- },
- "import": {
- "types": "./typings/esm.d.mts",
- "default": "./esm.mjs"
- },
- "default": "./index.js"
- },
- "./esm.mjs": {
- "types": "./typings/esm.d.mts",
- "import": "./esm.mjs"
- }
- },
- "devDependencies": {
- "@eslint/js": "^8.56.0",
- "@types/jest": "^29.2.4",
- "@types/node": "^20.2.5",
- "eslint": "^8.30.0",
- "eslint-config-prettier": "^9.1.0",
- "eslint-plugin-jest": "^28.3.0",
- "eslint-plugin-jsdoc": "^48.1.0",
- "globals": "^13.24.0",
- "jest": "^29.3.1",
- "prettier": "^3.2.5",
- "prettier-plugin-jsdoc": "^1.3.0",
- "ts-jest": "^29.0.3",
- "tsd": "^0.31.0",
- "typescript": "^5.0.4",
- "typescript-eslint": "^7.0.1"
- },
- "types": "typings/index.d.ts",
- "engines": {
- "node": ">=18"
- },
- "support": true
- }
|