diff --git a/package.json b/package.json index c55532b0a..e53c13c03 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "build": "father doc build --storybook", "compile": "father build && lessc assets/index.less assets/index.css && lessc assets/animation.less assets/animation.css && lessc assets/bordered.less assets/bordered.css", "gh-pages": "npm run build && father doc deploy", - "prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish && npm run gh-pages", + "prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish --any-branch && npm run gh-pages", "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md", "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"", "test": "father test",