Skip to content

Commit 1cfc11e

Browse files
committed
[Dev Deps] add safe-publish-latest
1 parent ef01959 commit 1cfc11e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 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": "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 test && npm run build",
2727
"pretest": "npm run lint:fix && npm run flow",
2828
"test:ci": "npm test -- --ci --runInBand",
2929
"test": "jest --coverage __tests__/**/*"
@@ -49,6 +49,7 @@
4949
"jscodeshift": "^0.3.30",
5050
"minimist": "^1.2.0",
5151
"rimraf": "^2.6.1",
52+
"safe-publish-latest": "^1.1.1",
5253
"to-ast": "^1.0.0"
5354
},
5455
"engines": {

0 commit comments

Comments
 (0)