Some checks failed
Build / Build Backend (push) Has been cancelled
Build / Build Mobile (TypeScript Check) (push) Has been cancelled
Lint / Lint Backend (push) Has been cancelled
Lint / Lint Mobile (push) Has been cancelled
Test / Backend E2E Tests (push) Has been cancelled
Test / Mobile Unit Tests (push) Has been cancelled
Build / Build Docker Image (push) Has been cancelled
- Add exports module with PDF/CSV/Excel generation - Add reports module for inventory analytics - Add POS integrations module - Add database migrations for exports, movements and integrations - Add GitHub Actions CI/CD workflow with Docker support - Add mobile export and reports screens with tests - Update epic documentation with traceability - Add deployment and security guides Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
108 lines
3.5 KiB
JSON
108 lines
3.5 KiB
JSON
{
|
|
"name": "@miinventario/backend",
|
|
"version": "0.1.0",
|
|
"description": "MiInventario Backend API",
|
|
"author": "MiInventario Team",
|
|
"private": true,
|
|
"license": "UNLICENSED",
|
|
"scripts": {
|
|
"build": "nest build",
|
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
"start": "nest start",
|
|
"start:dev": "nest start --watch",
|
|
"start:debug": "nest start --debug --watch",
|
|
"start:prod": "node dist/main",
|
|
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:cov": "jest --coverage",
|
|
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
|
"test:e2e": "jest --config ./test/jest-e2e.json",
|
|
"typeorm": "typeorm-ts-node-commonjs",
|
|
"migration:generate": "npm run typeorm -- migration:generate -d src/config/typeorm.config.ts",
|
|
"migration:run": "npm run typeorm -- migration:run -d src/config/typeorm.config.ts",
|
|
"migration:revert": "npm run typeorm -- migration:revert -d src/config/typeorm.config.ts",
|
|
"migration:create": "npm run typeorm -- migration:create",
|
|
"schema:sync": "npm run typeorm -- schema:sync -d src/config/typeorm.config.ts",
|
|
"schema:drop": "npm run typeorm -- schema:drop -d src/config/typeorm.config.ts",
|
|
"seed": "ts-node src/database/seed.ts",
|
|
"db:setup": "npm run migration:run && npm run seed"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.71.2",
|
|
"@aws-sdk/client-s3": "^3.450.0",
|
|
"@aws-sdk/s3-request-presigner": "^3.450.0",
|
|
"@nestjs/bull": "^10.0.0",
|
|
"@nestjs/common": "^10.0.0",
|
|
"@nestjs/config": "^3.1.0",
|
|
"@nestjs/core": "^10.0.0",
|
|
"@nestjs/jwt": "^10.2.0",
|
|
"@nestjs/passport": "^10.0.2",
|
|
"@nestjs/platform-express": "^10.0.0",
|
|
"@nestjs/swagger": "^7.1.0",
|
|
"@nestjs/typeorm": "^10.0.0",
|
|
"@types/fluent-ffmpeg": "^2.1.28",
|
|
"bcrypt": "^5.1.1",
|
|
"bull": "^4.11.0",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.14.0",
|
|
"exceljs": "^4.4.0",
|
|
"fast-csv": "^5.0.5",
|
|
"firebase-admin": "^11.11.0",
|
|
"fluent-ffmpeg": "^2.1.3",
|
|
"ioredis": "^5.3.0",
|
|
"openai": "^6.16.0",
|
|
"passport": "^0.6.0",
|
|
"passport-jwt": "^4.0.1",
|
|
"pg": "^8.11.0",
|
|
"reflect-metadata": "^0.1.13",
|
|
"rxjs": "^7.8.1",
|
|
"stripe": "^14.0.0",
|
|
"typeorm": "^0.3.17",
|
|
"uuid": "^9.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^10.0.0",
|
|
"@nestjs/schematics": "^10.0.0",
|
|
"@nestjs/testing": "^10.0.0",
|
|
"@types/bcrypt": "^5.0.0",
|
|
"@types/express": "^4.17.17",
|
|
"@types/jest": "^29.5.2",
|
|
"@types/node": "^20.3.1",
|
|
"@types/passport-jwt": "^3.0.10",
|
|
"@types/supertest": "^6.0.3",
|
|
"@types/uuid": "^9.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
"@typescript-eslint/parser": "^6.0.0",
|
|
"eslint": "^8.42.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
"jest": "^29.5.0",
|
|
"prettier": "^3.0.0",
|
|
"source-map-support": "^0.5.21",
|
|
"supertest": "^6.3.3",
|
|
"ts-jest": "^29.1.0",
|
|
"ts-loader": "^9.4.3",
|
|
"ts-node": "^10.9.1",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"typescript": "^5.1.3"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"ts"
|
|
],
|
|
"rootDir": "src",
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
"transform": {
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
},
|
|
"collectCoverageFrom": [
|
|
"**/*.(t|j)s"
|
|
],
|
|
"coverageDirectory": "../coverage",
|
|
"testEnvironment": "node"
|
|
}
|
|
}
|