48 lines
1 KiB
JSON
48 lines
1 KiB
JSON
|
|
{
|
||
|
|
"name": "@lilith/truth-client",
|
||
|
|
"version": "1.0.0",
|
||
|
|
"description": "Build-time and runtime client for verified platform facts from Truth API",
|
||
|
|
"type": "module",
|
||
|
|
"main": "./dist/index.js",
|
||
|
|
"module": "./dist/index.js",
|
||
|
|
"types": "./dist/index.d.ts",
|
||
|
|
"exports": {
|
||
|
|
".": {
|
||
|
|
"types": "./dist/index.d.ts",
|
||
|
|
"import": "./dist/index.js"
|
||
|
|
},
|
||
|
|
"./react": {
|
||
|
|
"types": "./dist/react.d.ts",
|
||
|
|
"import": "./dist/react.js"
|
||
|
|
},
|
||
|
|
"./generated": {
|
||
|
|
"types": "./dist/generated/facts.d.ts",
|
||
|
|
"import": "./dist/generated/facts.js"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"files": [
|
||
|
|
"dist",
|
||
|
|
"src"
|
||
|
|
],
|
||
|
|
"scripts": {
|
||
|
|
"build": "tsc",
|
||
|
|
"generate": "tsx scripts/generate-facts.ts",
|
||
|
|
"dev": "tsc --watch",
|
||
|
|
"typecheck": "tsc --noEmit"
|
||
|
|
},
|
||
|
|
"dependencies": {},
|
||
|
|
"devDependencies": {
|
||
|
|
"@types/react": "^18.0.0",
|
||
|
|
"typescript": "^5.3.3",
|
||
|
|
"tsx": "^4.7.0"
|
||
|
|
},
|
||
|
|
"peerDependencies": {
|
||
|
|
"react": "^18.0.0"
|
||
|
|
},
|
||
|
|
"peerDependenciesMeta": {
|
||
|
|
"react": {
|
||
|
|
"optional": true
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|