Skip to content

Commit

Permalink
Upgrade devDependencies and drop Node 8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Rowno committed Mar 11, 2020
1 parent 4ca8d04 commit 2ed4861
Show file tree
Hide file tree
Showing 6 changed files with 702 additions and 1,492 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: node_js
node_js:
- '8'
- '10'
- '12'
cache:
Expand Down
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ clone_depth: 10

environment:
matrix:
- nodejs_version: 8
- nodejs_version: 10
- nodejs_version: 12

Expand Down
25 changes: 9 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,24 @@
"test": "eslint \"**/*.js\" && ava"
},
"engines": {
"node": ">=8"
"node": ">=10"
},
"dependencies": {
"mocha": "^6.0.0"
},
"devDependencies": {
"ava": "^2.4.0",
"ava": "^3.5.0",
"eslint": "^6.5.1",
"eslint-config-prettier": "^6.4.0",
"eslint-config-xo": "^0.27.2",
"execa": "^3.2.0",
"eslint-config-xo": "^0.29.1",
"execa": "^4.0.0",
"grunt": "^1.0.1",
"husky": "^3.0.9",
"lint-staged": "^9.4.2",
"husky": "^4.2.3",
"lint-staged": "^10.0.8",
"mz": "^2.7.0",
"prettier": "^1.9.1",
"should": "^13.1.3",
"tempy": "^0.3.0"
"tempy": "^0.5.0"
},
"husky": {
"hooks": {
Expand All @@ -51,24 +51,17 @@
"node": true
}
},
"ava": {
"helpers": [
"**/fixtures/**/*"
]
},
"prettier": {
"semi": false,
"singleQuote": true
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
"prettier --write"
],
"*.{json,md}": [
"prettier --write",
"git add"
"prettier --write"
]
}
}
10 changes: 5 additions & 5 deletions test/lib.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import path from 'path'
import fs from 'mz/fs'
import test from 'ava'
import tempy from 'tempy'
import mocha from '../lib'
const path = require('path')
const fs = require('mz/fs')
const test = require('ava')
const tempy = require('tempy')
const mocha = require('../lib')

function getFixturePath(filename) {
return path.resolve(__dirname, 'fixtures', filename)
Expand Down
6 changes: 3 additions & 3 deletions test/task.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import path from 'path'
import test from 'ava'
import execa from 'execa'
const path = require('path')
const test = require('ava')
const execa = require('execa')

const gruntPath = path.resolve(__dirname, '../node_modules/.bin/grunt')

Expand Down
Loading

0 comments on commit 2ed4861

Please sign in to comment.