Skip to content

Commit ff26b82

Browse files
committed
[meta] fix prepublish scripts
1 parent d4a57d8 commit ff26b82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"flow": "if [ ! -e ./.flowconfig ]; then echo \"Could not find .flowconfig\"; else flow; test $? -eq 0 -o $? -eq 2; fi",
2323
"lint:fix": "npm run lint -- --fix",
2424
"lint": "eslint --config .eslintrc src __tests__ __mocks__ scripts",
25-
"prepublish": "safe-publish-latest && not-in-publish || npm run prepublishOnly",
26-
"prepublishOnly": "npm run lint && npm run flow && npm run jest && npm run build",
25+
"prepublish": "not-in-publish || npm run prepublishOnly",
26+
"prepublishOnly": "safe-publish-latest && npm run lint && npm run flow && npm run jest && npm run build",
2727
"pretest": "npm run lint:fix && npm run flow",
2828
"test": "npm run jest",
2929
"posttest": "aud --production",

0 commit comments

Comments
 (0)