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.6.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.9.0",
|
---|
36 | "acorn-jsx": "^5.3.2",
|
---|
37 | "eslint-visitor-keys": "^3.4.1"
|
---|
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.44.0",
|
---|
46 | "eslint-config-eslint": "^8.0.0",
|
---|
47 | "eslint-plugin-n": "^16.0.0",
|
---|
48 | "eslint-release": "^3.2.0",
|
---|
49 | "esprima-fb": "^8001.2001.0-dev-harmony-fb",
|
---|
50 | "globals": "^13.20.0",
|
---|
51 | "lint-staged": "^13.2.0",
|
---|
52 | "mocha": "^9.2.2",
|
---|
53 | "npm-run-all": "^4.1.5",
|
---|
54 | "rollup": "^2.41.2",
|
---|
55 | "shelljs": "^0.3.0",
|
---|
56 | "yorkie": "^2.0.0"
|
---|
57 | },
|
---|
58 | "keywords": [
|
---|
59 | "ast",
|
---|
60 | "ecmascript",
|
---|
61 | "javascript",
|
---|
62 | "parser",
|
---|
63 | "syntax",
|
---|
64 | "acorn"
|
---|
65 | ],
|
---|
66 | "gitHooks": {
|
---|
67 | "pre-commit": "lint-staged"
|
---|
68 | },
|
---|
69 | "scripts": {
|
---|
70 | "unit": "npm-run-all -s unit:*",
|
---|
71 | "unit:esm": "c8 mocha --color --reporter progress --timeout 30000 'tests/lib/**/*.js'",
|
---|
72 | "unit:cjs": "mocha --color --reporter progress --timeout 30000 tests/lib/commonjs.cjs",
|
---|
73 | "test": "npm-run-all -p unit lint",
|
---|
74 | "lint": "eslint . --report-unused-disable-directives",
|
---|
75 | "fixlint": "npm run lint -- --fix",
|
---|
76 | "build": "rollup -c rollup.config.js",
|
---|
77 | "build:debug": "npm run build -- -m",
|
---|
78 | "update-version": "node tools/update-version.js",
|
---|
79 | "pretest": "npm run build",
|
---|
80 | "prepublishOnly": "npm run update-version && npm run build",
|
---|
81 | "sync-docs": "node sync-docs.js",
|
---|
82 | "generate-release": "eslint-generate-release",
|
---|
83 | "generate-alpharelease": "eslint-generate-prerelease alpha",
|
---|
84 | "generate-betarelease": "eslint-generate-prerelease beta",
|
---|
85 | "generate-rcrelease": "eslint-generate-prerelease rc",
|
---|
86 | "publish-release": "eslint-publish-release"
|
---|
87 | }
|
---|
88 | }
|
---|