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.0.3",
|
|
"got": "^12.5.3",
|
|
"koa": "^2.13.4",
|
|
"koa-body": "^6.0.1",
|
|
"mongodb": "^4.12.1",
|
|
"nodemon": "^2.0.20"
|
|
},
|
|
"devDependencies": {
|
|
"@types/koa": "^2.13.5",
|
|
"@types/koa__cors": "^3.3.0",
|
|
"@types/koa__router": "^12.0.0",
|
|
"@types/node": "^18.11.10",
|
|
"@types/safe-timers": "^1.1.0",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.9.5"
|
|
},
|
|
"engines": {
|
|
"node": "^16"
|
|
}
|
|
}
|