package.json 1.8 KB

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