feat: Add publish script
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user