package.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "name": "vue-eslint-parser",
  3. "version": "8.3.0",
  4. "description": "The ESLint custom parser for `.vue` files.",
  5. "engines": {
  6. "node": "^12.22.0 || ^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.2",
  17. "eslint-scope": "^7.0.0",
  18. "eslint-visitor-keys": "^3.1.0",
  19. "espree": "^9.0.0",
  20. "esquery": "^1.4.0",
  21. "lodash": "^4.17.21",
  22. "semver": "^7.3.5"
  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": "^7.29.0",
  32. "@types/estree": "^0.0.50",
  33. "@types/lodash": "^4.14.177",
  34. "@types/mocha": "^9.0.0",
  35. "@types/node": "^16.11.7",
  36. "@types/semver": "^7.3.9",
  37. "@typescript-eslint/eslint-plugin": "^5.4.0",
  38. "@typescript-eslint/parser": "^5.4.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.2.0",
  44. "eslint-plugin-eslint-comments": "^3.2.0",
  45. "eslint-plugin-jsonc": "^2.0.0",
  46. "eslint-plugin-node": "^11.1.0",
  47. "eslint-plugin-node-dependencies": "^0.6.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-sourcemaps": "^0.6.3",
  60. "ts-node": "^10.4.0",
  61. "typescript": "~4.4.4",
  62. "wait-on": "^6.0.0",
  63. "warun": "^1.0.0"
  64. },
  65. "scripts": {
  66. "prebuild": "npm run -s clean",
  67. "build": "tsc --module es2015 && rollup -c -o index.js && dts-bundle --name vue-eslint-parser --main .temp/index.d.ts --out ../index.d.ts",
  68. "clean": "rimraf .nyc_output .temp coverage index.*",
  69. "codecov": "codecov",
  70. "coverage": "opener ./coverage/lcov-report/index.html",
  71. "lint": "eslint src test package.json --ext .js,.ts",
  72. "setup": "git submodule update --init && cd test/fixtures/eslint && npm install",
  73. "pretest": "run-s build lint",
  74. "test": "npm run -s test:mocha",
  75. "test:mocha": "nyc mocha \"test/*.js\" --reporter dot --timeout 60000",
  76. "test:debug": "mocha --require ts-node/register/transpile-only \"test/*.js\" --reporter dot --timeout 60000",
  77. "preupdate-fixtures": "npm run -s build",
  78. "update-fixtures": "node scripts/update-fixtures-ast.js && node scripts/update-fixtures-document-fragment.js",
  79. "preversion": "npm test",
  80. "version": "npm run -s build",
  81. "postversion": "git push && git push --tags",
  82. "prewatch": "npm run -s clean",
  83. "watch": "run-p watch:*",
  84. "watch:tsc": "tsc --module es2015 --watch",
  85. "watch:rollup": "wait-on .temp/index.js && rollup -c -o index.js --watch",
  86. "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",
  87. "watch:update-ast": "wait-on index.js && warun index.js \"test/fixtures/ast/*/*.vue\" -- node scripts/update-fixtures-ast.js",
  88. "watch:coverage-report": "wait-on coverage/lcov-report/index.html && opener coverage/lcov-report/index.html"
  89. },
  90. "repository": {
  91. "type": "git",
  92. "url": "git+https://github.com/vuejs/vue-eslint-parser.git"
  93. },
  94. "keywords": [],
  95. "author": "Toru Nagashima",
  96. "license": "MIT",
  97. "bugs": {
  98. "url": "https://github.com/vuejs/vue-eslint-parser/issues"
  99. },
  100. "homepage": "https://github.com/vuejs/vue-eslint-parser#readme",
  101. "funding": "https://github.com/sponsors/mysticatea"
  102. }