feat: Add publish script

This commit is contained in:
Braks
2022-04-04 21:42:48 +02:00
parent cd817b7f53
commit 57f8428a35
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -8,6 +8,7 @@
"dev": "yarn --cwd examples dev", "dev": "yarn --cwd examples dev",
"build": "yarn --cwd package build", "build": "yarn --cwd package build",
"postbuild": "yarn typedoc", "postbuild": "yarn typedoc",
"release": "yarn --cwd package np",
"test": "yarn --cwd tests test", "test": "yarn --cwd tests test",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .", "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" "typedoc": "typedoc --tsconfig ./package/tsconfig.docs.json ./package/dist/index.d.ts --out typedocs"
+1 -2
View File
@@ -22,8 +22,7 @@
"build": "vite build && vue-tsc --declaration --emitDeclarationOnly && tsc -p tsconfig.build.json && yarn theme", "build": "vite build && vue-tsc --declaration --emitDeclarationOnly && tsc -p tsconfig.build.json && yarn theme",
"postbuild": "shx rm -rf tmp", "postbuild": "shx rm -rf tmp",
"prepublishOnly": "yarn build", "prepublishOnly": "yarn build",
"test": "cypress run-ct", "test": "yarn --cwd .. test",
"test:open": "cypress open-ct",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .", "lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .",
"theme": "postcss src/theme-default.css -o dist/theme-default.css" "theme": "postcss src/theme-default.css -o dist/theme-default.css"
}, },