package.json 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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.3.0",
  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": "http://github.com/eslint/espree.git"
  31. },
  32. "license": "BSD-2-Clause",
  33. "dependencies": {
  34. "acorn": "^8.7.0",
  35. "acorn-jsx": "^5.3.1",
  36. "eslint-visitor-keys": "^3.1.0"
  37. },
  38. "devDependencies": {
  39. "@rollup/plugin-commonjs": "^17.1.0",
  40. "@rollup/plugin-json": "^4.1.0",
  41. "@rollup/plugin-node-resolve": "^11.2.0",
  42. "chai": "^4.3.4",
  43. "eslint": "^7.22.0",
  44. "eslint-config-eslint": "^7.0.0",
  45. "eslint-plugin-jsdoc": "^32.2.0",
  46. "eslint-plugin-node": "^11.1.0",
  47. "eslint-release": "^3.2.0",
  48. "esprima": "latest",
  49. "esprima-fb": "^8001.2001.0-dev-harmony-fb",
  50. "json-diff": "^0.5.4",
  51. "mocha": "^8.3.1",
  52. "npm-run-all": "^4.1.5",
  53. "nyc": "^14.1.1",
  54. "regenerate": "^1.4.0",
  55. "rollup": "^2.41.2",
  56. "shelljs": "^0.3.0",
  57. "shelljs-nodecli": "^0.1.1",
  58. "unicode-6.3.0": "^0.7.5"
  59. },
  60. "keywords": [
  61. "ast",
  62. "ecmascript",
  63. "javascript",
  64. "parser",
  65. "syntax",
  66. "acorn"
  67. ],
  68. "scripts": {
  69. "unit": "npm-run-all -s unit:*",
  70. "unit:esm": "nyc mocha --color --reporter progress --timeout 30000 'tests/lib/**/*.js'",
  71. "unit:cjs": "mocha --color --reporter progress --timeout 30000 tests/lib/commonjs.cjs",
  72. "test": "npm-run-all -p unit lint",
  73. "lint": "eslint \"*.?(c)js\" lib/ tests/lib/",
  74. "fixlint": "npm run lint -- --fix",
  75. "build": "rollup -c rollup.config.js",
  76. "update-version": "node tools/update-version.js",
  77. "pretest": "npm run build",
  78. "prepublishOnly": "npm run update-version && npm run build",
  79. "sync-docs": "node sync-docs.js",
  80. "generate-release": "eslint-generate-release",
  81. "generate-alpharelease": "eslint-generate-prerelease alpha",
  82. "generate-betarelease": "eslint-generate-prerelease beta",
  83. "generate-rcrelease": "eslint-generate-prerelease rc",
  84. "publish-release": "eslint-publish-release"
  85. }
  86. }