1 | {
|
2 | "name": "eslint",
|
3 | "version": "9.1.1",
|
4 | "author": "Nicholas C. Zakas <nicholas+npm@nczconsulting.com>",
|
5 | "description": "An AST-based pattern checker for JavaScript.",
|
6 | "bin": {
|
7 | "eslint": "./bin/eslint.js"
|
8 | },
|
9 | "main": "./lib/api.js",
|
10 | "exports": {
|
11 | "./package.json": "./package.json",
|
12 | ".": "./lib/api.js",
|
13 | "./use-at-your-own-risk": "./lib/unsupported-api.js"
|
14 | },
|
15 | "scripts": {
|
16 | "build:docs:update-links": "node tools/fetch-docs-links.js",
|
17 | "build:site": "node Makefile.js gensite",
|
18 | "build:webpack": "node Makefile.js webpack",
|
19 | "build:readme": "node tools/update-readme.js",
|
20 | "build:rules-index": "node Makefile.js generateRuleIndexPage",
|
21 | "lint": "node Makefile.js lint",
|
22 | "lint:docs:js": "node Makefile.js lintDocsJS",
|
23 | "lint:docs:rule-examples": "node Makefile.js checkRuleExamples",
|
24 | "lint:fix": "node Makefile.js lint -- fix",
|
25 | "lint:fix:docs:js": "node Makefile.js lintDocsJS -- fix",
|
26 | "lint:unused": "knip",
|
27 | "release:generate:alpha": "node Makefile.js generatePrerelease -- alpha",
|
28 | "release:generate:beta": "node Makefile.js generatePrerelease -- beta",
|
29 | "release:generate:latest": "node Makefile.js generateRelease",
|
30 | "release:generate:rc": "node Makefile.js generatePrerelease -- rc",
|
31 | "release:publish": "node Makefile.js publishRelease",
|
32 | "test": "node Makefile.js test",
|
33 | "test:browser": "node Makefile.js wdio",
|
34 | "test:cli": "mocha",
|
35 | "test:fuzz": "node Makefile.js fuzz",
|
36 | "test:performance": "node Makefile.js perf",
|
37 | "test:emfile": "node tools/check-emfile-handling.js"
|
38 | },
|
39 | "gitHooks": {
|
40 | "pre-commit": "lint-staged"
|
41 | },
|
42 | "lint-staged": {
|
43 | "*.js": "eslint --fix",
|
44 | "*.md": "markdownlint --fix",
|
45 | "lib/rules/*.js": [
|
46 | "node tools/update-eslint-all.js",
|
47 | "git add packages/js/src/configs/eslint-all.js"
|
48 | ],
|
49 | "docs/src/rules/*.md": [
|
50 | "node tools/check-rule-examples.js",
|
51 | "node tools/fetch-docs-links.js",
|
52 | "git add docs/src/_data/further_reading_links.json"
|
53 | ],
|
54 | "docs/**/*.svg": "npx -y svgo -r --multipass"
|
55 | },
|
56 | "files": [
|
57 | "LICENSE",
|
58 | "README.md",
|
59 | "bin",
|
60 | "conf",
|
61 | "lib",
|
62 | "messages"
|
63 | ],
|
64 | "repository": "eslint/eslint",
|
65 | "funding": "https://opencollective.com/eslint",
|
66 | "homepage": "https://eslint.org",
|
67 | "bugs": "https://github.com/eslint/eslint/issues/",
|
68 | "dependencies": {
|
69 | "@eslint-community/eslint-utils": "^4.2.0",
|
70 | "@eslint-community/regexpp": "^4.6.1",
|
71 | "@eslint/eslintrc": "^3.0.2",
|
72 | "@eslint/js": "9.1.1",
|
73 | "@humanwhocodes/config-array": "^0.13.0",
|
74 | "@humanwhocodes/module-importer": "^1.0.1",
|
75 | "@humanwhocodes/retry": "^0.2.3",
|
76 | "@nodelib/fs.walk": "^1.2.8",
|
77 | "ajv": "^6.12.4",
|
78 | "chalk": "^4.0.0",
|
79 | "cross-spawn": "^7.0.2",
|
80 | "debug": "^4.3.2",
|
81 | "escape-string-regexp": "^4.0.0",
|
82 | "eslint-scope": "^8.0.1",
|
83 | "eslint-visitor-keys": "^4.0.0",
|
84 | "espree": "^10.0.1",
|
85 | "esquery": "^1.4.2",
|
86 | "esutils": "^2.0.2",
|
87 | "fast-deep-equal": "^3.1.3",
|
88 | "file-entry-cache": "^8.0.0",
|
89 | "find-up": "^5.0.0",
|
90 | "glob-parent": "^6.0.2",
|
91 | "ignore": "^5.2.0",
|
92 | "imurmurhash": "^0.1.4",
|
93 | "is-glob": "^4.0.0",
|
94 | "is-path-inside": "^3.0.3",
|
95 | "json-stable-stringify-without-jsonify": "^1.0.1",
|
96 | "levn": "^0.4.1",
|
97 | "lodash.merge": "^4.6.2",
|
98 | "minimatch": "^3.1.2",
|
99 | "natural-compare": "^1.4.0",
|
100 | "optionator": "^0.9.3",
|
101 | "strip-ansi": "^6.0.1",
|
102 | "text-table": "^0.2.0"
|
103 | },
|
104 | "devDependencies": {
|
105 | "@babel/core": "^7.4.3",
|
106 | "@babel/preset-env": "^7.4.3",
|
107 | "@types/estree": "^1.0.5",
|
108 | "@types/node": "^20.11.5",
|
109 | "@wdio/browser-runner": "^8.14.6",
|
110 | "@wdio/cli": "^8.14.6",
|
111 | "@wdio/concise-reporter": "^8.14.0",
|
112 | "@wdio/globals": "^8.14.6",
|
113 | "@wdio/mocha-framework": "^8.14.0",
|
114 | "babel-loader": "^8.0.5",
|
115 | "c8": "^7.12.0",
|
116 | "chai": "^4.0.1",
|
117 | "cheerio": "^0.22.0",
|
118 | "common-tags": "^1.8.0",
|
119 | "core-js": "^3.1.3",
|
120 | "ejs": "^3.0.2",
|
121 | "eslint": "file:.",
|
122 | "eslint-config-eslint": "file:packages/eslint-config-eslint",
|
123 | "eslint-plugin-eslint-comments": "^3.2.0",
|
124 | "eslint-plugin-eslint-plugin": "^6.0.0",
|
125 | "eslint-plugin-internal-rules": "file:tools/internal-rules",
|
126 | "eslint-plugin-jsdoc": "^46.9.0",
|
127 | "eslint-plugin-n": "^16.6.0",
|
128 | "eslint-plugin-unicorn": "^49.0.0",
|
129 | "eslint-release": "^3.2.2",
|
130 | "eslump": "^3.0.0",
|
131 | "esprima": "^4.0.1",
|
132 | "fast-glob": "^3.2.11",
|
133 | "fs-teardown": "^0.1.3",
|
134 | "glob": "^10.0.0",
|
135 | "globals": "^15.0.0",
|
136 | "got": "^11.8.3",
|
137 | "gray-matter": "^4.0.3",
|
138 | "js-yaml": "^4.1.0",
|
139 | "knip": "^5.8.0",
|
140 | "lint-staged": "^11.0.0",
|
141 | "load-perf": "^0.2.0",
|
142 | "markdown-it": "^12.2.0",
|
143 | "markdown-it-container": "^3.0.0",
|
144 | "markdownlint": "^0.34.0",
|
145 | "markdownlint-cli": "^0.39.0",
|
146 | "marked": "^4.0.8",
|
147 | "metascraper": "^5.25.7",
|
148 | "metascraper-description": "^5.25.7",
|
149 | "metascraper-image": "^5.29.3",
|
150 | "metascraper-logo": "^5.25.7",
|
151 | "metascraper-logo-favicon": "^5.25.7",
|
152 | "metascraper-title": "^5.25.7",
|
153 | "mocha": "^8.3.2",
|
154 | "node-polyfill-webpack-plugin": "^1.0.3",
|
155 | "npm-license": "^0.3.3",
|
156 | "pirates": "^4.0.5",
|
157 | "progress": "^2.0.3",
|
158 | "proxyquire": "^2.0.1",
|
159 | "recast": "^0.23.0",
|
160 | "regenerator-runtime": "^0.14.0",
|
161 | "rollup-plugin-node-polyfills": "^0.2.1",
|
162 | "semver": "^7.5.3",
|
163 | "shelljs": "^0.8.5",
|
164 | "sinon": "^11.0.0",
|
165 | "typescript": "^5.3.3",
|
166 | "vite-plugin-commonjs": "^0.10.0",
|
167 | "webpack": "^5.23.0",
|
168 | "webpack-cli": "^4.5.0",
|
169 | "yorkie": "^2.0.0"
|
170 | },
|
171 | "keywords": [
|
172 | "ast",
|
173 | "lint",
|
174 | "javascript",
|
175 | "ecmascript",
|
176 | "espree"
|
177 | ],
|
178 | "license": "MIT",
|
179 | "engines": {
|
180 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
181 | }
|
182 | }
|