Skip to content

Commit 26526bd

Browse files
committed
chore: allow publish in current branch
1 parent 5c09303 commit 26526bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"build": "dumi build",
3131
"compile": "father build && lessc assets/index.less assets/index.css",
3232
"gh-pages": "npm run build && father doc deploy",
33-
"prepublishOnly": "npm run compile && np --yolo --no-publish",
33+
"prepublishOnly": "npm run compile && np --yolo --no-publish --branch 2.x",
3434
"lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
3535
"prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
3636
"test": "father test",

0 commit comments

Comments
 (0)