Skip to content

Commit

Permalink
chore: optimize beta command
Browse files Browse the repository at this point in the history
  • Loading branch information
crazylxr committed Jun 13, 2022
1 parent 38490fe commit 7462526
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"url": "git+https://github.com/alibaba/hooks.git"
},
"scripts": {
"init": "pnpm clean && pnpm install && pnpm run build",
"init": "pnpm clean && pnpm install && pnpm run build",
"start": "pnpm run dev",
"dev": "dumi dev",
"clean": "rm -rf node_modules **/*/node_modules",
Expand All @@ -20,7 +20,7 @@
"pub:doc-gitee": "cd ./dist && rm -rf .git && touch .spa && touch .nojekyll && git init && git remote add origin git@gitee.com:ahooks/ahooks.git && git add -A && git commit -m \"publish docs\" && git push origin master -f && echo https://gitee.com/ahooks/ahooks/pages",
"pub:doc": "pnpm run build:doc && pnpm run pub:doc-surge && pnpm run pub:doc-gitee",
"pub": "pnpm run build && pnpm -r --filter=./packages/* publish",
"pub:beta": "pnpm run build && pnpm run publish --tag beta",
"pub:beta": "pnpm run build && pnpm -r --filter=./packages/* publish --tag beta",
"preinstall": "npx only-allow pnpm",
"prepare": "husky install"
},
Expand Down Expand Up @@ -73,4 +73,4 @@
"webpack-merge": "^4.2.2"
},
"packageManager": "pnpm@7.1.9"
}
}

0 comments on commit 7462526

Please sign in to comment.