Skip to content

Commit

Permalink
[meta] use in-publish in prepublish
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Feb 8, 2020
1 parent 1fbef73 commit 2beec94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -30,7 +30,7 @@
"test": "npm run tests-only",
"test-compiled": "npm run prepublish && NODE_PATH=./lib mocha --compilers js:babel-register --recursive tests/src",
"test-all": "npm test && for resolver in ./resolvers/*; do cd $resolver && npm test && cd ../..; done",
"prepublish": "npm run build",
"prepublish": "not-in-publish || npm run build",
"coveralls": "nyc report --reporter lcovonly && cat ./coverage/lcov.info | coveralls"
},
"repository": {
Expand Down Expand Up @@ -74,6 +74,7 @@
"eslint-module-utils": "file:./utils",
"eslint-plugin-eslint-plugin": "^2.2.1",
"eslint-plugin-import": "2.x",
"in-publish": "^2.0.0",
"linklocal": "^2.8.2",
"mocha": "^3.5.3",
"nyc": "^11.9.0",
Expand Down

0 comments on commit 2beec94

Please sign in to comment.