is-mahram
Version:
A TypeScript library to determine if a person is a mahram based on Islamic jurisprudence.
50 lines (49 loc) • 1.31 kB
JSON
{
"name": "is-mahram",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"type": "module",
"version": "0.0.4",
"description": "A TypeScript library to determine if a person is a mahram based on Islamic jurisprudence.",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"build": "bun run clean && bun run build:types && bun run build:cjs && bun run build:esm",
"build:cjs": "bun build src/index.ts --outfile=dist/index.js --target=node --format=cjs --external typescript",
"build:esm": "bun build src/index.ts --outfile=dist/index.mjs --target=node --format=esm --external typescript",
"build:types": "tsc --project tsconfig.build.json",
"clean": "rm -rf dist",
"prepublishOnly": "bun run build",
"test": "bun test"
},
"keywords": [
"mahram",
"islam",
"sharia",
"family",
"relationship",
"halal",
"haram"
],
"author": "Taufik Pragusga",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/pragusga25/is-mahram.git"
},
"devDependencies": {
"@types/bun": "latest"
},
"peerDependencies": {
"typescript": "^5"
}
}