Add schema bundle target
This commit is contained in:
parent
29245af627
commit
c46f78f536
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue