diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-08-30 17:21:18 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-08-30 17:21:18 +0800 |
| commit | efbc2ffe6a1ee5ec38a4396305561d6515d0943e (patch) | |
| tree | 2b4c94f18f2c792dfda813050755d5c0273fae22 /node_modules/commander/package.json | |
| parent | 43acceb75957c880a5ba5a31aae221394a36d5f6 (diff) | |
node fixes, updates
Diffstat (limited to 'node_modules/commander/package.json')
| -rw-r--r-- | node_modules/commander/package.json | 69 |
1 files changed, 20 insertions, 49 deletions
diff --git a/node_modules/commander/package.json b/node_modules/commander/package.json index 05767954..69a67b90 100644 --- a/node_modules/commander/package.json +++ b/node_modules/commander/package.json @@ -1,6 +1,6 @@ { "name": "commander", - "version": "10.0.1", + "version": "6.2.1", "description": "the complete solution for node.js command-line programs", "keywords": [ "commander", @@ -19,62 +19,33 @@ "url": "https://github.com/tj/commander.js.git" }, "scripts": { - "lint": "npm run lint:javascript && npm run lint:typescript", - "lint:javascript": "eslint index.js esm.mjs \"lib/*.js\" \"tests/**/*.js\"", - "lint:typescript": "eslint typings/*.ts tests/*.ts", + "lint": "eslint index.js \"tests/**/*.js\"", + "typescript-lint": "eslint typings/*.ts", "test": "jest && npm run test-typings", - "test-esm": "node ./tests/esm-imports-test.mjs", - "test-typings": "tsd", - "typescript-checkJS": "tsc --allowJS --checkJS index.js lib/*.js --noEmit", - "test-all": "npm run test && npm run lint && npm run typescript-checkJS && npm run test-esm" + "test-typings": "tsc -p tsconfig.json" }, + "main": "index", "files": [ "index.js", - "lib/*.js", - "esm.mjs", - "typings/index.d.ts", - "package-support.json" + "typings/index.d.ts" ], - "type": "commonjs", - "main": "./index.js", - "exports": { - ".": { - "types": "./typings/index.d.ts", - "require": "./index.js", - "import": "./esm.mjs" - }, - "./esm.mjs": "./esm.mjs" - }, + "dependencies": {}, "devDependencies": { - "@types/jest": "^29.2.4", - "@types/node": "^18.11.18", - "@typescript-eslint/eslint-plugin": "^5.47.1", - "@typescript-eslint/parser": "^5.47.1", - "eslint": "^8.30.0", - "eslint-config-standard": "^17.0.0", - "eslint-config-standard-with-typescript": "^24.0.0", - "eslint-plugin-import": "^2.26.0", - "eslint-plugin-jest": "^27.1.7", - "eslint-plugin-n": "^15.6.0", - "eslint-plugin-promise": "^6.1.1", - "jest": "^29.3.1", - "ts-jest": "^29.0.3", - "tsd": "^0.25.0", - "typescript": "^4.9.4" + "@types/jest": "^26.0.15", + "@types/node": "^14.14.2", + "@typescript-eslint/eslint-plugin": "^4.5.0", + "eslint": "^7.11.0", + "eslint-config-standard-with-typescript": "^19.0.1", + "eslint-plugin-jest": "^24.1.0", + "jest": "^26.6.0", + "standard": "^15.0.0", + "typescript": "^4.0.3" }, - "types": "typings/index.d.ts", + "typings": "typings/index.d.ts", "jest": { - "testEnvironment": "node", - "collectCoverage": true, - "transform": { - "^.+\\.tsx?$": "ts-jest" - }, - "testPathIgnorePatterns": [ - "/node_modules/" - ] + "collectCoverage": true }, "engines": { - "node": ">=14" - }, - "support": true + "node": ">= 6" + } } |
