UNPKG

@typescript-eslint/parser

Version:

An ESLint custom parser which leverages TypeScript ESTree

74 lines (73 loc) 1.95 kB
{ "name": "@typescript-eslint/parser", "version": "8.31.1", "description": "An ESLint custom parser which leverages TypeScript ESTree", "files": [ "dist", "!*.tsbuildinfo", "README.md", "LICENSE" ], "type": "commonjs", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./package.json": "./package.json" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "repository": { "type": "git", "url": "https://github.com/typescript-eslint/typescript-eslint.git", "directory": "packages/parser" }, "bugs": { "url": "https://github.com/typescript-eslint/typescript-eslint/issues" }, "homepage": "https://typescript-eslint.io/packages/parser", "license": "MIT", "keywords": [ "ast", "ecmascript", "javascript", "typescript", "parser", "syntax", "eslint" ], "scripts": { "build": "tsc -b tsconfig.build.json", "clean": "tsc -b tsconfig.build.json --clean", "postclean": "rimraf dist/ coverage/", "format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore", "lint": "npx nx lint", "test": "vitest --run --config=$INIT_CWD/vitest.config.mts", "check-types": "npx nx typecheck" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.9.0" }, "dependencies": { "@typescript-eslint/scope-manager": "8.31.1", "@typescript-eslint/types": "8.31.1", "@typescript-eslint/typescript-estree": "8.31.1", "@typescript-eslint/visitor-keys": "8.31.1", "debug": "^4.3.4" }, "devDependencies": { "@vitest/coverage-v8": "^3.1.1", "glob": "*", "prettier": "^3.2.5", "rimraf": "*", "typescript": "*", "vitest": "^3.1.1" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" } }