UNPKG

@oxog/kindof

Version:

Zero-dependency advanced type detection library with TypeScript support, plugin system, and 100% test coverage

100 lines 2.92 kB
{ "name": "@oxog/kindof", "version": "1.0.0", "description": "Zero-dependency advanced type detection library with TypeScript support, plugin system, and 100% test coverage", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" }, "./guards": { "types": "./dist/guards/index.d.ts", "import": "./dist/guards/index.mjs", "require": "./dist/guards/index.cjs" }, "./converters": { "types": "./dist/converters/index.d.ts", "import": "./dist/converters/index.mjs", "require": "./dist/converters/index.cjs" }, "./validators": { "types": "./dist/validators/index.d.ts", "import": "./dist/validators/index.mjs", "require": "./dist/validators/index.cjs" }, "./plugins/*": { "types": "./dist/plugins/*.d.ts", "import": "./dist/plugins/*.mjs", "require": "./dist/plugins/*.cjs" } }, "sideEffects": false, "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "rollup -c", "test": "jest", "test:coverage": "jest --coverage", "test:watch": "jest --watch", "benchmark": "tsx scripts/benchmark.ts", "lint": "eslint src tests --ext .ts,.tsx", "format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"", "typecheck": "tsc --noEmit", "prepublishOnly": "npm run clean && npm run lint && npm run typecheck && npm run test && npm run build && npm run check:publish", "clean": "rimraf dist coverage *.tgz", "pretest": "npm run lint && npm run typecheck", "check:publish": "node scripts/prepublish-check.js", "publish:dry": "node scripts/publish.js --dry-run", "publish:prod": "node scripts/publish.js", "release": "semantic-release" }, "engines": { "node": ">=14.0.0" }, "repository": { "type": "git", "url": "https://github.com/ersinkoc/kindof.git" }, "keywords": [ "type", "typeof", "type-detection", "type-checking", "typescript", "validation", "schema", "kindof", "kind-of" ], "author": "Ersin Koç <ersin@ersinkoc.com>", "homepage": "https://github.com/ersinkoc/kindof#readme", "bugs": { "url": "https://github.com/ersinkoc/kindof/issues" }, "license": "MIT", "devDependencies": { "@types/jest": "^29.5.0", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "@swc/core": "^1.3.0", "@swc/jest": "^0.2.0", "eslint": "^8.0.0", "jest": "^29.0.0", "prettier": "^3.0.0", "rollup": "^4.0.0", "rollup-plugin-dts": "^6.0.0", "rollup-plugin-esbuild": "^6.0.0", "rimraf": "^5.0.0", "semantic-release": "^22.0.0", "tsx": "^4.0.0", "typescript": "^5.0.0" } }