package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "name": "commander",
  3. "version": "7.2.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 <[email protected]>",
  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 \"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 --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. "esm.mjs",
  34. "typings/index.d.ts",
  35. "package-support.json"
  36. ],
  37. "type": "commonjs",
  38. "dependencies": {},
  39. "devDependencies": {
  40. "@types/jest": "^26.0.20",
  41. "@types/node": "^14.14.20",
  42. "@typescript-eslint/eslint-plugin": "^4.12.0",
  43. "@typescript-eslint/parser": "^4.12.0",
  44. "eslint": "^7.17.0",
  45. "eslint-config-standard": "^16.0.2",
  46. "eslint-plugin-jest": "^24.1.3",
  47. "jest": "^26.6.3",
  48. "standard": "^16.0.3",
  49. "ts-jest": "^26.5.1",
  50. "tsd": "^0.14.0",
  51. "typescript": "^4.1.2"
  52. },
  53. "types": "typings/index.d.ts",
  54. "jest": {
  55. "testEnvironment": "node",
  56. "collectCoverage": true,
  57. "transform": {
  58. "^.+\\.tsx?$": "ts-jest"
  59. },
  60. "testPathIgnorePatterns": [
  61. "/node_modules/"
  62. ]
  63. },
  64. "engines": {
  65. "node": ">= 10"
  66. },
  67. "support": true
  68. }