88 lines
2.3 KiB
JSON
88 lines
2.3 KiB
JSON
{
|
|
"name": "sim-consumidor-objenious",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"description": "consumidor generico de envetos de RMQ",
|
|
"main": "index.ts",
|
|
"imports": {
|
|
"#config/*.js": {
|
|
"types": "./config/*.ts",
|
|
"default": "./config/*.js"
|
|
},
|
|
"#config/*": {
|
|
"types": "./config/*.ts",
|
|
"default": "./config/*.js"
|
|
},
|
|
"sim-shared/*.js": {
|
|
"default": "../sim-shared/*.js"
|
|
},
|
|
"sim-shared/*": {
|
|
"default": "../sim-shared/*.js"
|
|
},
|
|
"#adapters/*.js": {
|
|
"types": "./infrastructure/*.ts",
|
|
"default": "./infrastructure/*.js"
|
|
},
|
|
"#adapters/*": {
|
|
"types": "./infrastructure/*.ts",
|
|
"default": "./infrastructure/*.js"
|
|
},
|
|
"#domain/*.js": {
|
|
"types": "./domain/*.ts",
|
|
"default": "./domain/*.js"
|
|
},
|
|
"#domain/*": {
|
|
"types": "./domain/*.ts",
|
|
"default": "./domain/*.js"
|
|
},
|
|
"#ports/*.js": {
|
|
"types": "./ports/*.ts",
|
|
"default": "./ports/*.js"
|
|
},
|
|
"#ports/*": {
|
|
"types": "./ports/*.ts",
|
|
"default": "./ports/*.js"
|
|
},
|
|
"#tests/*.js": {
|
|
"types": "./__tests__/*.ts",
|
|
"default": "./__tests__/*.js"
|
|
},
|
|
"#tests/*": {
|
|
"types": "./__tests__/*.ts",
|
|
"default": "./__tests__/*.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": "node --import tsx --test ./**/*.test.ts",
|
|
"dev": "tsx watch index.ts",
|
|
"build": "tsc --build && yarn tsc-alias -p tsconfig.json && cp -P ./.env ./package.json ../../dist/packages/sim-consumidor-objenious/",
|
|
"build:prod": "tsc --build && yarn tsc-alias -p tsconfig.json && cp -P ./package.json ../../dist/packages/sim-consumidor-objenious/",
|
|
"start": "node ../../dist/packages/sim-consumidor-objenious/index.js",
|
|
"type:test": "tsc --noEmit"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"packageManager": "yarn@4.12.0",
|
|
"dependencies": {
|
|
"@tsconfig/node22": "*",
|
|
"amqplib": "^0.10.9",
|
|
"cors": "*",
|
|
"dotenv": "*",
|
|
"express": "*",
|
|
"sim-shared": "sim-shared:*",
|
|
"typescript": "*"
|
|
},
|
|
"devDependencies": {
|
|
"@types/amqplib": "^0.10.8",
|
|
"@types/cors": "*",
|
|
"@types/express": "*",
|
|
"@types/node": "*",
|
|
"@types/supertest": "*",
|
|
"prettier": "*",
|
|
"supertest": "*",
|
|
"tsc-alias": "^1.8.16",
|
|
"tsx": "*",
|
|
"vitest": "*"
|
|
}
|
|
}
|