luxon-hijri/package.json

85 lines
2 KiB
JSON

{
"name": "luxon-hijri",
"version": "2.1.0",
"description": "Hijri/Gregorian date conversion and formatting using the Umm al-Qura calendar. Built on Luxon. Supports toHijri, toGregorian, formatHijriDate, and isValidHijriDate.",
"author": "Aric Camarata",
"license": "MIT",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
}
}
},
"sideEffects": false,
"files": [
"dist/index.cjs",
"dist/index.mjs",
"dist/index.d.ts",
"dist/index.d.mts",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"engines": {
"node": ">=20"
},
"packageManager": "pnpm@10.30.1",
"scripts": {
"build": "tsup",
"typecheck": "tsc --noEmit",
"pretest": "tsup",
"test": "node --test test.mjs && node --test test-cjs.cjs",
"prepublishOnly": "tsup",
"lint": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check ."
},
"keywords": [
"hijri",
"gregorian",
"calendar",
"converter",
"luxon",
"umm-al-qura",
"islamic",
"date",
"format",
"typescript"
],
"dependencies": {
"hijri-core": "^1.0.0",
"luxon": "^3.5.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/luxon": "^3.4.2",
"@types/node": "^22.15.0",
"eslint": "^10.0.3",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.8.1",
"tsup": "^8.0.0",
"typescript": "^5.5.0",
"typescript-eslint": "^8.56.1"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/acamarata/luxon-hijri.git"
},
"homepage": "https://github.com/acamarata/luxon-hijri#readme",
"bugs": {
"url": "https://github.com/acamarata/luxon-hijri/issues"
}
}