diff --git a/bin/cli.js b/bin/cli.js index aa7df4c2d9c..2c801863d27 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -321,7 +321,7 @@ For more information, see https://webpack.js.org/api/cli/.`); * Show a hint to donate to our Opencollective * once a week, only on Monday */ - const openCollectivePath = __dirname + "/opencollective.js"; + const openCollectivePath = __dirname + "/utils/opencollective.js"; const MONDAY = 1; const SIX_DAYS = 518400000; const now = new Date(); diff --git a/bin/opencollective.js b/bin/utils/opencollective.js similarity index 100% rename from bin/opencollective.js rename to bin/utils/opencollective.js diff --git a/package.json b/package.json index 06baa84f421..191a2fa01b6 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "format": "prettier-eslint ./bin/*.js ./test/**/*.js ./packages/**/*.js --write", "lint:codeOnly": "eslint \"{bin}/**/!(__testfixtures__)/*.js\" \"{bin}/**.js\"", "lint": "eslint \"./bin/*.js\" \"./test/**/*.js\" \"packages/**/!(node_modules)/*.test.js\"", - "postinstall": "node ./bin/opencollective.js", + "postinstall": "node ./bin/utils/opencollective.js", "pretest": "npm run build && npm run lint && npm run tslint", "reportCoverage": "nyc report --reporter=json && codecov -f coverage/coverage-final.json --disable=gcov", "test": "nyc jest --maxWorkers=4 --reporters=default --reporters=jest-junit",