UNPKG

@tool-belt/type-predicates

Version:

A comprehensive collection of performant type guards and assertions with excellent TypeScript support

103 lines (102 loc) 3.15 kB
{ "name": "@tool-belt/type-predicates", "version": "1.4.1", "description": "A comprehensive collection of performant type guards and assertions with excellent TypeScript support", "repository": { "type": "git", "url": "git+https://github.com/Goldziher/type-predicates.git" }, "keywords": [ "assertions", "guards", "predicates", "runtime-checks", "type-assertions", "type-guards", "type-predicates", "type-safety", "typechecking", "typescript", "utilities", "utils", "validation" ], "author": "Na'aman Hirschfeld", "license": "MIT", "bugs": { "url": "https://github.com/Goldziher/type-predicates/issues" }, "homepage": "https://github.com/Goldziher/type-predicates#readme", "files": [ "dist", "LICENSE", "README.md" ], "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js", "default": "./dist/index.mjs" } }, "sideEffects": false, "scripts": { "prepublishOnly": "pnpm run build", "build": "rimraf dist && vite build", "format": "prettier --write .", "lint": "eslint --fix .", "prepare": "husky", "typecheck": "tsc --noEmit", "test": "vitest run", "test:coverage": "vitest run --coverage", "test:watch": "vitest" }, "devDependencies": { "@commitlint/cli": "^20.2.0", "@commitlint/config-conventional": "^20.2.0", "@eslint/compat": "^2.0.0", "@eslint/js": "^9.39.2", "@types/node": "^25.0.2", "@vitest/coverage-v8": "^4.0.15", "eslint": "^9.39.2", "eslint-plugin-n": "17.23.1", "eslint-plugin-perfectionist": "^4.15.1", "eslint-plugin-promise": "7.2.1", "eslint-plugin-tsdoc": "^0.5.0", "eslint-plugin-unicorn": "62.0.0", "eslint-plugin-unused-imports": "^4.3.0", "eslint-plugin-vitest": "^0.5.4", "expect-type": "^1.3.0", "globals": "^16.5.0", "husky": "^9.1.7", "lint-staged": "^16.2.7", "prettier": "^3.7.4", "prettier-plugin-jsdoc": "^1.8.0", "rimraf": "^6.1.2", "type-fest": "^5.3.1", "typescript": "^5.9.3", "typescript-eslint": "^8.49.0", "vite": "^7.2.7", "vite-plugin-dts": "^4.5.4", "vitest": "^4.0.15" }, "lint-staged": { "*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,json,md,mdx,yaml,yml}": [ "prettier --write" ], "*.{js,jsx,mjs,cjs,ts,tsx,mts,cts}": [ "eslint --fix" ] }, "engines": { "node": ">=18.0.0" }, "publishConfig": { "access": "public" }, "packageManager": "pnpm@10.25.0+sha512.5e82639027af37cf832061bcc6d639c219634488e0f2baebe785028a793de7b525ffcd3f7ff574f5e9860654e098fe852ba8ac5dd5cefe1767d23a020a92f501" }