Skip to content

Commit c2b50eb

Browse files
committed
build: fix build package first then preview
1 parent c75f288 commit c2b50eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"start": "pbiviz start",
2222
"test": "echo no tests",
2323
"build:preview": "shx mv pbiviz.json pbiviz.bak.json && shx cp pbiviz_preview.json pbiviz.json && pbiviz package && shx mv dist/upSetJSVenn* dist/upsetjs_venn_preview.pbiviz && shx rm pbiviz.json && shx mv pbiviz.bak.json pbiviz.json",
24-
"build": "shx rm -rf dist && npm run build:preview && pbiviz package && shx cp dist/upSetJSVenn* dist/upsetjs_venn.pbiviz",
24+
"build": "shx rm -rf dist && pbiviz package && shx cp dist/upSetJSVenn* dist/upsetjs_venn.pbiviz && npm run build:preview",
2525
"lint": "npm run eslint && npm run prettier",
2626
"fix": "npm run eslint:fix && npm run prettier:write",
2727
"prettier:impl": "prettier --cache \"*\" \"*/**\"",

0 commit comments

Comments
 (0)