Skip to content

Commit

Permalink
publish gh-pages after npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Dec 2, 2019
1 parent 80feefa commit a1feea8
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 @@ -35,7 +35,8 @@
"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 --any-branch && npm run gh-pages",
"prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish --any-branch",
"postPublish": "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",
Expand Down

0 comments on commit a1feea8

Please sign in to comment.