Skip to content

Commit

Permalink
add prepublishOnly script
Browse files Browse the repository at this point in the history
  • Loading branch information
blucas.wu committed Oct 27, 2023
1 parent 8b37f0d commit 6b5ae82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"prebuild:doc": "yarn run build:pkg",
"build:doc": "vite build --mode doc",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
"preview": "vite preview",
"prepublishOnly": "yarn build:pkg"
},
"devDependencies": {
"@types/react": "^17.0.0",
Expand Down

0 comments on commit 6b5ae82

Please sign in to comment.