27 lines
760 B
JSON
27 lines
760 B
JSON
{
|
|
"name": "custom-http-res-.",
|
|
"version": "0.1.0",
|
|
"main": "index.js",
|
|
"private": true,
|
|
"scripts": {
|
|
"proto": "tsrpc proto -i src/shared/protocols -o src/shared/protocols/serviceProto.ts",
|
|
"sync": "tsrpc sync --from src/shared --to ../frontend/src/shared",
|
|
"api": "tsrpc api -i src/shared/protocols/serviceProto.ts -o src/api",
|
|
"dev": "onchange \"src/**/*.ts\" -i -k -- ts-node \"src/index.ts\"",
|
|
"test": "mocha test/**/*.test.ts",
|
|
"build": "tsrpc build"
|
|
},
|
|
"devDependencies": {
|
|
"@types/mocha": "^8.2.2",
|
|
"@types/node": "^15.12.5",
|
|
"mocha": "^9.0.1",
|
|
"onchange": "^7.1.0",
|
|
"ts-node": "^10.0.0",
|
|
"tsrpc-cli": "^2.0.3",
|
|
"typescript": "^4.3.4"
|
|
},
|
|
"dependencies": {
|
|
"tsrpc": "^3.0.4"
|
|
}
|
|
}
|