mon-entreprise/server/package.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.2",
"crisp-api": "7.0.0",
"dotenv": "^16.0.3",
"got": "^12.5.3",
"koa": "^2.13.4",
"koa-body": "^6.0.1",
"mongodb": "^4.11.0",
"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.9",
"@types/safe-timers": "^1.1.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.3"
},
"engines": {
"node": "^16"
}
}