qibla/package.json
Aric Camarata 8eb0516119 feat: add wiki, fix README scoped package name, CI and package improvements
- Add .wiki/ with Home, API-Reference, and Architecture pages
- Add wiki-sync.yml workflow
- Fix README: badge and install command now use @acamarata/qibla scope
- Add Architecture and Documentation sections to README
- Add README.md, CHANGELOG.md, LICENSE to files field
- Update pack-check CI to verify README, CHANGELOG, LICENSE in tarball
- Fix exports.import.types to ./dist/index.d.mts (matches tsup output)
- Enable sourcemap: true in tsup config
2026-03-08 16:37:26 -04:00

82 lines
1.8 KiB
JSON

{
"name": "@acamarata/qibla",
"version": "1.0.0",
"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": {
".": {
"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"
},
"scripts": {
"build": "tsup",
"typecheck": "tsc --noEmit",
"pretest": "tsup",
"test": "node --test test.mjs && node --test test-cjs.cjs",
"lint": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"prepublishOnly": "tsup"
},
"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": {
"@eslint/js": "^9.27.0",
"@types/node": "^22.15.3",
"eslint": "^9.27.0",
"prettier": "^3.5.3",
"tsup": "^8.4.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.32.1"
}
}