1
0
Fork 0
mirror of synced 2024-10-05 12:34:50 +13:00

Add prepack hook to backend-core preserve correct version after bumped by lerna

This commit is contained in:
Rory Powell 2022-06-15 09:35:35 +01:00
parent a0a9843dae
commit 571c5291f7

View file

@ -13,6 +13,7 @@
"license": "GPL-3.0", "license": "GPL-3.0",
"scripts": { "scripts": {
"prebuild": "rimraf dist/", "prebuild": "rimraf dist/",
"prepack": "cp package.json dist",
"build": "tsc -p tsconfig.build.json", "build": "tsc -p tsconfig.build.json",
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput", "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
"test": "jest", "test": "jest",