2021-12-31 21:38:26 +00:00
|
|
|
{
|
2021-12-31 21:42:24 +00:00
|
|
|
"name": "@hibas123/jrpcgen",
|
2023-04-25 06:14:16 +00:00
|
|
|
"version": "1.2.12",
|
2021-12-31 21:38:26 +00:00
|
|
|
"main": "lib/index.js",
|
|
|
|
"license": "MIT",
|
|
|
|
"packageManager": "yarn@3.1.1",
|
|
|
|
"scripts": {
|
|
|
|
"start": "ts-node src/index.ts",
|
2022-07-16 21:03:50 +00:00
|
|
|
"test-start": "npm run start -- compile examples/example.jrpc --definition=examples/definition.json -o=ts-node:examples/Typescript/out -o=c#:examples/CSharp/Generated -o=rust:examples/Rust/Generated -o=zig:examples/Zig/generated",
|
2022-01-05 21:16:17 +00:00
|
|
|
"test-csharp": "cd examples/CSharp/Example/ && dotnet run",
|
2022-05-21 17:55:14 +00:00
|
|
|
"test-typescript": "cd examples/Typescript && ts-node test.ts",
|
2022-07-16 21:22:16 +00:00
|
|
|
"test-rust": "cd examples/Rust/Generated/ && cargo build",
|
2022-01-05 21:16:17 +00:00
|
|
|
"test": "npm run test-start && npm run test-csharp && npm run test-typescript",
|
2022-07-16 21:47:34 +00:00
|
|
|
"build": "esbuild src/index.ts --bundle --platform=node --target=node16 --outfile=lib/jrpc.js",
|
2022-01-01 01:08:05 +00:00
|
|
|
"prepublishOnly": "npm run build"
|
2021-12-31 21:38:26 +00:00
|
|
|
},
|
2022-01-01 01:08:05 +00:00
|
|
|
"bin": {
|
|
|
|
"jrpc": "./lib/jrpc.js"
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"lib/jrpc.js",
|
2022-07-16 21:03:50 +00:00
|
|
|
"templates/*.ts",
|
|
|
|
"templates/CSharp/*.cs",
|
|
|
|
"templates/CSharp/*.csproj",
|
2022-07-16 21:37:02 +00:00
|
|
|
"templates/Rust/Cargo.toml",
|
|
|
|
"templates/Rust/src/lib.rs",
|
2022-07-30 10:16:40 +00:00
|
|
|
"templates/Dart/service_client.dart",
|
|
|
|
"templates/Dart/base.dart",
|
|
|
|
"templates/Dart/pubspec.yaml",
|
2022-07-16 21:03:50 +00:00
|
|
|
"examples/*.jrpcproj",
|
2022-01-01 01:08:05 +00:00
|
|
|
"src/**",
|
|
|
|
"tsconfig.json"
|
|
|
|
],
|
2021-12-31 21:38:26 +00:00
|
|
|
"devDependencies": {
|
|
|
|
"@types/debug": "^4.1.7",
|
2022-01-05 21:16:17 +00:00
|
|
|
"@types/fs-extra": "^9.0.13",
|
2021-12-31 21:38:26 +00:00
|
|
|
"@types/node": "^17.0.5",
|
2022-01-01 00:39:15 +00:00
|
|
|
"@types/prettier": "^2.4.2",
|
2021-12-31 21:38:26 +00:00
|
|
|
"@types/yargs": "^17.0.8",
|
|
|
|
"chalk": "4",
|
|
|
|
"debug": "^4.3.3",
|
2022-01-01 01:08:05 +00:00
|
|
|
"esbuild": "^0.14.10",
|
2021-12-31 21:38:26 +00:00
|
|
|
"prettier": "^2.5.1",
|
2022-01-01 01:08:05 +00:00
|
|
|
"ts-node": "^10.4.0",
|
|
|
|
"typescript": "^4.5.4",
|
2021-12-31 21:38:26 +00:00
|
|
|
"yargs": "^17.3.1"
|
2022-01-05 21:16:17 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"fs-extra": "^10.0.0"
|
2021-12-31 21:38:26 +00:00
|
|
|
}
|
|
|
|
}
|