package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. {
  2. "name": "ts-api-utils",
  3. "version": "1.4.3",
  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 . .*js --max-warnings 0",
  38. "lint:docs": "typedoc --validation --treatValidationWarningsAsErrors",
  39. "lint:knip": "knip",
  40. "lint:knip:production": "knip --production",
  41. "lint:md": "markdownlint \"**/*.md\" \".github/**/*.md\" --rules sentences-per-line",
  42. "lint:packages": "pnpm dedupe --check",
  43. "lint:spelling": "cspell \"**\" \".github/**/*\"",
  44. "prepare": "husky",
  45. "should-semantic-release": "should-semantic-release --verbose",
  46. "test": "vitest",
  47. "tsc": "tsc"
  48. },
  49. "lint-staged": {
  50. "*": "prettier --ignore-unknown --write"
  51. },
  52. "devDependencies": {
  53. "@phenomnomnominal/tsquery": "^6.1.3",
  54. "@release-it/conventional-changelog": "^9.0.0",
  55. "@types/eslint": "^8.56.5",
  56. "@typescript-eslint/eslint-plugin": "^7.3.1",
  57. "@typescript-eslint/parser": "^8.0.0",
  58. "@typescript/vfs": "^1.5.0",
  59. "@vitest/coverage-v8": "^1.3.1",
  60. "console-fail-test": "^0.5.0",
  61. "cspell": "^8.6.0",
  62. "eslint": "^8.57.0",
  63. "eslint-plugin-deprecation": "^3.0.0",
  64. "eslint-plugin-eslint-comments": "^3.2.0",
  65. "eslint-plugin-jsdoc": "^50.0.0",
  66. "eslint-plugin-jsonc": "^2.13.0",
  67. "eslint-plugin-markdown": "^5.0.0",
  68. "eslint-plugin-n": "^17.0.0",
  69. "eslint-plugin-package-json": "^0.15.0",
  70. "eslint-plugin-perfectionist": "^2.6.0",
  71. "eslint-plugin-regexp": "^2.3.0",
  72. "eslint-plugin-vitest": "^0.4.0",
  73. "eslint-plugin-yml": "^1.12.2",
  74. "husky": "^9.0.11",
  75. "jsonc-eslint-parser": "^2.4.0",
  76. "knip": "^5.12.3",
  77. "lint-staged": "^15.2.2",
  78. "markdownlint": "^0.36.0",
  79. "markdownlint-cli": "^0.43.0",
  80. "prettier": "^3.1.1",
  81. "prettier-plugin-curly": "^0.3.0",
  82. "prettier-plugin-packagejson": "^2.4.7",
  83. "release-it": "^17.0.1",
  84. "sentences-per-line": "^0.2.1",
  85. "should-semantic-release": "^0.3.0",
  86. "tsup": "^8.0.2",
  87. "typedoc": "~0.24.8",
  88. "typedoc-plugin-coverage": "^3.0.0",
  89. "typedoc-plugin-custom-validation": "^2.0.2",
  90. "typedoc-plugin-konamimojisplosion": "^0.0.2",
  91. "typedoc-plugin-mdn-links": "^4.0.0",
  92. "typedoc-plugin-versions": "^0.2.4",
  93. "typescript": "~5.4.5",
  94. "vitest": "^1.3.1",
  95. "yaml-eslint-parser": "^1.2.2"
  96. },
  97. "peerDependencies": {
  98. "typescript": ">=4.2.0"
  99. },
  100. "packageManager": "pnpm@8.15.9",
  101. "engines": {
  102. "node": ">=16"
  103. },
  104. "publishConfig": {
  105. "provenance": true
  106. }
  107. }