package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. {
  2. "name": "ts-api-utils",
  3. "version": "1.2.1",
  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 --report-unused-disable-directives",
  38. "lint:docs": "typedoc --validation --treatValidationWarningsAsErrors",
  39. "lint:knip": "knip",
  40. "lint:knip:production": "knip --config knip.production.jsonc --production",
  41. "lint:md": "markdownlint \"**/*.md\" \".github/**/*.md\" --rules sentences-per-line",
  42. "lint:package-json": "npmPkgJsonLint .",
  43. "lint:packages": "pnpm dedupe --check",
  44. "lint:spelling": "cspell \"**\" \".github/**/*\"",
  45. "prepare": "husky install",
  46. "should-semantic-release": "should-semantic-release --verbose",
  47. "test": "vitest",
  48. "tsc": "tsc"
  49. },
  50. "lint-staged": {
  51. "*": "prettier --ignore-unknown --write"
  52. },
  53. "devDependencies": {
  54. "@phenomnomnominal/tsquery": "^6.1.3",
  55. "@release-it/conventional-changelog": "^8.0.1",
  56. "@types/eslint": "^8.56.0",
  57. "@typescript-eslint/eslint-plugin": "^6.15.0",
  58. "@typescript-eslint/parser": "6.20.0",
  59. "@typescript/vfs": "^1.5.0",
  60. "@vitest/coverage-v8": "^1.1.0",
  61. "console-fail-test": "^0.2.3",
  62. "cspell": "^8.2.3",
  63. "eslint": "^8.56.0",
  64. "eslint-plugin-deprecation": "^2.0.0",
  65. "eslint-plugin-eslint-comments": "^3.2.0",
  66. "eslint-plugin-jsdoc": "^48.0.0",
  67. "eslint-plugin-jsonc": "^2.11.2",
  68. "eslint-plugin-markdown": "^3.0.1",
  69. "eslint-plugin-n": "^16.5.0",
  70. "eslint-plugin-no-only-tests": "^3.1.0",
  71. "eslint-plugin-perfectionist": "^2.5.0",
  72. "eslint-plugin-regexp": "^2.1.2",
  73. "eslint-plugin-vitest": "^0.3.18",
  74. "eslint-plugin-yml": "^1.11.0",
  75. "husky": "^9.0.0",
  76. "jsonc-eslint-parser": "^2.4.0",
  77. "knip": "^4.0.0",
  78. "lint-staged": "^15.2.0",
  79. "markdownlint": "^0.33.0",
  80. "markdownlint-cli": "^0.39.0",
  81. "npm-package-json-lint": "^7.1.0",
  82. "npm-package-json-lint-config-default": "^6.0.0",
  83. "prettier": "^3.1.1",
  84. "prettier-plugin-curly": "^0.1.3",
  85. "prettier-plugin-packagejson": "^2.4.7",
  86. "release-it": "^17.0.1",
  87. "sentences-per-line": "^0.2.1",
  88. "should-semantic-release": "^0.2.1",
  89. "tsup": "^8.0.1",
  90. "typedoc": "^0.24.8",
  91. "typedoc-plugin-coverage": "^2.2.0",
  92. "typedoc-plugin-custom-validation": "^1.1.1",
  93. "typedoc-plugin-konamimojisplosion": "^0.0.2",
  94. "typedoc-plugin-mdn-links": "^3.1.8",
  95. "typedoc-plugin-versions": "^0.2.4",
  96. "typescript": "^5.3.3",
  97. "vitest": "^1.1.0",
  98. "yaml-eslint-parser": "^1.2.2"
  99. },
  100. "peerDependencies": {
  101. "typescript": ">=4.2.0"
  102. },
  103. "packageManager": "pnpm@8.15.1",
  104. "engines": {
  105. "node": ">=16"
  106. },
  107. "publishConfig": {
  108. "provenance": true
  109. }
  110. }