diff --git a/package/package.json b/package/package.json index 5ed6c9fa..154aa18a 100644 --- a/package/package.json +++ b/package/package.json @@ -24,11 +24,12 @@ "scripts": { "build": "vite build && vue-tsc --declaration --emitDeclarationOnly && tsc -p tsconfig.build.json && yarn theme", "postbuild": "shx rm -rf tmp && yarn lint", + "pretest": "yarn build", "test": "yarn --cwd .. test", "lint": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix ./dist", "theme": "postcss src/theme-default.css -o dist/theme-default.css", "prepare": "ts-patch install -s", - "prepublishOnly": "shx cp ../README.md . && yarn build", + "prepublish": "shx cp ../README.md .", "postpublish": "shx rm README.md" }, "dependencies": { diff --git a/tests/package.json b/tests/package.json index cc03aa28..dd1c8d0e 100644 --- a/tests/package.json +++ b/tests/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "test": "cypress run-ct", - "test:open": "cypress open-ct" + "open": "cypress open-ct" }, "dependencies": { "@braks/vue-flow": "^0.4.0-17"