✨ feat: implement core Optimus library for JSON mapping and validation

- 🎨 add Spring-like decorators (@JsonSerialize, @JsonDeserialize, etc.)
- ⚙️ implement JsonMapper and metadata storage for transformations
- 🧪 add comprehensive test suite using Vitest
- 📝 add README, CONTRIBUTING, and API documentation
- 👷 setup GitHub Actions CI workflow
- 🔧 configure TypeScript and project settings
This commit is contained in:
Enzo Marioni
2026-04-11 16:58:12 +02:00
parent 45e790a7d0
commit 7fe7e8c7c3
15 changed files with 2026 additions and 19 deletions
+41
View File
@@ -0,0 +1,41 @@
{
"name": "optimus",
"version": "1.0.0",
"description": "Spring-like decorators for JSON mapping and validation in TypeScript",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"demo": "ts-node src/example.ts",
"type-check": "tsc --noEmit",
"test": "vitest run",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Avalon-Vanguard/optimus.git"
},
"keywords": [
"json",
"mapping",
"validation",
"decorators",
"spring",
"typescript"
],
"author": "Avalon Vanguard",
"license": "MIT",
"bugs": {
"url": "https://github.com/Avalon-Vanguard/optimus/issues"
},
"homepage": "https://github.com/Avalon-Vanguard/optimus#readme",
"devDependencies": {
"@types/node": "^25.6.0",
"ts-node": "^10.9.2",
"typescript": "^6.0.2",
"vitest": "^4.1.4"
}
}