From 43acceb75957c880a5ba5a31aae221394a36d5f6 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 16 May 2024 11:31:39 +0800 Subject: replaced html-minifier -> html-minifier-terser --- node_modules/commander/package.json | 74 +++++++++++++++++++++++++++++-------- 1 file changed, 58 insertions(+), 16 deletions(-) (limited to 'node_modules/commander/package.json') diff --git a/node_modules/commander/package.json b/node_modules/commander/package.json index 0023c5cd..05767954 100644 --- a/node_modules/commander/package.json +++ b/node_modules/commander/package.json @@ -1,12 +1,16 @@ { "name": "commander", - "version": "2.20.3", + "version": "10.0.1", "description": "the complete solution for node.js command-line programs", "keywords": [ "commander", "command", "option", - "parser" + "parser", + "cli", + "argument", + "args", + "argv" ], "author": "TJ Holowaychuk ", "license": "MIT", @@ -15,24 +19,62 @@ "url": "https://github.com/tj/commander.js.git" }, "scripts": { - "lint": "eslint index.js", - "test": "node test/run.js && npm run test-typings", - "test-typings": "tsc -p tsconfig.json" + "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", + "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" }, - "main": "index", "files": [ "index.js", - "typings/index.d.ts" + "lib/*.js", + "esm.mjs", + "typings/index.d.ts", + "package-support.json" ], - "dependencies": {}, + "type": "commonjs", + "main": "./index.js", + "exports": { + ".": { + "types": "./typings/index.d.ts", + "require": "./index.js", + "import": "./esm.mjs" + }, + "./esm.mjs": "./esm.mjs" + }, "devDependencies": { - "@types/node": "^12.7.8", - "eslint": "^6.4.0", - "should": "^13.2.3", - "sinon": "^7.5.0", - "standard": "^14.3.1", - "ts-node": "^8.4.1", - "typescript": "^3.6.3" + "@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": "typings/index.d.ts", + "jest": { + "testEnvironment": "node", + "collectCoverage": true, + "transform": { + "^.+\\.tsx?$": "ts-jest" + }, + "testPathIgnorePatterns": [ + "/node_modules/" + ] + }, + "engines": { + "node": ">=14" }, - "typings": "typings/index.d.ts" + "support": true } -- cgit v1.2.3