seahaven-ap/packages/shared/package.json
Adam Moussa 46b570352a
feat(shared): add payment ladder and CSV domain package (AP-13) (#11)
* feat(shared): add payment ladder and CSV domain package

Introduce @seahaven-ap/shared via npm workspaces so FE and future API share
payments-dashboard-compatible status ladders, pay-date helpers, and CSV headers.

* fix(web): build shared package before vite dev

Ensure fresh npm ci && npm run dev (and Playwright webServer) can resolve
@seahaven-ap/shared dist exports that are gitignored.
2026-08-10 19:28:02 -04:00

31 lines
700 B
JSON

{
"name": "@seahaven-ap/shared",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "Shared AP domain: payment ladder, invoice helpers, pay-date parsers, CSV constants",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc --project tsconfig.build.json",
"typecheck": "tsc --noEmit --project tsconfig.json",
"test": "vitest run",
"test:watch": "vitest"
},
"devDependencies": {
"typescript": "^5.9.2",
"vitest": "^3.2.4"
},
"engines": {
"node": ">=22.22.1"
}
}