We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
safe-publish-latest
prepublishOnly
1 parent 8431b46 commit 5af181fCopy full SHA for 5af181f
package.json
@@ -30,7 +30,8 @@
30
"test": "npm run tests-only",
31
"test-compiled": "npm run prepublish && BABEL_ENV=testCompiled mocha --compilers js:babel-register tests/src",
32
"test-all": "node --require babel-register ./scripts/testAll",
33
- "prepublish": "not-in-publish || npm run build",
+ "prepublishOnly": "safe-publish-latest && npm run build",
34
+ "prepublish": "not-in-publish || npm run prepublishOnly",
35
"coveralls": "nyc report --reporter lcovonly && coveralls < ./coverage/lcov.info"
36
},
37
"repository": {
@@ -88,6 +89,7 @@
88
89
"nyc": "^11.9.0",
90
"redux": "^3.7.2",
91
"rimraf": "^2.7.1",
92
+ "safe-publish-latest": "^1.1.4",
93
"semver": "^6.3.0",
94
"sinon": "^2.4.1",
95
"typescript": "^2.8.1 || ~3.9.5",
0 commit comments