1 | {
|
---|
2 | "name": "eslint",
|
---|
3 | "version": "8.57.0",
|
---|
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 | "lint": "node Makefile.js lint",
|
---|
21 | "lint:docs:js": "node Makefile.js lintDocsJS",
|
---|
22 | "lint:docs:rule-examples": "node Makefile.js checkRuleExamples",
|
---|
23 | "lint:fix": "node Makefile.js lint -- fix",
|
---|
24 | "lint:fix:docs:js": "node Makefile.js lintDocsJS -- fix",
|
---|
25 | "release:generate:alpha": "node Makefile.js generatePrerelease -- alpha",
|
---|
26 | "release:generate:beta": "node Makefile.js generatePrerelease -- beta",
|
---|
27 | "release:generate:latest": "node Makefile.js generateRelease",
|
---|
28 | "release:generate:rc": "node Makefile.js generatePrerelease -- rc",
|
---|
29 | "release:publish": "node Makefile.js publishRelease",
|
---|
30 | "test": "node Makefile.js test",
|
---|
31 | "test:cli": "mocha",
|
---|
32 | "test:fuzz": "node Makefile.js fuzz",
|
---|
33 | "test:performance": "node Makefile.js perf"
|
---|
34 | },
|
---|
35 | "gitHooks": {
|
---|
36 | "pre-commit": "lint-staged"
|
---|
37 | },
|
---|
38 | "lint-staged": {
|
---|
39 | "*.js": "eslint --fix",
|
---|
40 | "*.md": "markdownlint --fix",
|
---|
41 | "lib/rules/*.js": [
|
---|
42 | "node tools/update-eslint-all.js",
|
---|
43 | "git add packages/js/src/configs/eslint-all.js"
|
---|
44 | ],
|
---|
45 | "docs/src/rules/*.md": [
|
---|
46 | "node tools/check-rule-examples.js",
|
---|
47 | "node tools/fetch-docs-links.js",
|
---|
48 | "git add docs/src/_data/further_reading_links.json"
|
---|
49 | ],
|
---|
50 | "docs/**/*.svg": "npx svgo -r --multipass"
|
---|
51 | },
|
---|
52 | "files": [
|
---|
53 | "LICENSE",
|
---|
54 | "README.md",
|
---|
55 | "bin",
|
---|
56 | "conf",
|
---|
57 | "lib",
|
---|
58 | "messages"
|
---|
59 | ],
|
---|
60 | "repository": "eslint/eslint",
|
---|
61 | "funding": "https://opencollective.com/eslint",
|
---|
62 | "homepage": "https://eslint.org",
|
---|
63 | "bugs": "https://github.com/eslint/eslint/issues/",
|
---|
64 | "dependencies": {
|
---|
65 | "@eslint-community/eslint-utils": "^4.2.0",
|
---|
66 | "@eslint-community/regexpp": "^4.6.1",
|
---|
67 | "@eslint/eslintrc": "^2.1.4",
|
---|
68 | "@eslint/js": "8.57.0",
|
---|
69 | "@humanwhocodes/config-array": "^0.11.14",
|
---|
70 | "@humanwhocodes/module-importer": "^1.0.1",
|
---|
71 | "@nodelib/fs.walk": "^1.2.8",
|
---|
72 | "@ungap/structured-clone": "^1.2.0",
|
---|
73 | "ajv": "^6.12.4",
|
---|
74 | "chalk": "^4.0.0",
|
---|
75 | "cross-spawn": "^7.0.2",
|
---|
76 | "debug": "^4.3.2",
|
---|
77 | "doctrine": "^3.0.0",
|
---|
78 | "escape-string-regexp": "^4.0.0",
|
---|
79 | "eslint-scope": "^7.2.2",
|
---|
80 | "eslint-visitor-keys": "^3.4.3",
|
---|
81 | "espree": "^9.6.1",
|
---|
82 | "esquery": "^1.4.2",
|
---|
83 | "esutils": "^2.0.2",
|
---|
84 | "fast-deep-equal": "^3.1.3",
|
---|
85 | "file-entry-cache": "^6.0.1",
|
---|
86 | "find-up": "^5.0.0",
|
---|
87 | "glob-parent": "^6.0.2",
|
---|
88 | "globals": "^13.19.0",
|
---|
89 | "graphemer": "^1.4.0",
|
---|
90 | "ignore": "^5.2.0",
|
---|
91 | "imurmurhash": "^0.1.4",
|
---|
92 | "is-glob": "^4.0.0",
|
---|
93 | "is-path-inside": "^3.0.3",
|
---|
94 | "js-yaml": "^4.1.0",
|
---|
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 | "@wdio/browser-runner": "^8.14.6",
|
---|
108 | "@wdio/cli": "^8.14.6",
|
---|
109 | "@wdio/concise-reporter": "^8.14.0",
|
---|
110 | "@wdio/globals": "^8.14.6",
|
---|
111 | "@wdio/mocha-framework": "^8.14.0",
|
---|
112 | "babel-loader": "^8.0.5",
|
---|
113 | "c8": "^7.12.0",
|
---|
114 | "chai": "^4.0.1",
|
---|
115 | "cheerio": "^0.22.0",
|
---|
116 | "common-tags": "^1.8.0",
|
---|
117 | "core-js": "^3.1.3",
|
---|
118 | "ejs": "^3.0.2",
|
---|
119 | "eslint": "file:.",
|
---|
120 | "eslint-config-eslint": "file:packages/eslint-config-eslint",
|
---|
121 | "eslint-plugin-eslint-comments": "^3.2.0",
|
---|
122 | "eslint-plugin-eslint-plugin": "^5.2.1",
|
---|
123 | "eslint-plugin-internal-rules": "file:tools/internal-rules",
|
---|
124 | "eslint-plugin-jsdoc": "^46.2.5",
|
---|
125 | "eslint-plugin-n": "^16.6.0",
|
---|
126 | "eslint-plugin-unicorn": "^49.0.0",
|
---|
127 | "eslint-release": "^3.2.0",
|
---|
128 | "eslump": "^3.0.0",
|
---|
129 | "esprima": "^4.0.1",
|
---|
130 | "fast-glob": "^3.2.11",
|
---|
131 | "fs-teardown": "^0.1.3",
|
---|
132 | "glob": "^7.1.6",
|
---|
133 | "got": "^11.8.3",
|
---|
134 | "gray-matter": "^4.0.3",
|
---|
135 | "lint-staged": "^11.0.0",
|
---|
136 | "load-perf": "^0.2.0",
|
---|
137 | "markdown-it": "^12.2.0",
|
---|
138 | "markdown-it-container": "^3.0.0",
|
---|
139 | "markdownlint": "^0.32.0",
|
---|
140 | "markdownlint-cli": "^0.37.0",
|
---|
141 | "marked": "^4.0.8",
|
---|
142 | "memfs": "^3.0.1",
|
---|
143 | "metascraper": "^5.25.7",
|
---|
144 | "metascraper-description": "^5.25.7",
|
---|
145 | "metascraper-image": "^5.29.3",
|
---|
146 | "metascraper-logo": "^5.25.7",
|
---|
147 | "metascraper-logo-favicon": "^5.25.7",
|
---|
148 | "metascraper-title": "^5.25.7",
|
---|
149 | "mocha": "^8.3.2",
|
---|
150 | "mocha-junit-reporter": "^2.0.0",
|
---|
151 | "node-polyfill-webpack-plugin": "^1.0.3",
|
---|
152 | "npm-license": "^0.3.3",
|
---|
153 | "pirates": "^4.0.5",
|
---|
154 | "progress": "^2.0.3",
|
---|
155 | "proxyquire": "^2.0.1",
|
---|
156 | "recast": "^0.23.0",
|
---|
157 | "regenerator-runtime": "^0.14.0",
|
---|
158 | "rollup-plugin-node-polyfills": "^0.2.1",
|
---|
159 | "semver": "^7.5.3",
|
---|
160 | "shelljs": "^0.8.2",
|
---|
161 | "sinon": "^11.0.0",
|
---|
162 | "vite-plugin-commonjs": "^0.10.0",
|
---|
163 | "webdriverio": "^8.14.6",
|
---|
164 | "webpack": "^5.23.0",
|
---|
165 | "webpack-cli": "^4.5.0",
|
---|
166 | "yorkie": "^2.0.0"
|
---|
167 | },
|
---|
168 | "keywords": [
|
---|
169 | "ast",
|
---|
170 | "lint",
|
---|
171 | "javascript",
|
---|
172 | "ecmascript",
|
---|
173 | "espree"
|
---|
174 | ],
|
---|
175 | "license": "MIT",
|
---|
176 | "engines": {
|
---|
177 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
---|
178 | }
|
---|
179 | }
|
---|