From 57f8428a35c29ee772c28190df9ea52076649825 Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Tue, 29 Mar 2022 17:39:33 +0200 Subject: [PATCH] feat: Add publish script --- package.json | 1 + package/package.json | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c6504a98..84eeeac3 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "dev": "yarn --cwd examples dev", "build": "yarn --cwd package build", "postbuild": "yarn typedoc", + "release": "yarn --cwd package np", "test": "yarn --cwd tests test", "lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .", "typedoc": "typedoc --tsconfig ./package/tsconfig.docs.json ./package/dist/index.d.ts --out typedocs" diff --git a/package/package.json b/package/package.json index dbd6506c..e4ee060a 100644 --- a/package/package.json +++ b/package/package.json @@ -22,8 +22,7 @@ "build": "vite build && vue-tsc --declaration --emitDeclarationOnly && tsc -p tsconfig.build.json && yarn theme", "postbuild": "shx rm -rf tmp", "prepublishOnly": "yarn build", - "test": "cypress run-ct", - "test:open": "cypress open-ct", + "test": "yarn --cwd .. test", "lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .", "theme": "postcss src/theme-default.css -o dist/theme-default.css" },