feat: Add publish script

This commit is contained in:
Braks
2022-03-29 17:39:33 +02:00
parent cd817b7f53
commit 57f8428a35
2 changed files with 2 additions and 2 deletions

View File

@@ -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"

View File

@@ -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"
},