package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "eslint-utils",
  3. "version": "3.0.0",
  4. "description": "Utilities for ESLint plugins.",
  5. "engines": {
  6. "node": "^10.0.0 || ^12.0.0 || >= 14.0.0"
  7. },
  8. "sideEffects": false,
  9. "main": "index",
  10. "module": "index.mjs",
  11. "files": [
  12. "index.*"
  13. ],
  14. "exports": {
  15. ".": {
  16. "import": "./index.mjs",
  17. "require": "./index.js"
  18. },
  19. "./package.json": "./package.json"
  20. },
  21. "dependencies": {
  22. "eslint-visitor-keys": "^2.0.0"
  23. },
  24. "devDependencies": {
  25. "@mysticatea/eslint-plugin": "^13.0.0",
  26. "codecov": "^3.6.1",
  27. "dot-prop": "^4.2.0",
  28. "eslint": "^7.24.0",
  29. "esm": "^3.2.25",
  30. "espree": "github:eslint/espree#1c744b3a602b783926344811a9459b92afe57444",
  31. "mocha": "^6.2.2",
  32. "npm-run-all": "^4.1.5",
  33. "nyc": "^14.1.1",
  34. "opener": "^1.5.1",
  35. "prettier": "~2.3.0",
  36. "rimraf": "^3.0.0",
  37. "rollup": "^1.25.0",
  38. "rollup-plugin-sourcemaps": "^0.4.2",
  39. "semver": "^7.3.2",
  40. "vuepress": "^1.2.0",
  41. "warun": "^1.0.0"
  42. },
  43. "peerDependencies": {
  44. "eslint": ">=5"
  45. },
  46. "scripts": {
  47. "prebuild": "npm run -s clean",
  48. "build": "rollup -c",
  49. "clean": "rimraf .nyc_output coverage index.*",
  50. "codecov": "nyc report -r lcovonly && codecov",
  51. "coverage": "opener ./coverage/lcov-report/index.html",
  52. "docs:build": "vuepress build docs",
  53. "docs:watch": "vuepress dev docs",
  54. "format": "npm run -s format:prettier -- --write",
  55. "format:prettier": "prettier docs/.vuepress/config.js src/**/*.js test/**/*.js rollup.config.js .vscode/*.json *.json .github/**/*.yml *.yml docs/**/*.md *.md",
  56. "lint": "eslint docs/.vuepress/config.js src test rollup.config.js",
  57. "test": "run-s \"format:prettier -- --check\" lint build test:mocha",
  58. "test:mocha": "nyc mocha --reporter dot \"test/*.js\"",
  59. "preversion": "npm test && npm run -s build",
  60. "postversion": "git push && git push --tags",
  61. "prewatch": "npm run -s clean",
  62. "watch": "warun \"{src,test}/**/*.js\" -- npm run -s test:mocha"
  63. },
  64. "repository": {
  65. "type": "git",
  66. "url": "git+https://github.com/mysticatea/eslint-utils.git"
  67. },
  68. "keywords": [
  69. "eslint"
  70. ],
  71. "author": "Toru Nagashima",
  72. "license": "MIT",
  73. "bugs": {
  74. "url": "https://github.com/mysticatea/eslint-utils/issues"
  75. },
  76. "homepage": "https://github.com/mysticatea/eslint-utils#readme",
  77. "funding": "https://github.com/sponsors/mysticatea"
  78. }