]>
Commit | Line | Data |
---|---|---|
eb39fafa DC |
1 | { |
2 | "name": "eslint", | |
f2a92ac6 | 3 | "version": "8.41.0", |
eb39fafa DC |
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", | |
609c276f TL |
10 | "exports": { |
11 | "./package.json": "./package.json", | |
12 | ".": "./lib/api.js", | |
13 | "./use-at-your-own-risk": "./lib/unsupported-api.js" | |
14 | }, | |
eb39fafa | 15 | "scripts": { |
f2a92ac6 DC |
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:fix": "node Makefile.js lint -- fix", | |
23 | "lint:fix:docs:js": "node Makefile.js lintDocsJS -- fix", | |
24 | "release:generate:alpha": "node Makefile.js generatePrerelease -- alpha", | |
25 | "release:generate:beta": "node Makefile.js generatePrerelease -- beta", | |
26 | "release:generate:latest": "node Makefile.js generateRelease", | |
27 | "release:generate:rc": "node Makefile.js generatePrerelease -- rc", | |
28 | "release:publish": "node Makefile.js publishRelease", | |
eb39fafa DC |
29 | "test": "node Makefile.js test", |
30 | "test:cli": "mocha", | |
f2a92ac6 DC |
31 | "test:fuzz": "node Makefile.js fuzz", |
32 | "test:performance": "node Makefile.js perf" | |
eb39fafa DC |
33 | }, |
34 | "gitHooks": { | |
35 | "pre-commit": "lint-staged" | |
36 | }, | |
37 | "lint-staged": { | |
5422a9cc | 38 | "*.js": "eslint --fix", |
8f9d1d4d | 39 | "*.md": "markdownlint --fix", |
f2a92ac6 DC |
40 | "lib/rules/*.js": [ |
41 | "node tools/update-eslint-all.js", | |
42 | "git add packages/js/src/configs/eslint-all.js" | |
43 | ], | |
8f9d1d4d DC |
44 | "docs/src/rules/*.md": [ |
45 | "node tools/fetch-docs-links.js", | |
46 | "git add docs/src/_data/further_reading_links.json" | |
47 | ], | |
48 | "docs/**/*.svg": "npx svgo -r --multipass" | |
eb39fafa DC |
49 | }, |
50 | "files": [ | |
51 | "LICENSE", | |
52 | "README.md", | |
53 | "bin", | |
54 | "conf", | |
55 | "lib", | |
56 | "messages" | |
57 | ], | |
58 | "repository": "eslint/eslint", | |
59 | "funding": "https://opencollective.com/eslint", | |
60 | "homepage": "https://eslint.org", | |
61 | "bugs": "https://github.com/eslint/eslint/issues/", | |
62 | "dependencies": { | |
f2a92ac6 DC |
63 | "@eslint-community/eslint-utils": "^4.2.0", |
64 | "@eslint-community/regexpp": "^4.4.0", | |
65 | "@eslint/eslintrc": "^2.0.3", | |
66 | "@eslint/js": "8.41.0", | |
67 | "@humanwhocodes/config-array": "^0.11.8", | |
8f9d1d4d | 68 | "@humanwhocodes/module-importer": "^1.0.1", |
f2a92ac6 | 69 | "@nodelib/fs.walk": "^1.2.8", |
eb39fafa | 70 | "ajv": "^6.10.0", |
56c4a2cb DC |
71 | "chalk": "^4.0.0", |
72 | "cross-spawn": "^7.0.2", | |
609c276f | 73 | "debug": "^4.3.2", |
eb39fafa | 74 | "doctrine": "^3.0.0", |
5422a9cc | 75 | "escape-string-regexp": "^4.0.0", |
f2a92ac6 DC |
76 | "eslint-scope": "^7.2.0", |
77 | "eslint-visitor-keys": "^3.4.1", | |
78 | "espree": "^9.5.2", | |
79 | "esquery": "^1.4.2", | |
eb39fafa | 80 | "esutils": "^2.0.2", |
5422a9cc TL |
81 | "fast-deep-equal": "^3.1.3", |
82 | "file-entry-cache": "^6.0.1", | |
8f9d1d4d | 83 | "find-up": "^5.0.0", |
f2a92ac6 DC |
84 | "glob-parent": "^6.0.2", |
85 | "globals": "^13.19.0", | |
86 | "graphemer": "^1.4.0", | |
8f9d1d4d | 87 | "ignore": "^5.2.0", |
eb39fafa DC |
88 | "import-fresh": "^3.0.0", |
89 | "imurmurhash": "^0.1.4", | |
eb39fafa | 90 | "is-glob": "^4.0.0", |
f2a92ac6 | 91 | "is-path-inside": "^3.0.3", |
609c276f | 92 | "js-yaml": "^4.1.0", |
eb39fafa | 93 | "json-stable-stringify-without-jsonify": "^1.0.1", |
56c4a2cb | 94 | "levn": "^0.4.1", |
5422a9cc | 95 | "lodash.merge": "^4.6.2", |
8f9d1d4d | 96 | "minimatch": "^3.1.2", |
eb39fafa | 97 | "natural-compare": "^1.4.0", |
56c4a2cb | 98 | "optionator": "^0.9.1", |
609c276f | 99 | "strip-ansi": "^6.0.1", |
56c4a2cb | 100 | "strip-json-comments": "^3.1.0", |
8f9d1d4d | 101 | "text-table": "^0.2.0" |
eb39fafa DC |
102 | }, |
103 | "devDependencies": { | |
104 | "@babel/core": "^7.4.3", | |
105 | "@babel/preset-env": "^7.4.3", | |
eb39fafa | 106 | "babel-loader": "^8.0.5", |
8f9d1d4d | 107 | "c8": "^7.12.0", |
eb39fafa DC |
108 | "chai": "^4.0.1", |
109 | "cheerio": "^0.22.0", | |
110 | "common-tags": "^1.8.0", | |
111 | "core-js": "^3.1.3", | |
56c4a2cb | 112 | "ejs": "^3.0.2", |
eb39fafa DC |
113 | "eslint": "file:.", |
114 | "eslint-config-eslint": "file:packages/eslint-config-eslint", | |
609c276f | 115 | "eslint-plugin-eslint-comments": "^3.2.0", |
8f9d1d4d | 116 | "eslint-plugin-eslint-plugin": "^4.4.0", |
eb39fafa | 117 | "eslint-plugin-internal-rules": "file:tools/internal-rules", |
8f9d1d4d DC |
118 | "eslint-plugin-jsdoc": "^38.1.6", |
119 | "eslint-plugin-n": "^15.2.4", | |
120 | "eslint-plugin-unicorn": "^42.0.0", | |
609c276f | 121 | "eslint-release": "^3.2.0", |
5422a9cc | 122 | "eslump": "^3.0.0", |
eb39fafa | 123 | "esprima": "^4.0.1", |
8f9d1d4d | 124 | "fast-glob": "^3.2.11", |
609c276f | 125 | "fs-teardown": "^0.1.3", |
56c4a2cb | 126 | "glob": "^7.1.6", |
8f9d1d4d DC |
127 | "got": "^11.8.3", |
128 | "gray-matter": "^4.0.3", | |
5422a9cc | 129 | "karma": "^6.1.1", |
56c4a2cb | 130 | "karma-chrome-launcher": "^3.1.0", |
5422a9cc TL |
131 | "karma-mocha": "^2.0.1", |
132 | "karma-mocha-reporter": "^2.2.5", | |
133 | "karma-webpack": "^5.0.0", | |
609c276f | 134 | "lint-staged": "^11.0.0", |
eb39fafa | 135 | "load-perf": "^0.2.0", |
8f9d1d4d DC |
136 | "markdownlint": "^0.25.1", |
137 | "markdownlint-cli": "^0.31.1", | |
138 | "marked": "^4.0.8", | |
eb39fafa | 139 | "memfs": "^3.0.1", |
8f9d1d4d DC |
140 | "metascraper": "^5.25.7", |
141 | "metascraper-description": "^5.25.7", | |
142 | "metascraper-image": "^5.29.3", | |
143 | "metascraper-logo": "^5.25.7", | |
144 | "metascraper-logo-favicon": "^5.25.7", | |
145 | "metascraper-title": "^5.25.7", | |
5422a9cc TL |
146 | "mocha": "^8.3.2", |
147 | "mocha-junit-reporter": "^2.0.0", | |
148 | "node-polyfill-webpack-plugin": "^1.0.3", | |
eb39fafa | 149 | "npm-license": "^0.3.3", |
8f9d1d4d DC |
150 | "pirates": "^4.0.5", |
151 | "progress": "^2.0.3", | |
eb39fafa | 152 | "proxyquire": "^2.0.1", |
8f9d1d4d | 153 | "puppeteer": "^13.7.0", |
609c276f | 154 | "recast": "^0.20.4", |
eb39fafa | 155 | "regenerator-runtime": "^0.13.2", |
8f9d1d4d | 156 | "semver": "^7.3.5", |
eb39fafa | 157 | "shelljs": "^0.8.2", |
609c276f | 158 | "sinon": "^11.0.0", |
eb39fafa | 159 | "temp": "^0.9.0", |
5422a9cc TL |
160 | "webpack": "^5.23.0", |
161 | "webpack-cli": "^4.5.0", | |
eb39fafa DC |
162 | "yorkie": "^2.0.0" |
163 | }, | |
164 | "keywords": [ | |
165 | "ast", | |
166 | "lint", | |
167 | "javascript", | |
168 | "ecmascript", | |
169 | "espree" | |
170 | ], | |
171 | "license": "MIT", | |
172 | "engines": { | |
609c276f | 173 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" |
eb39fafa DC |
174 | } |
175 | } |