2024-08-09 12:04:48 +00:00
|
|
|
{
|
|
|
|
"name": "eslint",
|
2024-08-21 06:34:30 +00:00
|
|
|
"version": "8.57.0",
|
2024-08-09 12:04:48 +00:00
|
|
|
"author": "Nicholas C. Zakas <nicholas+npm@nczconsulting.com>",
|
|
|
|
"description": "An AST-based pattern checker for JavaScript.",
|
|
|
|
"bin": {
|
|
|
|
"eslint": "./bin/eslint.js"
|
|
|
|
},
|
|
|
|
"main": "./lib/api.js",
|
2024-08-21 06:34:30 +00:00
|
|
|
"exports": {
|
|
|
|
"./package.json": "./package.json",
|
|
|
|
".": "./lib/api.js",
|
|
|
|
"./use-at-your-own-risk": "./lib/unsupported-api.js"
|
|
|
|
},
|
2024-08-09 12:04:48 +00:00
|
|
|
"scripts": {
|
2024-08-21 06:34:30 +00:00
|
|
|
"build:docs:update-links": "node tools/fetch-docs-links.js",
|
|
|
|
"build:site": "node Makefile.js gensite",
|
|
|
|
"build:webpack": "node Makefile.js webpack",
|
|
|
|
"build:readme": "node tools/update-readme.js",
|
|
|
|
"lint": "node Makefile.js lint",
|
|
|
|
"lint:docs:js": "node Makefile.js lintDocsJS",
|
|
|
|
"lint:docs:rule-examples": "node Makefile.js checkRuleExamples",
|
|
|
|
"lint:fix": "node Makefile.js lint -- fix",
|
|
|
|
"lint:fix:docs:js": "node Makefile.js lintDocsJS -- fix",
|
|
|
|
"release:generate:alpha": "node Makefile.js generatePrerelease -- alpha",
|
|
|
|
"release:generate:beta": "node Makefile.js generatePrerelease -- beta",
|
|
|
|
"release:generate:latest": "node Makefile.js generateRelease",
|
|
|
|
"release:generate:rc": "node Makefile.js generatePrerelease -- rc",
|
|
|
|
"release:publish": "node Makefile.js publishRelease",
|
2024-08-09 12:04:48 +00:00
|
|
|
"test": "node Makefile.js test",
|
|
|
|
"test:cli": "mocha",
|
2024-08-21 06:34:30 +00:00
|
|
|
"test:fuzz": "node Makefile.js fuzz",
|
|
|
|
"test:performance": "node Makefile.js perf"
|
2024-08-09 12:04:48 +00:00
|
|
|
},
|
|
|
|
"gitHooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.js": "eslint --fix",
|
2024-08-21 06:34:30 +00:00
|
|
|
"*.md": "markdownlint --fix",
|
|
|
|
"lib/rules/*.js": [
|
|
|
|
"node tools/update-eslint-all.js",
|
|
|
|
"git add packages/js/src/configs/eslint-all.js"
|
|
|
|
],
|
|
|
|
"docs/src/rules/*.md": [
|
|
|
|
"node tools/check-rule-examples.js",
|
|
|
|
"node tools/fetch-docs-links.js",
|
|
|
|
"git add docs/src/_data/further_reading_links.json"
|
|
|
|
],
|
|
|
|
"docs/**/*.svg": "npx svgo -r --multipass"
|
2024-08-09 12:04:48 +00:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"LICENSE",
|
|
|
|
"README.md",
|
|
|
|
"bin",
|
|
|
|
"conf",
|
|
|
|
"lib",
|
|
|
|
"messages"
|
|
|
|
],
|
|
|
|
"repository": "eslint/eslint",
|
|
|
|
"funding": "https://opencollective.com/eslint",
|
|
|
|
"homepage": "https://eslint.org",
|
|
|
|
"bugs": "https://github.com/eslint/eslint/issues/",
|
|
|
|
"dependencies": {
|
2024-08-21 06:34:30 +00:00
|
|
|
"@eslint-community/eslint-utils": "^4.2.0",
|
|
|
|
"@eslint-community/regexpp": "^4.6.1",
|
|
|
|
"@eslint/eslintrc": "^2.1.4",
|
|
|
|
"@eslint/js": "8.57.0",
|
|
|
|
"@humanwhocodes/config-array": "^0.11.14",
|
|
|
|
"@humanwhocodes/module-importer": "^1.0.1",
|
|
|
|
"@nodelib/fs.walk": "^1.2.8",
|
|
|
|
"@ungap/structured-clone": "^1.2.0",
|
|
|
|
"ajv": "^6.12.4",
|
2024-08-09 12:04:48 +00:00
|
|
|
"chalk": "^4.0.0",
|
|
|
|
"cross-spawn": "^7.0.2",
|
2024-08-21 06:34:30 +00:00
|
|
|
"debug": "^4.3.2",
|
2024-08-09 12:04:48 +00:00
|
|
|
"doctrine": "^3.0.0",
|
|
|
|
"escape-string-regexp": "^4.0.0",
|
2024-08-21 06:34:30 +00:00
|
|
|
"eslint-scope": "^7.2.2",
|
|
|
|
"eslint-visitor-keys": "^3.4.3",
|
|
|
|
"espree": "^9.6.1",
|
|
|
|
"esquery": "^1.4.2",
|
2024-08-09 12:04:48 +00:00
|
|
|
"esutils": "^2.0.2",
|
|
|
|
"fast-deep-equal": "^3.1.3",
|
|
|
|
"file-entry-cache": "^6.0.1",
|
2024-08-21 06:34:30 +00:00
|
|
|
"find-up": "^5.0.0",
|
|
|
|
"glob-parent": "^6.0.2",
|
|
|
|
"globals": "^13.19.0",
|
|
|
|
"graphemer": "^1.4.0",
|
|
|
|
"ignore": "^5.2.0",
|
2024-08-09 12:04:48 +00:00
|
|
|
"imurmurhash": "^0.1.4",
|
|
|
|
"is-glob": "^4.0.0",
|
2024-08-21 06:34:30 +00:00
|
|
|
"is-path-inside": "^3.0.3",
|
|
|
|
"js-yaml": "^4.1.0",
|
2024-08-09 12:04:48 +00:00
|
|
|
"json-stable-stringify-without-jsonify": "^1.0.1",
|
|
|
|
"levn": "^0.4.1",
|
|
|
|
"lodash.merge": "^4.6.2",
|
2024-08-21 06:34:30 +00:00
|
|
|
"minimatch": "^3.1.2",
|
2024-08-09 12:04:48 +00:00
|
|
|
"natural-compare": "^1.4.0",
|
2024-08-21 06:34:30 +00:00
|
|
|
"optionator": "^0.9.3",
|
|
|
|
"strip-ansi": "^6.0.1",
|
|
|
|
"text-table": "^0.2.0"
|
2024-08-09 12:04:48 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/core": "^7.4.3",
|
|
|
|
"@babel/preset-env": "^7.4.3",
|
2024-08-21 06:34:30 +00:00
|
|
|
"@wdio/browser-runner": "^8.14.6",
|
|
|
|
"@wdio/cli": "^8.14.6",
|
|
|
|
"@wdio/concise-reporter": "^8.14.0",
|
|
|
|
"@wdio/globals": "^8.14.6",
|
|
|
|
"@wdio/mocha-framework": "^8.14.0",
|
2024-08-09 12:04:48 +00:00
|
|
|
"babel-loader": "^8.0.5",
|
2024-08-21 06:34:30 +00:00
|
|
|
"c8": "^7.12.0",
|
2024-08-09 12:04:48 +00:00
|
|
|
"chai": "^4.0.1",
|
|
|
|
"cheerio": "^0.22.0",
|
|
|
|
"common-tags": "^1.8.0",
|
|
|
|
"core-js": "^3.1.3",
|
|
|
|
"ejs": "^3.0.2",
|
|
|
|
"eslint": "file:.",
|
|
|
|
"eslint-config-eslint": "file:packages/eslint-config-eslint",
|
2024-08-21 06:34:30 +00:00
|
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
|
|
"eslint-plugin-eslint-plugin": "^5.2.1",
|
2024-08-09 12:04:48 +00:00
|
|
|
"eslint-plugin-internal-rules": "file:tools/internal-rules",
|
2024-08-21 06:34:30 +00:00
|
|
|
"eslint-plugin-jsdoc": "^46.2.5",
|
|
|
|
"eslint-plugin-n": "^16.6.0",
|
|
|
|
"eslint-plugin-unicorn": "^49.0.0",
|
|
|
|
"eslint-release": "^3.2.0",
|
2024-08-09 12:04:48 +00:00
|
|
|
"eslump": "^3.0.0",
|
|
|
|
"esprima": "^4.0.1",
|
2024-08-21 06:34:30 +00:00
|
|
|
"fast-glob": "^3.2.11",
|
|
|
|
"fs-teardown": "^0.1.3",
|
2024-08-09 12:04:48 +00:00
|
|
|
"glob": "^7.1.6",
|
2024-08-21 06:34:30 +00:00
|
|
|
"got": "^11.8.3",
|
|
|
|
"gray-matter": "^4.0.3",
|
|
|
|
"lint-staged": "^11.0.0",
|
2024-08-09 12:04:48 +00:00
|
|
|
"load-perf": "^0.2.0",
|
2024-08-21 06:34:30 +00:00
|
|
|
"markdown-it": "^12.2.0",
|
|
|
|
"markdown-it-container": "^3.0.0",
|
|
|
|
"markdownlint": "^0.32.0",
|
|
|
|
"markdownlint-cli": "^0.37.0",
|
|
|
|
"marked": "^4.0.8",
|
2024-08-09 12:04:48 +00:00
|
|
|
"memfs": "^3.0.1",
|
2024-08-21 06:34:30 +00:00
|
|
|
"metascraper": "^5.25.7",
|
|
|
|
"metascraper-description": "^5.25.7",
|
|
|
|
"metascraper-image": "^5.29.3",
|
|
|
|
"metascraper-logo": "^5.25.7",
|
|
|
|
"metascraper-logo-favicon": "^5.25.7",
|
|
|
|
"metascraper-title": "^5.25.7",
|
2024-08-09 12:04:48 +00:00
|
|
|
"mocha": "^8.3.2",
|
|
|
|
"mocha-junit-reporter": "^2.0.0",
|
|
|
|
"node-polyfill-webpack-plugin": "^1.0.3",
|
|
|
|
"npm-license": "^0.3.3",
|
2024-08-21 06:34:30 +00:00
|
|
|
"pirates": "^4.0.5",
|
|
|
|
"progress": "^2.0.3",
|
2024-08-09 12:04:48 +00:00
|
|
|
"proxyquire": "^2.0.1",
|
2024-08-21 06:34:30 +00:00
|
|
|
"recast": "^0.23.0",
|
|
|
|
"regenerator-runtime": "^0.14.0",
|
|
|
|
"rollup-plugin-node-polyfills": "^0.2.1",
|
|
|
|
"semver": "^7.5.3",
|
2024-08-09 12:04:48 +00:00
|
|
|
"shelljs": "^0.8.2",
|
2024-08-21 06:34:30 +00:00
|
|
|
"sinon": "^11.0.0",
|
|
|
|
"vite-plugin-commonjs": "^0.10.0",
|
|
|
|
"webdriverio": "^8.14.6",
|
2024-08-09 12:04:48 +00:00
|
|
|
"webpack": "^5.23.0",
|
|
|
|
"webpack-cli": "^4.5.0",
|
|
|
|
"yorkie": "^2.0.0"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"ast",
|
|
|
|
"lint",
|
|
|
|
"javascript",
|
|
|
|
"ecmascript",
|
|
|
|
"espree"
|
|
|
|
],
|
|
|
|
"license": "MIT",
|
|
|
|
"engines": {
|
2024-08-21 06:34:30 +00:00
|
|
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
2024-08-09 12:04:48 +00:00
|
|
|
}
|
|
|
|
}
|