JsonRPC/package.json

37 lines
1015 B
JSON
Raw Normal View History

{
"name": "@hibas123/jrpcgen",
2022-01-02 22:17:31 +00:00
"version": "1.0.9",
"main": "lib/index.js",
"license": "MIT",
"packageManager": "yarn@3.1.1",
"scripts": {
"start": "ts-node src/index.ts",
2022-01-01 18:47:34 +00:00
"test": "npm run start -- compile examples/example.jrpc --definition=examples/definition.json -o=ts-node:examples/out && ts-node examples/test.ts",
"build": "esbuild src/index.ts --bundle --platform=node --target=node14 --outfile=lib/jrpc.js",
"prepublishOnly": "npm run build"
},
"bin": {
"jrpc": "./lib/jrpc.js"
},
"files": [
"lib/jrpc.js",
"templates/**",
"examples/**",
"src/**",
"tsconfig.json"
],
"devDependencies": {
"@types/debug": "^4.1.7",
"@types/node": "^17.0.5",
"@types/prettier": "^2.4.2",
"@types/yargs": "^17.0.8",
"chalk": "4",
"debug": "^4.3.3",
"esbuild": "^0.14.10",
"prettier": "^2.5.1",
"ts-node": "^10.4.0",
"typescript": "^4.5.4",
"yargs": "^17.3.1"
}
}