mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-02-09 05:25:15 -05:00
This will automatically restart the backend server in docker anytime there are changes to the original source files instead of copying over when running in dev mode. In production, it will still do the normal copy/build.
32 lines
785 B
JSON
32 lines
785 B
JSON
{
|
|
"name": "@the-game/backend",
|
|
"version": "0.1.0",
|
|
"description": "",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"start": "yarn start:backend",
|
|
"start:backend": "node ./dist/index.js",
|
|
"start:backend:dev": "yarn dev",
|
|
"dev": "ts-node-dev --exit-child --respawn --transpileOnly src/index.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"build": "tsc"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@the-game/utils": "1.0.0",
|
|
"3box": "^1.18.1",
|
|
"body-parser": "^1.19.0",
|
|
"ethers": "^4.0.46",
|
|
"express": "^4.17.1",
|
|
"node-fetch": "^2.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.6",
|
|
"@types/node": "^13.11.1",
|
|
"@types/node-fetch": "^2.5.6",
|
|
"ts-node-dev": "^1.0.0-pre.50",
|
|
"typescript": "^3.8.3"
|
|
}
|
|
}
|