Skip to content

Commit

Permalink
[eslint config] [*] [tests] fix prepublish scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb authored and hibearpanda committed Jan 22, 2017
1 parent 1d442a5 commit 9d1f2bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/eslint-config-airbnb-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"lint": "eslint .",
"tests-only": "babel-tape-runner ./test/test-*.js",
"prepublish": "not-in-install && (eslint-find-rules --unused && npm test) || in-install",
"prepublish": "not-in-publish || (eslint-find-rules --unused && npm test)",
"pretest": "npm run --silent lint",
"test": "npm run --silent tests-only",
"travis": "npm run --silent test"
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config-airbnb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"scripts": {
"lint": "eslint .",
"tests-only": "babel-tape-runner ./test/test-*.js",
"prepublish": "not-in-install && (eslint-find-rules --unused && npm test) || in-install",
"prepublish": "not-in-publish || (eslint-find-rules --unused && npm test)",
"pretest": "npm run --silent lint",
"test": "npm run --silent tests-only",
"travis": "cd ../eslint-config-airbnb-base && npm link && cd - && npm link eslint-config-airbnb-base && npm run --silent test ; npm unlink eslint-config-airbnb-base >/dev/null &"
"travis": "cd ../eslint-config-airbnb-base && npm install && npm link && cd - && npm link eslint-config-airbnb-base && npm run --silent test ; npm unlink eslint-config-airbnb-base >/dev/null &"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 9d1f2bc

Please sign in to comment.