package.json 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "@eslint-community/eslint-utils",
  3. "version": "4.9.0",
  4. "description": "Utilities for ESLint plugins.",
  5. "keywords": [
  6. "eslint"
  7. ],
  8. "homepage": "https://github.com/eslint-community/eslint-utils#readme",
  9. "bugs": {
  10. "url": "https://github.com/eslint-community/eslint-utils/issues"
  11. },
  12. "repository": {
  13. "type": "git",
  14. "url": "https://github.com/eslint-community/eslint-utils"
  15. },
  16. "license": "MIT",
  17. "author": "Toru Nagashima",
  18. "sideEffects": false,
  19. "exports": {
  20. ".": {
  21. "import": "./index.mjs",
  22. "require": "./index.js"
  23. },
  24. "./package.json": "./package.json"
  25. },
  26. "main": "index",
  27. "module": "index.mjs",
  28. "files": [
  29. "index.*"
  30. ],
  31. "scripts": {
  32. "prebuild": "npm run -s clean",
  33. "build": "npm run build:dts && npm run build:rollup",
  34. "build:dts": "tsc -p tsconfig.build.json",
  35. "build:rollup": "rollup -c",
  36. "clean": "rimraf .nyc_output coverage index.* dist",
  37. "coverage": "opener ./coverage/lcov-report/index.html",
  38. "docs:build": "vitepress build docs",
  39. "docs:watch": "vitepress dev docs",
  40. "format": "npm run -s format:prettier -- --write",
  41. "format:prettier": "prettier .",
  42. "format:check": "npm run -s format:prettier -- --check",
  43. "lint:eslint": "eslint .",
  44. "lint:format": "npm run -s format:check",
  45. "lint:installed-check": "installed-check -v -i installed-check -i npm-run-all2 -i knip -i rollup-plugin-dts",
  46. "lint:knip": "knip",
  47. "lint": "run-p lint:*",
  48. "test-coverage": "c8 mocha --reporter dot \"test/*.mjs\"",
  49. "test": "mocha --reporter dot \"test/*.mjs\"",
  50. "preversion": "npm run test-coverage && npm run -s build",
  51. "postversion": "git push && git push --tags",
  52. "prewatch": "npm run -s clean",
  53. "watch": "warun \"{src,test}/**/*.mjs\" -- npm run -s test:mocha"
  54. },
  55. "dependencies": {
  56. "eslint-visitor-keys": "^3.4.3"
  57. },
  58. "devDependencies": {
  59. "@eslint-community/eslint-plugin-mysticatea": "^15.6.1",
  60. "@types/eslint": "^9.6.1",
  61. "@types/estree": "^1.0.7",
  62. "@typescript-eslint/parser": "^5.62.0",
  63. "@typescript-eslint/types": "^5.62.0",
  64. "c8": "^8.0.1",
  65. "dot-prop": "^7.2.0",
  66. "eslint": "^8.57.1",
  67. "installed-check": "^8.0.1",
  68. "knip": "^5.33.3",
  69. "mocha": "^9.2.2",
  70. "npm-run-all2": "^6.2.3",
  71. "opener": "^1.5.2",
  72. "prettier": "2.8.8",
  73. "rimraf": "^3.0.2",
  74. "rollup": "^2.79.2",
  75. "rollup-plugin-dts": "^4.2.3",
  76. "rollup-plugin-sourcemaps": "^0.6.3",
  77. "semver": "^7.6.3",
  78. "typescript": "^4.9.5",
  79. "vitepress": "^1.4.1",
  80. "warun": "^1.0.0"
  81. },
  82. "peerDependencies": {
  83. "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
  84. },
  85. "engines": {
  86. "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
  87. },
  88. "funding": "https://opencollective.com/eslint"
  89. }