- ✅ Ticket 1.1: Estructura Clean Architecture en backend - ✅ Ticket 1.2: Schemas Zod compartidos - ✅ Ticket 1.3: Refactorización drugs.ts (1362 → 8 archivos modulares) - ✅ Ticket 1.4: Refactorización procedures.ts (3583 → 6 archivos modulares) - ✅ Ticket 1.5: Eliminación de duplicidades (~50 líneas) Cambios principales: - Creada estructura Clean Architecture en backend/src/ - Schemas Zod compartidos en backend/src/shared/schemas/ - Refactorización modular de drugs y procedures - Utilidades genéricas en src/utils/ (filter, validation) - Eliminados scripts obsoletos y documentación antigua - Corregidos errores: QueryClient, import test-error-handling - Build verificado y funcionando correctamente
50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"name": "b4a",
|
|
"version": "1.7.3",
|
|
"description": "Bridging the gap between buffers and typed arrays",
|
|
"exports": {
|
|
"./package": "./package.json",
|
|
".": {
|
|
"react-native": "./react-native.js",
|
|
"browser": "./browser.js",
|
|
"default": "./index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"browser.js",
|
|
"index.js",
|
|
"react-native.js",
|
|
"lib"
|
|
],
|
|
"scripts": {
|
|
"test": "npm run lint && npm run test:bare && npm run test:node",
|
|
"test:bare": "bare test.mjs",
|
|
"test:node": "node test.mjs",
|
|
"lint": "prettier . --check"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/holepunchto/b4a.git"
|
|
},
|
|
"author": "Holepunch",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/holepunchto/b4a/issues"
|
|
},
|
|
"homepage": "https://github.com/holepunchto/b4a#readme",
|
|
"devDependencies": {
|
|
"brittle": "^3.5.2",
|
|
"nanobench": "^3.0.0",
|
|
"prettier": "^3.6.2",
|
|
"prettier-config-holepunch": "^1.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react-native-b4a": "*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"react-native-b4a": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|