Add zig output to package.json

This commit is contained in:
Fabian Stamm 2022-07-16 21:03:50 +00:00
parent 8ee16fb09d
commit 2289a6d6ab

View File

@ -6,7 +6,7 @@
"packageManager": "yarn@3.1.1",
"scripts": {
"start": "ts-node src/index.ts",
"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",
"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",
"test-csharp": "cd examples/CSharp/Example/ && dotnet run",
"test-typescript": "cd examples/Typescript && ts-node test.ts",
"test-rust": "cd examples/Rust/Generated/ && cargo build",
@ -19,8 +19,10 @@
},
"files": [
"lib/jrpc.js",
"templates/**",
"examples/*.jrpc",
"templates/*.ts",
"templates/CSharp/*.cs",
"templates/CSharp/*.csproj",
"examples/*.jrpcproj",
"src/**",
"tsconfig.json"
],