73 lines
2.0 KiB
JSON
73 lines
2.0 KiB
JSON
{
|
|
"name": "sim-consumidor-nos",
|
|
"type": "module",
|
|
"description": "consumidor generico de eventos de NOS",
|
|
"main": "index.ts",
|
|
"imports": {
|
|
"#config/*.js": {
|
|
"types": "./config/*.ts",
|
|
"default": "./config/*.js"
|
|
},
|
|
"#config/*": {
|
|
"types": "./config/*.ts",
|
|
"default": "./config/*.js"
|
|
},
|
|
"#infrastructure/*.js": {
|
|
"types": "./infrastructure/*.ts",
|
|
"default": "./infrastructure/*.js"
|
|
},
|
|
"#infrastructure/*": {
|
|
"types": "./infrastructure/*.ts",
|
|
"default": "./infrastructure/*.js"
|
|
},
|
|
"#domain/*.js": {
|
|
"types": "./domain/*.ts",
|
|
"default": "./domain/*.js"
|
|
},
|
|
"#domain/*": {
|
|
"types": "./domain/*.ts",
|
|
"default": "./domain/*.js"
|
|
},
|
|
"#aplication/*.js": {
|
|
"types": "./aplication/*.ts",
|
|
"default": "./aplication/*.js"
|
|
},
|
|
"#aplication/*": {
|
|
"types": "./aplication/*.ts",
|
|
"default": "./aplication/*.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"build": "yarn tsc --project tsconfig.json && yarn tsc-alias && cp -P .env package.json ../../dist/packages/sim-consumidor-nos/",
|
|
"build:prod": "yarn tsc --project tsconfig.json && yarn tsc-alias && cp -P package.json ../../dist/packages/sim-consumidor-nos/",
|
|
"esbuild": "esbuild index.ts --platform=node",
|
|
"start": "node ../../dist/packages/sim-consumidor-nos/index.js",
|
|
"dev": "tsx watch index.ts"
|
|
},
|
|
"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": "*"
|
|
}
|
|
}
|