Repair schema distribution

This commit is contained in:
Tony Garnock-Jones 2022-05-04 09:28:49 +02:00
parent b45306db03
commit 8595034190
1 changed files with 3 additions and 2 deletions

View File

@ -13,13 +13,14 @@
"types": "lib/index.d.ts",
"author": "Tony Garnock-Jones <tonyg@leastfixedpoint.com>",
"scripts": {
"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",
"regenerate": "rm -rf ./src/gen && yarn copy-schema && ./bin/preserves-schema-ts.js --output ./src/gen ./dist:schema.prs",
"clean": "rm -rf lib dist",
"prepare": "yarn compile && yarn rollup",
"prepare": "yarn compile && yarn rollup && yarn copy-schema",
"compile": "tsc",
"compile:watch": "yarn compile -w",
"rollup": "rollup -c",
"rollup:watch": "yarn rollup -w",
"copy-schema": "mkdir -p ./dist && cp -a ../../../../schema/schema.prs ./dist",
"test": "jest",
"test:watch": "jest --watch",
"veryclean": "yarn run clean && rm -rf node_modules"