feat: update dependencies (#223)

* Update dependencies

BREAKING CHANGE: Drop Node 8 support
This commit is contained in:
Michaël De Boey
2020-01-25 11:38:02 -07:00
committed by Kent C. Dodds
parent 7715924e0b
commit 3ca616c913
6 changed files with 28 additions and 27 deletions
+3
View File
@@ -0,0 +1,3 @@
node_modules
coverage
dist
+8 -9
View File
@@ -1,15 +1,14 @@
sudo: false
language: node_js
cache:
directories:
- ~/.npm
cache: npm
notifications:
email: false
node_js: '8'
node_js:
- 10.14
- 12
- node
install: npm install
script: npm run validate
after_success:
- npx codecov
- npx -p semantic-release@7 -c "semantic-release pre && npm publish && semantic-release post"
after_success: kcd-scripts travis-after-success
branches:
only: master
only:
- master
+5 -10
View File
@@ -1,20 +1,15 @@
environment:
matrix:
- node_version: "8"
- node_version: '10.14'
- node_version: '12'
- node_version: '13'
branches:
only:
- master
install:
- ps: Install-Product node $env:node_version
- npm i
test_script:
- node --version
- npm test
- npm install
test_script: npm run validate
cache:
- ~/.npm
build: off
+5 -5
View File
@@ -1,6 +1,6 @@
const jestConfig = require('kcd-scripts/config').jest
const jest = require('kcd-scripts/jest')
jestConfig.coveragePathIgnorePatterns = jestConfig.coveragePathIgnorePatterns.concat(
['/bin/'],
)
module.exports = jestConfig
module.exports = {
...jest,
coveragePathIgnorePatterns: [...jest.coveragePathIgnorePatterns, '/bin/'],
}
+7 -3
View File
@@ -8,11 +8,15 @@
"cross-env-shell": "src/bin/cross-env-shell.js"
},
"engines": {
"node": ">=8.0"
"node": ">=10.14",
"npm": ">=6",
"yarn": ">=1"
},
"scripts": {
"lint": "kcd-scripts lint",
"setup": "npm install && npm run validate -s",
"test": "kcd-scripts test",
"test:update": "npm test -- --updateSnapshot --coverage",
"validate": "kcd-scripts validate"
},
"husky": {
@@ -32,10 +36,10 @@
"author": "Kent C. Dodds <[email protected]> (http://kentcdodds.com/)",
"license": "MIT",
"dependencies": {
"cross-spawn": "^7.0.0"
"cross-spawn": "^7.0.1"
},
"devDependencies": {
"kcd-scripts": "^1.8.0"
"kcd-scripts": "^4.1.0"
},
"eslintConfig": {
"extends": "./node_modules/kcd-scripts/eslint.js"