Skip to content
This repository has been archived by the owner on Jan 6, 2021. It is now read-only.

Update dependencies #223

Merged
merged 2 commits into from Jan 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions .prettierignore
@@ -0,0 +1,3 @@
node_modules
coverage
dist
File renamed without changes.
17 changes: 8 additions & 9 deletions .travis.yml
@@ -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
15 changes: 5 additions & 10 deletions appveyor.yml
@@ -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
10 changes: 5 additions & 5 deletions jest.config.js
@@ -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/'],
}
10 changes: 7 additions & 3 deletions package.json
Expand Up @@ -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": {
Expand All @@ -32,10 +36,10 @@
"author": "Kent C. Dodds <kent@doddsfamily.us> (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"
Expand Down