74 lines
2.1 KiB
JSON
74 lines
2.1 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",
|
|
"validate:constants": "ts-node scripts/validate-constants-usage.ts",
|
|
"sync:enums": "ts-node scripts/sync-enums.ts",
|
|
"precommit": "npm run lint && npm run validate:constants"
|
|
},
|
|
"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"
|
|
}
|
|
}
|