package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "name": "vue-eslint-parser",
  3. "version": "9.3.1",
  4. "description": "The ESLint custom parser for `.vue` files.",
  5. "engines": {
  6. "node": "^14.17.0 || >=16.0.0"
  7. },
  8. "main": "index.js",
  9. "files": [
  10. "index.*"
  11. ],
  12. "peerDependencies": {
  13. "eslint": ">=6.0.0"
  14. },
  15. "dependencies": {
  16. "debug": "^4.3.4",
  17. "eslint-scope": "^7.1.1",
  18. "eslint-visitor-keys": "^3.3.0",
  19. "espree": "^9.3.1",
  20. "esquery": "^1.4.0",
  21. "lodash": "^4.17.21",
  22. "semver": "^7.3.6"
  23. },
  24. "devDependencies": {
  25. "@babel/core": "^7.16.0",
  26. "@babel/eslint-parser": "^7.16.3",
  27. "@babel/plugin-syntax-decorators": "^7.16.0",
  28. "@babel/plugin-syntax-pipeline-operator": "^7.16.0",
  29. "@babel/plugin-syntax-typescript": "^7.16.0",
  30. "@types/debug": "^4.1.7",
  31. "@types/eslint": "^8.4.6",
  32. "@types/estree": "^1.0.0",
  33. "@types/lodash": "^4.14.186",
  34. "@types/mocha": "^9.0.0",
  35. "@types/node": "^18.8.4",
  36. "@types/semver": "^7.3.12",
  37. "@typescript-eslint/eslint-plugin": "^5.18.0",
  38. "@typescript-eslint/parser": "^5.18.0",
  39. "chokidar": "^3.5.2",
  40. "codecov": "^3.8.3",
  41. "cross-spawn": "^7.0.3",
  42. "dts-bundle": "^0.7.3",
  43. "eslint": "^8.12.0",
  44. "eslint-plugin-eslint-comments": "^3.2.0",
  45. "eslint-plugin-jsonc": "^2.2.1",
  46. "eslint-plugin-node": "^11.1.0",
  47. "eslint-plugin-node-dependencies": "^0.8.0",
  48. "eslint-plugin-prettier": "^4.0.0",
  49. "fs-extra": "^10.0.0",
  50. "jsonc-eslint-parser": "^2.0.3",
  51. "mocha": "^9.1.3",
  52. "npm-run-all": "^4.1.5",
  53. "nyc": "^15.1.0",
  54. "opener": "^1.5.2",
  55. "prettier": "^2.4.1",
  56. "rimraf": "^3.0.2",
  57. "rollup": "^2.60.0",
  58. "rollup-plugin-node-resolve": "^5.2.0",
  59. "rollup-plugin-replace": "^2.2.0",
  60. "rollup-plugin-sourcemaps": "^0.6.3",
  61. "ts-node": "^10.4.0",
  62. "typescript": "~4.8.4",
  63. "wait-on": "^6.0.0",
  64. "warun": "^1.0.0"
  65. },
  66. "scripts": {
  67. "prebuild": "npm run -s clean",
  68. "build": "tsc --module es2015 && rollup -c -o index.js && dts-bundle --name vue-eslint-parser --main .temp/index.d.ts --out ../index.d.ts",
  69. "clean": "rimraf .nyc_output .temp coverage index.*",
  70. "codecov": "codecov",
  71. "coverage": "opener ./coverage/lcov-report/index.html",
  72. "lint": "eslint src test package.json --ext .js,.ts",
  73. "setup": "git submodule update --init && cd test/fixtures/eslint && npm install",
  74. "pretest": "run-s build lint",
  75. "test": "npm run -s test:mocha",
  76. "test:mocha": "mocha --require ts-node/register \"test/*.js\" --reporter dot --timeout 60000",
  77. "test:cover": "nyc mocha \"test/*.js\" --reporter dot --timeout 60000",
  78. "test:debug": "mocha --require ts-node/register/transpile-only \"test/*.js\" --reporter dot --timeout 60000",
  79. "update-fixtures": "ts-node --transpile-only scripts/update-fixtures-ast.js && ts-node --transpile-only scripts/update-fixtures-document-fragment.js",
  80. "preversion": "npm test",
  81. "version": "npm run -s build",
  82. "postversion": "git push && git push --tags",
  83. "prewatch": "npm run -s clean",
  84. "watch": "run-p watch:*",
  85. "watch:tsc": "tsc --module es2015 --watch",
  86. "watch:rollup": "wait-on .temp/index.js && rollup -c -o index.js --watch",
  87. "watch:test": "wait-on index.js && warun index.js \"test/*.js\" \"test/fixtures/ast/*/*.json\" \"test/fixtures/*\" --debounce 1000 --no-initial -- nyc mocha \"test/*.js\" --reporter dot --timeout 10000",
  88. "watch:update-ast": "wait-on index.js && warun index.js \"test/fixtures/ast/*/*.vue\" -- node scripts/update-fixtures-ast.js",
  89. "watch:coverage-report": "wait-on coverage/lcov-report/index.html && opener coverage/lcov-report/index.html"
  90. },
  91. "repository": {
  92. "type": "git",
  93. "url": "git+https://github.com/vuejs/vue-eslint-parser.git"
  94. },
  95. "keywords": [],
  96. "author": "Toru Nagashima",
  97. "license": "MIT",
  98. "bugs": {
  99. "url": "https://github.com/vuejs/vue-eslint-parser/issues"
  100. },
  101. "homepage": "https://github.com/vuejs/vue-eslint-parser#readme",
  102. "funding": "https://github.com/sponsors/mysticatea"
  103. }