mirror of
https://github.com/acamarata/qibla.git
synced 2026-06-30 19:04:28 +00:00
90 lines
2.3 KiB
JSON
90 lines
2.3 KiB
JSON
{
|
|
"name": "@acamarata/qibla",
|
|
"version": "1.1.2",
|
|
"description": "Qibla direction, great-circle path, and haversine distance. Pure math, zero dependencies.",
|
|
"author": "Aric Camarata",
|
|
"license": "MIT",
|
|
"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"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"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"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"typecheck": "tsc --noEmit",
|
|
"pretest": "tsup",
|
|
"test": "node --test test.mjs && node --test test-cjs.cjs",
|
|
"lint": "eslint .",
|
|
"format": "prettier --write src/",
|
|
"format:check": "prettier --check src/",
|
|
"prepublishOnly": "tsup",
|
|
"coverage": "c8 --reporter=lcov --reporter=text node test.mjs",
|
|
"docs": "typedoc --out .github/wiki/api src/index.ts",
|
|
"postbuild": "cp dist/index.d.ts dist/index.d.mts"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/acamarata/qibla.git"
|
|
},
|
|
"homepage": "https://github.com/acamarata/qibla#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/acamarata/qibla/issues"
|
|
},
|
|
"keywords": [
|
|
"qibla",
|
|
"kaaba",
|
|
"mecca",
|
|
"compass",
|
|
"bearing",
|
|
"direction",
|
|
"great-circle",
|
|
"haversine",
|
|
"distance",
|
|
"geodesic",
|
|
"islamic",
|
|
"prayer",
|
|
"geolocation",
|
|
"spherical-trigonometry"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"devDependencies": {
|
|
"@acamarata/eslint-config": "^0.1.0",
|
|
"@acamarata/prettier-config": "^0.1.0",
|
|
"@acamarata/tsconfig": "^0.1.0",
|
|
"@eslint/js": "^9.27.0",
|
|
"@types/node": "^22.15.3",
|
|
"c8": "^11.0.0",
|
|
"eslint": "^9.27.0",
|
|
"prettier": "^3.5.3",
|
|
"tsup": "^8.4.0",
|
|
"typedoc": "^0.28.19",
|
|
"typedoc-plugin-markdown": "^4.11.0",
|
|
"typescript": "^5.8.3",
|
|
"typescript-eslint": "^8.32.1"
|
|
},
|
|
"type": "module",
|
|
"packageManager": "pnpm@10.11.1",
|
|
"prettier": "@acamarata/prettier-config"
|
|
}
|