diff --git a/package.json b/package.json index a4fe57e9afc8..95c65266f2d5 100644 --- a/package.json +++ b/package.json @@ -57,11 +57,12 @@ "jest-coverage": "yarn run jest --silent -- --coverage", "lint": "yarn run lint-prettier --silent && eslint . --cache && yarn run lint-docs --silent", "lint-docs": "eslint --config ./.eslintrc-docs.json --no-ignore --ext md ./docs/*.md", + "lint-es5-build": "eslint --no-eslintrc --no-ignore --env=browser packages/*/build-es5", "lint-prettier": "node scripts/prettier.js lint", "prettier": "node scripts/prettier.js write", "postinstall": "node ./scripts/postinstall.js && yarn run build --silent && (cd packages/eslint-plugin-jest && yarn link --silent) && yarn link eslint-plugin-jest --silent", "publish": "yarn run build-clean --silent && yarn run build --silent && lerna publish --silent", - "test-ci": "yarn run typecheck --silent && yarn run lint --silent && yarn run jest-coverage --silent -- -i && yarn run test-examples --silent && node scripts/mapCoverage.js && codecov", + "test-ci": "yarn run typecheck --silent && yarn run lint --silent && yarn run jest-coverage --silent -- -i && yarn run test-examples --silent && node scripts/mapCoverage.js && codecov && yarn run lint-es5-build", "test-ci-partial": "yarn run jest --silent -- -i && yarn run test-examples --silent", "test-examples": "node scripts/test_examples.js", "test-pretty-format-perf": "node packages/pretty-format/perf/test.js",