UNPKG

@typescript-eslint/utils

Version:

Utilities for working with TypeScript + ESLint together

86 lines (85 loc) 2.37 kB
{ "name": "@typescript-eslint/utils", "version": "8.30.1", "description": "Utilities for working with TypeScript + ESLint together", "files": [ "dist", "!*.tsbuildinfo", "package.json", "README.md", "LICENSE" ], "type": "commonjs", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./ast-utils": { "types": "./dist/ast-utils/index.d.ts", "default": "./dist/ast-utils/index.js" }, "./eslint-utils": { "types": "./dist/eslint-utils/index.d.ts", "default": "./dist/eslint-utils/index.js" }, "./json-schema": { "types": "./dist/json-schema.d.ts", "default": "./dist/json-schema.js" }, "./ts-eslint": { "types": "./dist/ts-eslint/index.d.ts", "default": "./dist/ts-eslint/index.js" }, "./package.json": "./package.json" }, "types": "./dist/index.d.ts", "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/utils" }, "bugs": { "url": "https://github.com/typescript-eslint/typescript-eslint/issues" }, "homepage": "https://typescript-eslint.io/packages/utils", "license": "MIT", "keywords": [ "eslint", "typescript", "estree" ], "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" }, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@typescript-eslint/scope-manager": "8.30.1", "@typescript-eslint/types": "8.30.1", "@typescript-eslint/typescript-estree": "8.30.1" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.9.0" }, "devDependencies": { "@vitest/coverage-v8": "^3.1.1", "prettier": "^3.2.5", "rimraf": "*", "typescript": "*", "vitest": "^3.1.1" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" } }