UNPKG

3.32 kBJSONView Raw
1{
2 "name": "@typescript-eslint/eslint-plugin",
3 "version": "7.1.1",
4 "description": "TypeScript plugin for ESLint",
5 "files": [
6 "dist",
7 "docs",
8 "index.d.ts",
9 "rules.d.ts",
10 "package.json",
11 "README.md",
12 "LICENSE"
13 ],
14 "type": "commonjs",
15 "exports": {
16 ".": {
17 "types": "./index.d.ts",
18 "default": "./dist/index.js"
19 },
20 "./package.json": "./package.json",
21 "./use-at-your-own-risk/rules": {
22 "types": "./rules.d.ts",
23 "default": "./dist/rules/index.js"
24 },
25 "./use-at-your-own-risk/eslint-recommended-raw": {
26 "types": "./eslint-recommended-raw.d.ts",
27 "default": "./dist/configs/eslint-recommended-raw.js"
28 }
29 },
30 "engines": {
31 "node": "^16.0.0 || >=18.0.0"
32 },
33 "repository": {
34 "type": "git",
35 "url": "https://github.com/typescript-eslint/typescript-eslint.git",
36 "directory": "packages/eslint-plugin"
37 },
38 "bugs": {
39 "url": "https://github.com/typescript-eslint/typescript-eslint/issues"
40 },
41 "license": "MIT",
42 "keywords": [
43 "eslint",
44 "eslintplugin",
45 "eslint-plugin",
46 "typescript"
47 ],
48 "scripts": {
49 "build": "tsc -b tsconfig.build.json",
50 "check-docs": "jest tests/docs.test.ts --runTestsByPath --silent --runInBand",
51 "check-configs": "jest tests/configs.test.ts --runTestsByPath --silent --runInBand",
52 "clean": "tsc -b tsconfig.build.json --clean",
53 "postclean": "rimraf dist && rimraf coverage",
54 "format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
55 "generate:breaking-changes": "yarn tsx tools/generate-breaking-changes.mts",
56 "generate:configs": "npx nx run repo-tools:generate-configs",
57 "lint": "npx nx lint",
58 "test": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" jest --coverage --logHeapUsage",
59 "test-single": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" jest --no-coverage",
60 "typecheck": "tsc -p tsconfig.json --noEmit"
61 },
62 "dependencies": {
63 "@eslint-community/regexpp": "^4.5.1",
64 "@typescript-eslint/scope-manager": "7.1.1",
65 "@typescript-eslint/type-utils": "7.1.1",
66 "@typescript-eslint/utils": "7.1.1",
67 "@typescript-eslint/visitor-keys": "7.1.1",
68 "debug": "^4.3.4",
69 "graphemer": "^1.4.0",
70 "ignore": "^5.2.4",
71 "natural-compare": "^1.4.0",
72 "semver": "^7.5.4",
73 "ts-api-utils": "^1.0.1"
74 },
75 "devDependencies": {
76 "@types/debug": "*",
77 "@types/marked": "*",
78 "@types/natural-compare": "*",
79 "@typescript-eslint/rule-schema-to-typescript-types": "7.1.1",
80 "@typescript-eslint/rule-tester": "7.1.1",
81 "ajv": "^6.12.6",
82 "chalk": "^5.3.0",
83 "cross-env": "^7.0.3",
84 "cross-fetch": "*",
85 "eslint": "*",
86 "grapheme-splitter": "^1.0.4",
87 "jest": "29.7.0",
88 "jest-specific-snapshot": "^8.0.0",
89 "json-schema": "*",
90 "markdown-table": "^3.0.3",
91 "marked": "^5.1.1",
92 "prettier": "^3.0.3",
93 "rimraf": "*",
94 "title-case": "^3.0.3",
95 "tsx": "*",
96 "typescript": "*"
97 },
98 "peerDependencies": {
99 "@typescript-eslint/parser": "^7.0.0",
100 "eslint": "^8.56.0"
101 },
102 "peerDependenciesMeta": {
103 "typescript": {
104 "optional": true
105 }
106 },
107 "funding": {
108 "type": "opencollective",
109 "url": "https://opencollective.com/typescript-eslint"
110 }
111}