UNPKG

@typescript-eslint/types

Version:

Types for the TypeScript-ESTree AST spec

82 lines (81 loc) 2.01 kB
{ "name": "@typescript-eslint/types", "version": "8.32.1", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", "!*.tsbuildinfo", "package.json", "README.md", "LICENSE" ], "type": "commonjs", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/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/types" }, "bugs": { "url": "https://github.com/typescript-eslint/typescript-eslint/issues" }, "homepage": "https://typescript-eslint.io", "license": "MIT", "keywords": [ "eslint", "typescript", "estree" ], "scripts": { "copy-ast-spec": "tsx ./tools/copy-ast-spec.mts", "build": "tsc -b tsconfig.build.json", "clean": "tsc -b tsconfig.build.json --clean", "postclean": "rimraf dist/ src/generated/ coverage/", "format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore", "generate-lib": "npx nx run scope-manager:generate-lib", "lint": "npx nx lint", "test": "vitest --run --config=$INIT_CWD/vitest.config.mts", "check-types": "npx nx typecheck" }, "nx": { "targets": { "copy-ast-spec": { "dependsOn": [ "^build" ], "outputs": [ "{projectRoot}/src/generated" ], "cache": true }, "build": { "dependsOn": [ "^build", "copy-ast-spec" ] } } }, "devDependencies": { "@vitest/coverage-v8": "^3.1.3", "prettier": "^3.2.5", "rimraf": "*", "tsx": "*", "typescript": "*", "vitest": "^3.1.3" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" } }