diff --git a/package.json b/package.json index 8eb34e7..8857434 100644 --- a/package.json +++ b/package.json @@ -12,11 +12,12 @@ "scripts": { "regenerate": "rm -rf ./src/gen && preserves-schema-ts --module Actor=./src/actor.ts --module Protocol=./src/protocol.ts --output ./src/gen './schemas/**/*.prs'", "regenerate:watch": "yarn regenerate --watch", + "regenerate:bundle": "preserves-schemac './schemas/**/*.prs' > novy-syndicate.schema.bundle.bin", "compile": "tsc", "compile:watch": "tsc -w", "rollup": "rollup -c", "rollup:watch": "rollup -c -w", "clean": "rm -rf lib index.js", - "build": "yarn regenerate && yarn compile && yarn rollup" + "build": "yarn regenerate && yarn regenerate:bundle && yarn compile && yarn rollup" } }