New preserves-schema-ts invocation style

This commit is contained in:
Tony Garnock-Jones 2021-12-13 13:38:46 +01:00
parent 49283cb4ca
commit 85f123c777
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
"repository": "github:syndicate-lang/syndicate-js",
"scripts": {
"prepare": "yarn regenerate && yarn compile && yarn rollup",
"regenerate": "rm -rf ./src/gen && preserves-schema-ts --module EntityRef=./src/runtime/actor.ts --output ./src/gen './protocols/schemas/**/*.prs'",
"regenerate": "rm -rf ./src/gen && preserves-schema-ts --module EntityRef=./src/runtime/actor.ts --output ./src/gen './protocols/schemas' './local-protocols/schemas'",
"regenerate:watch": "yarn regenerate --watch",
"compile": "../../node_modules/.bin/tsc",
"compile:watch": "../../node_modules/.bin/tsc -w",