mirror of
https://github.com/acamarata/moon-cycle.git
synced 2026-06-30 18:54:29 +00:00
Add typedoc and typedoc-plugin-markdown as devDependencies. Add typedoc.json config targeting src/index.ts with markdown output to .github/wiki/api. Add docs script to package.json. Generate initial API reference pages. Part of T-E8-03 — TypeDoc automation for all 12 JS/TS packages.
85 lines
2.3 KiB
JSON
85 lines
2.3 KiB
JSON
{
|
|
"name": "moon-cycle",
|
|
"version": "2.0.0",
|
|
"description": "Maps any date to NASA moon phase imagery via synodic and calendar-year cycles. Lightweight npm package \u2014 images served via CDN or self-hosted from the GitHub repository.",
|
|
"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"
|
|
},
|
|
"files": [
|
|
"dist/",
|
|
"README.md",
|
|
"LICENSE",
|
|
"CHANGELOG.md"
|
|
],
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint src/",
|
|
"format": "prettier --write src/ test.mjs test-cjs.cjs eslint.config.mjs tsup.config.ts",
|
|
"format:check": "prettier --check src/ test.mjs test-cjs.cjs eslint.config.mjs tsup.config.ts",
|
|
"pretest": "tsup",
|
|
"test": "node --test test.mjs && node --test test-cjs.cjs",
|
|
"prepublishOnly": "tsup",
|
|
"coverage": "c8 --reporter=lcov --reporter=text node --test",
|
|
"docs": "typedoc --out .github/wiki/api src/index.ts",
|
|
"postbuild": "cp dist/index.d.ts dist/index.d.mts"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"keywords": [
|
|
"moon",
|
|
"lunar",
|
|
"phase",
|
|
"cycle",
|
|
"nasa",
|
|
"synodic",
|
|
"images",
|
|
"webp",
|
|
"astronomy",
|
|
"calendar",
|
|
"islamic"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/acamarata/moon-cycle.git"
|
|
},
|
|
"homepage": "https://github.com/acamarata/moon-cycle#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/acamarata/moon-cycle/issues"
|
|
},
|
|
"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": "^10.0.1",
|
|
"@types/node": "^22.0.0",
|
|
"c8": "^10.1.3",
|
|
"eslint": "^10.0.3",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"prettier": "^3.8.1",
|
|
"tsup": "^8.0.0",
|
|
"typedoc": "^0.28.19",
|
|
"typedoc-plugin-markdown": "^4.11.0",
|
|
"typescript": "^5.0.0",
|
|
"typescript-eslint": "^8.56.1"
|
|
},
|
|
"type": "module",
|
|
"packageManager": "pnpm@10.11.1",
|
|
"prettier": "@acamarata/prettier-config"
|
|
}
|