package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "eslint-visitor-keys",
  3. "version": "4.1.0",
  4. "description": "Constants and utilities about visitor keys to traverse AST.",
  5. "type": "module",
  6. "main": "dist/eslint-visitor-keys.cjs",
  7. "types": "./dist/index.d.ts",
  8. "exports": {
  9. ".": [
  10. {
  11. "import": "./lib/index.js",
  12. "require": "./dist/eslint-visitor-keys.cjs"
  13. },
  14. "./dist/eslint-visitor-keys.cjs"
  15. ],
  16. "./package.json": "./package.json"
  17. },
  18. "files": [
  19. "dist/index.d.ts",
  20. "dist/visitor-keys.d.ts",
  21. "dist/eslint-visitor-keys.cjs",
  22. "dist/eslint-visitor-keys.d.cts",
  23. "lib"
  24. ],
  25. "engines": {
  26. "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
  27. },
  28. "devDependencies": {
  29. "@types/estree": "^0.0.51",
  30. "@types/estree-jsx": "^0.0.1",
  31. "@typescript-eslint/parser": "^8.7.0",
  32. "c8": "^7.11.0",
  33. "chai": "^4.3.6",
  34. "eslint-release": "^3.2.0",
  35. "esquery": "^1.4.0",
  36. "json-diff": "^0.7.3",
  37. "mocha": "^9.2.1",
  38. "opener": "^1.5.2",
  39. "rollup": "^4.22.4",
  40. "rollup-plugin-dts": "^6.1.1",
  41. "tsd": "^0.31.2",
  42. "typescript": "^5.6.2"
  43. },
  44. "scripts": {
  45. "build": "npm run build:cjs && npm run build:types",
  46. "build:cjs": "rollup -c",
  47. "build:debug": "npm run build:cjs -- -m && npm run build:types",
  48. "build:types": "tsc -v && tsc",
  49. "release:generate:latest": "eslint-generate-release",
  50. "release:generate:alpha": "eslint-generate-prerelease alpha",
  51. "release:generate:beta": "eslint-generate-prerelease beta",
  52. "release:generate:rc": "eslint-generate-prerelease rc",
  53. "release:publish": "eslint-publish-release",
  54. "test": "mocha tests/lib/**/*.cjs && c8 mocha tests/lib/**/*.js && npm run test:types",
  55. "test:open-coverage": "c8 report --reporter lcov && opener coverage/lcov-report/index.html",
  56. "test:types": "tsd"
  57. },
  58. "repository": "eslint/js",
  59. "funding": "https://opencollective.com/eslint",
  60. "keywords": [],
  61. "author": "Toru Nagashima (https://github.com/mysticatea)",
  62. "license": "Apache-2.0",
  63. "bugs": {
  64. "url": "https://github.com/eslint/js/issues"
  65. },
  66. "homepage": "https://github.com/eslint/js/blob/main/packages/eslint-visitor-keys/README.md"
  67. }