1
0
mirror of synced 2025-12-25 01:00:12 -05:00

chore: add pre-publish step

This commit is contained in:
caele
2021-09-13 16:53:00 +02:00
parent d140c89e5a
commit 39cacf167f

View File

@@ -11,9 +11,10 @@
"watch": "nebula serve --type sn-network-chart", "watch": "nebula serve --type sn-network-chart",
"watch:legacy": "nebula serve --type qlik-network-chart", "watch:legacy": "nebula serve --type qlik-network-chart",
"build": "nebula build --core core", "build": "nebula build --core core",
"sense": "nebula sense --meta resources/meta.json && shx cp resources/network_chart_v1.png dist", "sense": "nebula sense --meta resources/meta.json && shx cp resources/network_chart_v1.png sn-network-chart-ext",
"eslint": "eslint src", "eslint": "eslint src",
"spec": "scriptappy-from-jsdoc -c ./spec-configs/props.conf.js" "spec": "scriptappy-from-jsdoc -c ./spec-configs/props.conf.js",
"prepublishOnly": "shx rm -rf dist && shx rm -rf core/esm && shx rm -rf sn-network-chart-ext && yarn build && yarn sense"
}, },
"files": [ "files": [
"api-specifications", "api-specifications",