package.json 4.94 KB
{
  "name": "eslint",
  "version": "8.27.0",
  "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",
  "exports": {
    "./package.json": "./package.json",
    ".": "./lib/api.js",
    "./use-at-your-own-risk": "./lib/unsupported-api.js"
  },
  "scripts": {
    "test": "node Makefile.js test",
    "test:cli": "mocha",
    "lint": "node Makefile.js lint",
    "lint:docsjs": "node Makefile.js lintDocsJS",
    "fix": "node Makefile.js lint -- fix",
    "fix:docsjs": "node Makefile.js lintDocsJS -- fix",
    "fuzz": "node Makefile.js fuzz",
    "generate-release": "node Makefile.js generateRelease",
    "generate-alpharelease": "node Makefile.js generatePrerelease -- alpha",
    "generate-betarelease": "node Makefile.js generatePrerelease -- beta",
    "generate-rcrelease": "node Makefile.js generatePrerelease -- rc",
    "publish-release": "node Makefile.js publishRelease",
    "gensite": "node Makefile.js gensite",
    "webpack": "node Makefile.js webpack",
    "perf": "node Makefile.js perf",
    "docs:update-links": "node tools/fetch-docs-links.js"
  },
  "gitHooks": {
    "pre-commit": "lint-staged"
  },
  "lint-staged": {
    "*.js": "eslint --fix",
    "*.md": "markdownlint --fix",
    "docs/src/rules/*.md": [
      "node tools/fetch-docs-links.js",
      "git add docs/src/_data/further_reading_links.json"
    ],
    "docs/**/*.svg": "npx svgo -r --multipass"
  },
  "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": {
    "@eslint/eslintrc": "^1.3.3",
    "@humanwhocodes/config-array": "^0.11.6",
    "@humanwhocodes/module-importer": "^1.0.1",
    "@nodelib/fs.walk": "^1.2.8",
    "ajv": "^6.10.0",
    "chalk": "^4.0.0",
    "cross-spawn": "^7.0.2",
    "debug": "^4.3.2",
    "doctrine": "^3.0.0",
    "escape-string-regexp": "^4.0.0",
    "eslint-scope": "^7.1.1",
    "eslint-utils": "^3.0.0",
    "eslint-visitor-keys": "^3.3.0",
    "espree": "^9.4.0",
    "esquery": "^1.4.0",
    "esutils": "^2.0.2",
    "fast-deep-equal": "^3.1.3",
    "file-entry-cache": "^6.0.1",
    "find-up": "^5.0.0",
    "glob-parent": "^6.0.2",
    "globals": "^13.15.0",
    "grapheme-splitter": "^1.0.4",
    "ignore": "^5.2.0",
    "import-fresh": "^3.0.0",
    "imurmurhash": "^0.1.4",
    "is-glob": "^4.0.0",
    "is-path-inside": "^3.0.3",
    "js-sdsl": "^4.1.4",
    "js-yaml": "^4.1.0",
    "json-stable-stringify-without-jsonify": "^1.0.1",
    "levn": "^0.4.1",
    "lodash.merge": "^4.6.2",
    "minimatch": "^3.1.2",
    "natural-compare": "^1.4.0",
    "optionator": "^0.9.1",
    "regexpp": "^3.2.0",
    "strip-ansi": "^6.0.1",
    "strip-json-comments": "^3.1.0",
    "text-table": "^0.2.0"
  },
  "devDependencies": {
    "@babel/core": "^7.4.3",
    "@babel/preset-env": "^7.4.3",
    "babel-loader": "^8.0.5",
    "c8": "^7.12.0",
    "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",
    "eslint-plugin-eslint-comments": "^3.2.0",
    "eslint-plugin-eslint-plugin": "^4.4.0",
    "eslint-plugin-internal-rules": "file:tools/internal-rules",
    "eslint-plugin-jsdoc": "^38.1.6",
    "eslint-plugin-n": "^15.2.4",
    "eslint-plugin-unicorn": "^42.0.0",
    "eslint-release": "^3.2.0",
    "eslump": "^3.0.0",
    "esprima": "^4.0.1",
    "fast-glob": "^3.2.11",
    "fs-teardown": "^0.1.3",
    "glob": "^7.1.6",
    "got": "^11.8.3",
    "gray-matter": "^4.0.3",
    "karma": "^6.1.1",
    "karma-chrome-launcher": "^3.1.0",
    "karma-mocha": "^2.0.1",
    "karma-mocha-reporter": "^2.2.5",
    "karma-webpack": "^5.0.0",
    "lint-staged": "^11.0.0",
    "load-perf": "^0.2.0",
    "markdownlint": "^0.25.1",
    "markdownlint-cli": "^0.31.1",
    "marked": "^4.0.8",
    "memfs": "^3.0.1",
    "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",
    "mocha": "^8.3.2",
    "mocha-junit-reporter": "^2.0.0",
    "node-polyfill-webpack-plugin": "^1.0.3",
    "npm-license": "^0.3.3",
    "pirates": "^4.0.5",
    "progress": "^2.0.3",
    "proxyquire": "^2.0.1",
    "puppeteer": "^13.7.0",
    "recast": "^0.20.4",
    "regenerator-runtime": "^0.13.2",
    "semver": "^7.3.5",
    "shelljs": "^0.8.2",
    "sinon": "^11.0.0",
    "temp": "^0.9.0",
    "webpack": "^5.23.0",
    "webpack-cli": "^4.5.0",
    "yorkie": "^2.0.0"
  },
  "keywords": [
    "ast",
    "lint",
    "javascript",
    "ecmascript",
    "espree"
  ],
  "license": "MIT",
  "engines": {
    "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
  }
}