package.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "espree",
  3. "description": "An Esprima-compatible JavaScript parser built on Acorn",
  4. "author": "Nicholas C. Zakas <nicholas+npm@nczconsulting.com>",
  5. "homepage": "https://github.com/eslint/espree",
  6. "main": "dist/espree.cjs",
  7. "type": "module",
  8. "exports": {
  9. ".": [
  10. {
  11. "import": "./espree.js",
  12. "require": "./dist/espree.cjs",
  13. "default": "./dist/espree.cjs"
  14. },
  15. "./dist/espree.cjs"
  16. ],
  17. "./package.json": "./package.json"
  18. },
  19. "version": "9.4.1",
  20. "files": [
  21. "lib",
  22. "dist/espree.cjs",
  23. "espree.js"
  24. ],
  25. "engines": {
  26. "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
  27. },
  28. "repository": "eslint/espree",
  29. "bugs": {
  30. "url": "https://github.com/eslint/espree/issues"
  31. },
  32. "funding": "https://opencollective.com/eslint",
  33. "license": "BSD-2-Clause",
  34. "dependencies": {
  35. "acorn": "^8.8.0",
  36. "acorn-jsx": "^5.3.2",
  37. "eslint-visitor-keys": "^3.3.0"
  38. },
  39. "devDependencies": {
  40. "@rollup/plugin-commonjs": "^17.1.0",
  41. "@rollup/plugin-json": "^4.1.0",
  42. "@rollup/plugin-node-resolve": "^11.2.0",
  43. "c8": "^7.11.0",
  44. "chai": "^4.3.6",
  45. "eslint": "^8.13.0",
  46. "eslint-config-eslint": "^7.0.0",
  47. "eslint-plugin-jsdoc": "^39.2.4",
  48. "eslint-plugin-node": "^11.1.0",
  49. "eslint-release": "^3.2.0",
  50. "esprima-fb": "^8001.2001.0-dev-harmony-fb",
  51. "mocha": "^9.2.2",
  52. "npm-run-all": "^4.1.5",
  53. "rollup": "^2.41.2",
  54. "shelljs": "^0.3.0"
  55. },
  56. "keywords": [
  57. "ast",
  58. "ecmascript",
  59. "javascript",
  60. "parser",
  61. "syntax",
  62. "acorn"
  63. ],
  64. "scripts": {
  65. "unit": "npm-run-all -s unit:*",
  66. "unit:esm": "c8 mocha --color --reporter progress --timeout 30000 'tests/lib/**/*.js'",
  67. "unit:cjs": "mocha --color --reporter progress --timeout 30000 tests/lib/commonjs.cjs",
  68. "test": "npm-run-all -p unit lint",
  69. "lint": "eslint .",
  70. "fixlint": "npm run lint -- --fix",
  71. "build": "rollup -c rollup.config.js",
  72. "update-version": "node tools/update-version.js",
  73. "pretest": "npm run build",
  74. "prepublishOnly": "npm run update-version && npm run build",
  75. "sync-docs": "node sync-docs.js",
  76. "generate-release": "eslint-generate-release",
  77. "generate-alpharelease": "eslint-generate-prerelease alpha",
  78. "generate-betarelease": "eslint-generate-prerelease beta",
  79. "generate-rcrelease": "eslint-generate-prerelease rc",
  80. "publish-release": "eslint-publish-release"
  81. }
  82. }