41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"name": "guesswhoiams-backend",
|
|
"version": "0.1.0",
|
|
"main": "index.js",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "npm run dev",
|
|
"dev": "tsrpc-cli dev",
|
|
"prod": "NODE_ENV=prod && node index.js",
|
|
"winprod": "NODE_ENV=prod && node index.js",
|
|
"debug": "set NODE_ENV=dev && nodemon --exec \"node --require ts-node/register --inspect=127.0.0.1:9229 src/index.ts\"",
|
|
"build": "tsrpc-cli build",
|
|
"doc": "tsrpc-cli doc",
|
|
"test": "mocha test/**/*.test.ts",
|
|
"api": "tsrpc-cli proto && tsrpc-cli api",
|
|
"proto": "tsrpc-cli proto",
|
|
"sync": "tsrpc-cli sync",
|
|
"lint": "eslint src/**/*.{js,jsx,ts,tsx,json}",
|
|
"lint:fix": "eslint --fix src/**/*.{js,jsx,ts,tsx,json}"
|
|
},
|
|
"devDependencies": {
|
|
"@types/mocha": "^8.2.3",
|
|
"@types/node": "^15.14.9",
|
|
"@typescript-eslint/eslint-plugin": "^6.6.0",
|
|
"@typescript-eslint/parser": "^6.6.0",
|
|
"eslint": "^8.49.0",
|
|
"mocha": "^9.2.2",
|
|
"onchange": "^7.1.0",
|
|
"ts-node": "^10.9.1",
|
|
"tsrpc-cli": "^2.4.5",
|
|
"typescript": "^4.9.5"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.6.7",
|
|
"dayjs": "^1.11.9",
|
|
"dotenv": "^16.3.1",
|
|
"fs": "^0.0.1-security",
|
|
"tsrpc": "^3.4.12"
|
|
}
|
|
}
|