package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "eslint-visitor-keys",
  3. "version": "3.4.2",
  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": "^12.22.0 || ^14.17.0 || >=16.0.0"
  27. },
  28. "devDependencies": {
  29. "@types/estree": "^0.0.51",
  30. "@types/estree-jsx": "^0.0.1",
  31. "@typescript-eslint/parser": "^5.14.0",
  32. "c8": "^7.11.0",
  33. "chai": "^4.3.6",
  34. "eslint": "^7.29.0",
  35. "eslint-config-eslint": "^7.0.0",
  36. "eslint-plugin-jsdoc": "^35.4.0",
  37. "eslint-plugin-node": "^11.1.0",
  38. "eslint-release": "^3.2.0",
  39. "esquery": "^1.4.0",
  40. "json-diff": "^0.7.3",
  41. "mocha": "^9.2.1",
  42. "opener": "^1.5.2",
  43. "rollup": "^2.70.0",
  44. "rollup-plugin-dts": "^4.2.3",
  45. "tsd": "^0.19.1",
  46. "typescript": "^4.6.2"
  47. },
  48. "scripts": {
  49. "prepare": "npm run build",
  50. "bundle": "rollup -c",
  51. "build": "npm run bundle && npm run tsc",
  52. "build:debug": "npm run bundle -- -m && npm run tsc",
  53. "lint": "eslint .",
  54. "tsc": "tsc",
  55. "tsd": "tsd",
  56. "build-keys": "node tools/build-keys-from-ts",
  57. "test": "mocha tests/lib/**/*.cjs && c8 mocha tests/lib/**/*.js && npm run tsd",
  58. "coverage": "c8 report --reporter lcov && opener coverage/lcov-report/index.html",
  59. "generate-release": "eslint-generate-release",
  60. "generate-alpharelease": "eslint-generate-prerelease alpha",
  61. "generate-betarelease": "eslint-generate-prerelease beta",
  62. "generate-rcrelease": "eslint-generate-prerelease rc",
  63. "publish-release": "eslint-publish-release"
  64. },
  65. "repository": "eslint/eslint-visitor-keys",
  66. "funding": "https://opencollective.com/eslint",
  67. "keywords": [],
  68. "author": "Toru Nagashima (https://github.com/mysticatea)",
  69. "license": "Apache-2.0",
  70. "bugs": {
  71. "url": "https://github.com/eslint/eslint-visitor-keys/issues"
  72. },
  73. "homepage": "https://github.com/eslint/eslint-visitor-keys#readme"
  74. }