Distribute schema.prs

This commit is contained in:
Tony Garnock-Jones 2022-05-04 09:27:04 +02:00
parent 859a88adc2
commit b45306db03
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
"types": "lib/index.d.ts",
"author": "Tony Garnock-Jones <tonyg@leastfixedpoint.com>",
"scripts": {
"regenerate": "rm -rf ./src/gen && ./bin/preserves-schema-ts.js --output ./src/gen ../../../../schema:schema.prs",
"regenerate": "rm -rf ./src/gen && mkdir -p ./dist && cp -a ../../../../schema/schema.prs ./dist & ./bin/preserves-schema-ts.js --output ./src/gen ./dist:schema.prs",
"clean": "rm -rf lib dist",
"prepare": "yarn compile && yarn rollup",
"compile": "tsc",