Skip to content

Commit 3fa6065

Browse files
committed
[publish] don’t run lint/flow twice on prepublish; don’t auto fix prepublish.
1 parent 860f839 commit 3fa6065

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
@@ -23,7 +23,7 @@
2323
"flow": "if [ ! -e ./.flowconfig ]; then echo \"Could not find .flowconfig\"; else flow; test $? -eq 0 -o $? -eq 2; fi",
2424
"lint:fix": "npm run lint -- --fix",
2525
"lint": "eslint --config .eslintrc src __tests__ __mocks__ scripts",
26-
"prepublish": "safe-publish-latest && npm run lint && npm run flow && npm run test && npm run build",
26+
"prepublish": "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
"test:ci": "npm run jest -- --ci --runInBand",

0 commit comments

Comments
 (0)