UNPKG

eslint-typegen

Version:

Generate types from ESLint rule schemas automatically, with auto-completion and type-checking for rule options.

72 lines (71 loc) 1.88 kB
{ "name": "eslint-typegen", "type": "module", "version": "2.0.0", "packageManager": "pnpm@10.4.1", "description": "Generate types from ESLint rule schemas automatically, with auto-completion and type-checking for rule options.", "author": "Anthony Fu <anthonyfu117@hotmail.com>", "license": "MIT", "funding": "https://github.com/sponsors/antfu", "homepage": "https://github.com/antfu/eslint-typegen#readme", "repository": { "type": "git", "url": "git+https://github.com/antfu/eslint-typegen.git" }, "bugs": "https://github.com/antfu/eslint-typegen/issues", "keywords": [ "eslint" ], "sideEffects": false, "exports": { ".": "./dist/index.mjs", "./core": "./dist/core.mjs" }, "main": "./dist/index.mjs", "module": "./dist/index.mjs", "types": "./dist/index.d.mts", "files": [ "dist" ], "scripts": { "build": "unbuild", "dev": "unbuild --stub", "lint": "nr build && eslint .", "prepublishOnly": "nr build", "release": "bumpp && npm publish", "start": "tsx src/index.ts", "test": "vitest", "typecheck": "tsc --noEmit", "prepare": "simple-git-hooks" }, "peerDependencies": { "eslint": "^9.0.0" }, "dependencies": { "json-schema-to-typescript-lite": "^14.1.0", "ohash": "^1.1.4" }, "devDependencies": { "@antfu/eslint-config": "^4.3.0", "@antfu/ni": "^23.3.1", "@types/json-schema": "^7.0.15", "@types/node": "^22.13.4", "bumpp": "^10.0.3", "eslint": "^9.20.1", "eslint-plugin-jsx-a11y": "^6.10.2", "lint-staged": "^15.4.3", "pnpm": "^10.4.1", "simple-git-hooks": "^2.11.1", "tsx": "^4.19.2", "typescript": "^5.7.3", "unbuild": "^3.3.1", "vite": "^6.1.0", "vitest": "^3.0.5" }, "simple-git-hooks": { "pre-commit": "pnpm lint-staged" }, "lint-staged": { "*": "eslint --fix" } }