23 lines
682 B
JSON
23 lines
682 B
JSON
{
|
|
"devDependencies": {
|
|
"@types/node": "^14.14.31",
|
|
"esm": "^3.2.25",
|
|
"rollup": "^2.40.0",
|
|
"typescript": "^4.2.3"
|
|
},
|
|
"dependencies": {
|
|
"@preserves/core": "^0.10.0",
|
|
"@preserves/schema": "^0.3.1"
|
|
},
|
|
"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",
|
|
"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"
|
|
}
|
|
}
|