| { |
| "name": "espree", |
| "description": "An Esprima-compatible JavaScript parser built on Acorn", |
| "author": "Nicholas C. Zakas <nicholas+npm@nczconsulting.com>", |
| "homepage": "https://github.com/eslint/js/blob/main/packages/espree/README.md", |
| "main": "dist/espree.cjs", |
| "types": "./dist/espree.d.cts", |
| "type": "module", |
| "exports": { |
| ".": { |
| "types": { |
| "import": "./dist/espree.d.ts", |
| "require": "./dist/espree.d.cts" |
| }, |
| "import": "./espree.js", |
| "require": "./dist/espree.cjs", |
| "default": "./dist/espree.cjs" |
| }, |
| "./package.json": "./package.json" |
| }, |
| "version": "11.2.0", |
| "files": [ |
| "lib", |
| "dist", |
| "espree.js" |
| ], |
| "engines": { |
| "node": "^20.19.0 || ^22.13.0 || >=24" |
| }, |
| "repository": { |
| "type": "git", |
| "url": "https://github.com/eslint/js.git", |
| "directory": "packages/espree" |
| }, |
| "bugs": { |
| "url": "https://github.com/eslint/js/issues" |
| }, |
| "funding": "https://opencollective.com/eslint", |
| "license": "BSD-2-Clause", |
| "dependencies": { |
| "acorn": "^8.16.0", |
| "acorn-jsx": "^5.3.2", |
| "eslint-visitor-keys": "^5.0.1" |
| }, |
| "devDependencies": { |
| "shelljs": "^0.8.5", |
| "tsd": "^0.33.0" |
| }, |
| "keywords": [ |
| "ast", |
| "ecmascript", |
| "javascript", |
| "parser", |
| "syntax", |
| "acorn" |
| ], |
| "scripts": { |
| "build": "rollup -c rollup.config.js && npm run build:types && node -e \"fs.rmSync('dist/lib', { recursive: true })\"", |
| "build:debug": "npm run build -- -m", |
| "build:docs": "node tools/sync-docs.js", |
| "build:types": "tsc && tsc -p tsconfig-cjs.json", |
| "lint:types": "attw --pack", |
| "pretest": "npm run build", |
| "test": "npm run test:types && npm run test:cjs && npm run test:esm", |
| "test:cjs": "mocha --color --reporter progress --timeout 30000 \"tests/**/*.test.cjs\"", |
| "test:esm": "c8 mocha --color --reporter progress --timeout 30000 \"tests/**/*.test.js\"", |
| "test:types": "tsd --typings dist/espree.d.ts" |
| }, |
| "sideEffects": false |
| } |
|
|