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