- en.wiktionary entries via kaikki.org (meanings, IPA, transliteration, audio, etymology, synonyms) - ur./fa./ar.wiktionary dumps for meanings in each language (incl. more Urdu entry formats) - English->Urdu pivot table from Urdu entries' glosses and ur.wiktionary's English entries - dict-sync.ts: re-imports sources when upstream publishes new files, applies daily recent changes; run from deploy/sync.sh - lookups now read the database (2-7 ms) instead of calling Wikimedia live Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
400 B
JSON
20 lines
400 B
JSON
{
|
|
"name": "divan-api",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Divan API: Node.js + PostgreSQL",
|
|
"engines": {
|
|
"node": ">=24"
|
|
},
|
|
"scripts": {
|
|
"start": "node src/server.ts",
|
|
"import": "node src/import.ts",
|
|
"test": "node --test src/*.test.ts",
|
|
"dict-sync": "node src/dict-sync.ts"
|
|
},
|
|
"dependencies": {
|
|
"fastify": "^5.12.5",
|
|
"pg": "^8.23.1"
|
|
}
|
|
}
|