diff --git a/.travis.yml b/.travis.yml index e9db6ebc0ffc7..4aa53fbfb884b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ sudo: false language: node_js node_js: - '8' - - '6' script: - npm run test:coverage-ci diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1a1beba0a99f1..d0e95c5b8fa95 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,7 +16,7 @@ You can pick among all the =8.0.0", + "npm": ">=5.0.0" + }, "devDependencies": { "babel-core": "^6.25.0", "babel-loader": "^7.1.1", "babel-plugin-transform-object-rest-spread": "^6.23.0", "babel-preset-env": "^1.5.2", "chalk": "^2.0.1", + "check-node-version": "^3.1.1", "codecov": "^2.2.0", "glob": "^7.1.2", "jest": "^22.0.3", @@ -24,6 +29,7 @@ }, "scripts": { "build-clean": "rimraf ./packages/*/build ./packages/*/build-module", + "prebuild": "check-node-version --package", "build": "node ./scripts/build.js", "postinstall": "lerna bootstrap && npm run build", "test": "jest",