package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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/js/blob/main/packages/espree/README.md",
  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": "10.2.0",
  20. "files": [
  21. "lib",
  22. "dist/espree.cjs",
  23. "espree.js"
  24. ],
  25. "engines": {
  26. "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
  27. },
  28. "repository": "eslint/js",
  29. "bugs": {
  30. "url": "https://github.com/eslint/js/issues"
  31. },
  32. "funding": "https://opencollective.com/eslint",
  33. "license": "BSD-2-Clause",
  34. "dependencies": {
  35. "acorn": "^8.12.0",
  36. "acorn-jsx": "^5.3.2",
  37. "eslint-visitor-keys": "^4.1.0"
  38. },
  39. "devDependencies": {
  40. "@rollup/plugin-commonjs": "^28.0.0",
  41. "@rollup/plugin-json": "^6.1.0",
  42. "@rollup/plugin-node-resolve": "^15.3.0",
  43. "c8": "^7.11.0",
  44. "eslint-release": "^3.2.0",
  45. "esprima-fb": "^8001.2001.0-dev-harmony-fb",
  46. "mocha": "^9.2.2",
  47. "npm-run-all2": "^6.2.2",
  48. "rollup": "^2.79.1",
  49. "shelljs": "^0.8.5"
  50. },
  51. "keywords": [
  52. "ast",
  53. "ecmascript",
  54. "javascript",
  55. "parser",
  56. "syntax",
  57. "acorn"
  58. ],
  59. "scripts": {
  60. "build": "rollup -c rollup.config.js",
  61. "build:debug": "npm run build -- -m",
  62. "build:docs": "node tools/sync-docs.js",
  63. "build:update-version": "node tools/update-version.js",
  64. "prepublishOnly": "npm run build:update-version && npm run build",
  65. "pretest": "npm run build",
  66. "release:generate:latest": "eslint-generate-release",
  67. "release:generate:alpha": "eslint-generate-prerelease alpha",
  68. "release:generate:beta": "eslint-generate-prerelease beta",
  69. "release:generate:rc": "eslint-generate-prerelease rc",
  70. "release:publish": "eslint-publish-release",
  71. "test": "npm-run-all -s test:*",
  72. "test:cjs": "mocha --color --reporter progress --timeout 30000 tests/lib/commonjs.cjs",
  73. "test:esm": "c8 mocha --color --reporter progress --timeout 30000 'tests/lib/**/*.js'"
  74. }
  75. }