44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"name": "server",
|
|
"license": "MIT",
|
|
"version": "2.0.0",
|
|
"description": "Code source du serveur backend mon-entreprise",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/betagouv/mon-entreprise.git",
|
|
"directory": "server"
|
|
},
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "yarn tsc",
|
|
"start": "nodemon -e \"js,ts\" -x 'NODE_OPTIONS=\"--loader ts-node/esm\" node ./source/index.ts'",
|
|
"start:prod": "NODE_ENV=production nodemon -d 500ms -w ./dist/index.js -x 'node ./dist/index.js || touch ./dist/index.js'"
|
|
},
|
|
"dependencies": {
|
|
"@breejs/later": "^4.1.0",
|
|
"@koa/cors": "^4.0.0",
|
|
"@koa/router": "^12.0.0",
|
|
"bree": "^9.1.3",
|
|
"crisp-api": "=6.4.1",
|
|
"dotenv": "^16.3.1",
|
|
"got": "^13.0.0",
|
|
"koa": "^2.14.2",
|
|
"koa-body": "^6.0.1",
|
|
"mongodb": "^5.9.0",
|
|
"nodemon": "^3.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/koa": "^2.13.9",
|
|
"@types/koa__cors": "^4.0.1",
|
|
"@types/koa__router": "^12.0.1",
|
|
"@types/node": "^20.6.3",
|
|
"@types/safe-timers": "^1.1.0",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^5.2.2"
|
|
},
|
|
"engines": {
|
|
"node": "^18"
|
|
}
|
|
}
|