package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "commander",
  3. "version": "8.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": "eslint index.js esm.mjs \"lib/*.js\" \"tests/**/*.js\"",
  23. "typescript-lint": "eslint typings/*.ts tests/*.ts",
  24. "test": "jest && npm run test-typings",
  25. "test-esm": "node --experimental-modules ./tests/esm-imports-test.mjs",
  26. "test-typings": "tsd",
  27. "typescript-checkJS": "tsc --allowJS --checkJS index.js lib/*.js --noEmit",
  28. "test-all": "npm run test && npm run lint && npm run typescript-lint && npm run typescript-checkJS && npm run test-esm"
  29. },
  30. "main": "./index.js",
  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. "dependencies": {},
  40. "devDependencies": {
  41. "@types/jest": "^26.0.23",
  42. "@types/node": "^14.17.3",
  43. "@typescript-eslint/eslint-plugin": "^4.27.0",
  44. "@typescript-eslint/parser": "^4.27.0",
  45. "eslint": "^7.29.0",
  46. "eslint-config-standard": "^16.0.3",
  47. "eslint-plugin-jest": "^24.3.6",
  48. "jest": "^27.0.4",
  49. "standard": "^16.0.3",
  50. "ts-jest": "^27.0.3",
  51. "tsd": "^0.17.0",
  52. "typescript": "^4.3.4"
  53. },
  54. "types": "typings/index.d.ts",
  55. "jest": {
  56. "testEnvironment": "node",
  57. "collectCoverage": true,
  58. "transform": {
  59. "^.+\\.tsx?$": "ts-jest"
  60. },
  61. "testPathIgnorePatterns": [
  62. "/node_modules/"
  63. ]
  64. },
  65. "engines": {
  66. "node": ">= 12"
  67. },
  68. "support": true
  69. }