添加prepublishOnly命令

This commit is contained in:
castleiMac 2022-01-04 18:45:45 +08:00
parent a455abee12
commit b244b384b0

View File

@ -28,7 +28,8 @@
"build:example": "vite build example",
"lint:eslint": "eslint 'src/**/*.{vue,ts,tsx}' --fix",
"lint:prettier": "prettier --write 'src/**/*'",
"commit": "git cz"
"commit": "git cz",
"prepublishOnly": "npm run build"
},
"dependencies": {
"@layui/hooks-vue": "^0.1.6",