UNPKG

@freik/typechk

Version:

Core set of TS/JS type checking helpers

65 lines (64 loc) 2.1 kB
{ "name": "@freik/typechk", "version": "0.8.4", "description": "Core set of TS/JS type checking helpers", "author": "Kevin Frei (kevinfrei@hotmail.com)", "license": "Unlicense", "repository": { "type": "git", "url": "git+https://github.com/kevinfrei/packages.git" }, "homepage": "https://github.com/kevinfrei/packages#readme", "bugs": { "url": "https://github.com/kevinfrei/packages/issues" }, "keywords": [ "js-utils", "types", "typecheck", "typescript" ], "files": [ "lib/**/*" ], "types": "./lib/esm/index.d.ts", "exports": { ".": { "import": "./lib/esm/index.js", "require": "./lib/cjs/index.js" } }, "scripts": { "justtest": "bun test", "watch": "bun test --watch", "clean": "rm -rf lib", "release": "bun run build", "buildesm": "bun build --entrypoints src/index.ts --minify --outdir ./lib/esm --format esm", "buildcjs": "bun build --entrypoints src/index.ts --minify --outdir ./lib/cjs --format cjs", "buildtypes": "tsc --project tsconfig.esm.json --emitDeclarationOnly --outdir ./lib/esm", "build": "bun run clean && bun run buildesm && bun run buildcjs && bun run buildtypes", "dbgbuild": "bun run clean && tools make-module --map src/*.ts", "prepublishOnly": "bun run test", "prepare": "bun run release", "lint": "eslint --fix src", "preversion": "bun run lint", "typechk": "tsc --noEmit --project tsconfig.cjs.json && tsc --noEmit --project tsconfig.esm.json", "test": "bun run lint && bun run typechk && bun run justtest", "doc": "typedoc ./src/index.ts --readme none --tsconfig tsconfig.esm.json" }, "devDependencies": { "@types/bun": "^1.2.5", "@types/node": "^22.13.10", "@typescript-eslint/eslint-plugin": "^8.26.1", "@typescript-eslint/parser": "^8.26.1", "babel-eslint": "^10.1.0", "eslint": "^9.22.0", "eslint-config-prettier": "^10.1.1", "typedoc": "^0.28.0", "typedoc-plugin-markdown": "^4.4.2", "typescript": "^5.8.2" }, "engines": { "node": "^14.13.1 || >= 16.0.0" } }