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 jaylaw81 committed Sep 19, 2017
1 parent b9cc2b5 commit f2cb97c
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 f2cb97c

Please sign in to comment.