typebox-utils
Version:
TypeBox utilities with MongoDB ObjectId support and common validation types
61 lines (60 loc) • 1.57 kB
JSON
{
"name": "typebox-utils",
"version": "0.2.2",
"module": "./dist/esm/index.js",
"type": "module",
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@types/node": "^22.15.30",
"husky": "^9.1.7",
"tsx": "^4.19.4",
"typescript": "^5.8.3"
},
"peerDependencies": {
"@sinclair/typebox": "^0.34.33",
"mongodb": "^6.17.0"
},
"scripts": {
"prepare": "husky",
"node:watch": "node --import=tsx --watch --disable-proto=throw src/example.ts",
"test": "mocha --require tsx/cjs test/**/*.test.ts",
"fmt:apply": "npx @biomejs/biome format --write src",
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json"
},
"description": "TypeBox utilities with MongoDB ObjectId support and common validation types",
"author": "Anuj Kumar Jha",
"license": "MIT",
"keywords": [
"typebox",
"mongodb",
"validation",
"typescript",
"schema"
],
"repository": {
"type": "git",
"url": "git+https://github.com/anuj-kr-jha/typebox-utils.git"
},
"bugs": {
"url": "https://github.com/anuj-kr-jha/typebox-utils/issues"
},
"homepage": "https://github.com/anuj-kr-jha/typebox-utils#readme",
"main": "./dist/cjs/index.js",
"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/esm/index.d.ts"
}
},
"files": [
"dist"
],
"dependencies": { },
"engines": {
"node": ">=18.0.0"
}
}