package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "name": "ts-api-utils",
  3. "version": "2.4.0",
  4. "description": "Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️",
  5. "repository": {
  6. "type": "git",
  7. "url": "https://github.com/JoshuaKGoldberg/ts-api-utils"
  8. },
  9. "license": "MIT",
  10. "author": {
  11. "name": "JoshuaKGoldberg",
  12. "email": "npm@joshuakgoldberg.com"
  13. },
  14. "type": "module",
  15. "exports": {
  16. ".": {
  17. "types": {
  18. "import": "./lib/index.d.ts",
  19. "require": "./lib/index.d.cts"
  20. },
  21. "import": "./lib/index.js",
  22. "require": "./lib/index.cjs"
  23. }
  24. },
  25. "main": "./lib/index.js",
  26. "files": [
  27. "lib/",
  28. "package.json",
  29. "LICENSE.md",
  30. "README.md"
  31. ],
  32. "scripts": {
  33. "build": "tsup src/index.ts && cp lib/index.d.ts lib/index.d.cts",
  34. "docs": "typedoc",
  35. "docs:serve": "npx --yes http-server docs/generated",
  36. "format": "prettier \"**/*\" --ignore-unknown",
  37. "lint": "eslint . --max-warnings 0",
  38. "lint:docs": "typedoc --validation --treatValidationWarningsAsErrors",
  39. "lint:knip": "knip",
  40. "lint:md": "markdownlint \"**/*.md\" \".github/**/*.md\" --rules sentences-per-line",
  41. "lint:packages": "pnpm dedupe --check",
  42. "lint:spelling": "cspell \"**\" \".github/**/*\"",
  43. "prepare": "husky",
  44. "should-semantic-release": "should-semantic-release --verbose",
  45. "test": "vitest",
  46. "tsc": "tsc"
  47. },
  48. "lint-staged": {
  49. "*": "prettier --ignore-unknown --write"
  50. },
  51. "devDependencies": {
  52. "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
  53. "@eslint/js": "^9.19.0",
  54. "@phenomnomnominal/tsquery": "^6.1.3",
  55. "@release-it/conventional-changelog": "^10.0.0",
  56. "@types/eslint-plugin-markdown": "^2.0.2",
  57. "@types/node": "^18.19.74",
  58. "@typescript/vfs": "^1.6.0",
  59. "@vitest/coverage-v8": "^3.0.0",
  60. "@vitest/eslint-plugin": "^1.1.25",
  61. "console-fail-test": "^0.5.0",
  62. "cspell": "^8.17.3",
  63. "eslint": "^9.19.0",
  64. "eslint-plugin-jsdoc": "^50.6.3",
  65. "eslint-plugin-jsonc": "^2.19.1",
  66. "eslint-plugin-markdown": "^5.1.0",
  67. "eslint-plugin-n": "^17.15.1",
  68. "eslint-plugin-package-json": "^0.19.0",
  69. "eslint-plugin-perfectionist": "^4.7.0",
  70. "eslint-plugin-regexp": "^2.7.0",
  71. "eslint-plugin-yml": "^1.16.0",
  72. "husky": "^9.1.7",
  73. "jsonc-eslint-parser": "^2.4.0",
  74. "knip": "^5.46.0",
  75. "lint-staged": "^15.4.3",
  76. "markdownlint": "^0.37.4",
  77. "markdownlint-cli": "^0.44.0",
  78. "prettier": "^3.4.2",
  79. "prettier-plugin-curly": "^0.3.1",
  80. "prettier-plugin-packagejson": "^2.5.8",
  81. "release-it": "^18.1.2",
  82. "sentences-per-line": "^0.3.0",
  83. "should-semantic-release": "^0.3.0",
  84. "tsup": "^8.3.6",
  85. "typedoc": "^0.28.0",
  86. "typedoc-plugin-coverage": "^3.4.1",
  87. "typedoc-plugin-custom-validation": "^2.0.2",
  88. "typedoc-plugin-konamimojisplosion": "^0.0.2",
  89. "typedoc-plugin-mdn-links": "^5.0.0",
  90. "typescript": "^5.7.3",
  91. "typescript-eslint": "^8.22.0",
  92. "vitest": "^3.0.0"
  93. },
  94. "peerDependencies": {
  95. "typescript": ">=4.8.4"
  96. },
  97. "packageManager": "pnpm@10.6.5",
  98. "engines": {
  99. "node": ">=18.12"
  100. }
  101. }