- Configure workspace Git repository with comprehensive .gitignore - Add Odoo as submodule for ERP reference code - Include documentation: SETUP.md, GIT-STRUCTURE.md - Add gitignore templates for projects (backend, frontend, database) - Structure supports independent repos per project/subproject level Workspace includes: - core/ - Reusable patterns, modules, orchestration system - projects/ - Active projects (erp-suite, gamilit, trading-platform, etc.) - knowledge-base/ - Reference code and patterns (includes Odoo submodule) - devtools/ - Development tools and templates - customers/ - Client implementations template 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
71 lines
1.9 KiB
JSON
71 lines
1.9 KiB
JSON
{
|
|
"name": "@construccion-mvp/backend",
|
|
"version": "1.0.0",
|
|
"description": "Backend API - MVP Sistema Administración de Obra e INFONAVIT",
|
|
"main": "dist/server.js",
|
|
"scripts": {
|
|
"dev": "ts-node-dev --respawn --transpile-only src/server.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/server.js",
|
|
"lint": "eslint src/**/*.ts",
|
|
"lint:fix": "eslint src/**/*.ts --fix",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:coverage": "jest --coverage",
|
|
"typeorm": "typeorm-ts-node-commonjs",
|
|
"migration:generate": "npm run typeorm -- migration:generate",
|
|
"migration:run": "npm run typeorm -- migration:run",
|
|
"migration:revert": "npm run typeorm -- migration:revert"
|
|
},
|
|
"keywords": [
|
|
"construccion",
|
|
"erp",
|
|
"infonavit",
|
|
"nodejs",
|
|
"typescript",
|
|
"express",
|
|
"typeorm"
|
|
],
|
|
"author": "Tu Empresa",
|
|
"license": "UNLICENSED",
|
|
"dependencies": {
|
|
"express": "^4.18.2",
|
|
"typeorm": "^0.3.17",
|
|
"pg": "^8.11.3",
|
|
"reflect-metadata": "^0.1.13",
|
|
"class-validator": "^0.14.0",
|
|
"class-transformer": "^0.5.1",
|
|
"dotenv": "^16.3.1",
|
|
"cors": "^2.8.5",
|
|
"helmet": "^7.1.0",
|
|
"morgan": "^1.10.0",
|
|
"express-rate-limit": "^7.1.5",
|
|
"bcryptjs": "^2.4.3",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"swagger-ui-express": "^5.0.0",
|
|
"yamljs": "^0.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.21",
|
|
"@types/node": "^20.10.5",
|
|
"@types/cors": "^2.8.17",
|
|
"@types/morgan": "^1.9.9",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/jsonwebtoken": "^9.0.5",
|
|
"@types/swagger-ui-express": "^4.1.6",
|
|
"@types/jest": "^29.5.11",
|
|
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
|
"@typescript-eslint/parser": "^6.15.0",
|
|
"eslint": "^8.56.0",
|
|
"jest": "^29.7.0",
|
|
"ts-jest": "^29.1.1",
|
|
"ts-node": "^10.9.2",
|
|
"ts-node-dev": "^2.0.0",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0",
|
|
"npm": ">=9.0.0"
|
|
}
|
|
}
|