1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-07-03 13:26:38 -04:00
* Travis CI: add Node.js 10.x.

* Move eslint mocha where it's needed.

* Update devDependencies.

Notes:

* package-lock.json is saved with npm 6.3.1, the one that ships with node.js 10.x
* eslint 5.x doesn't support node.js 4.x, so don't update it
This commit is contained in:
XhmikosR
2018-07-07 06:03:52 +03:00
committed by Shun Sato
parent 001fecaa15
commit a10898b002
4 changed files with 856 additions and 822 deletions

View File

@ -3,6 +3,7 @@ os:
- linux
- osx
node_js:
- "10"
- "8"
- "6"
- "4"

1666
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -17,9 +17,9 @@
},
"devDependencies": {
"bin-check": "4.1.0",
"eslint": "4.10.0",
"lodash": "4.17.4",
"mocha": "4.0.1"
"eslint": "4.19.1",
"lodash": "4.17.10",
"mocha": "5.2.0"
},
"scripts": {
"test": "eslint . && mocha",
@ -36,8 +36,7 @@
"eslintConfig": {
"extends": "eslint:recommended",
"env": {
"node": true,
"mocha": true
"node": true
},
"parserOptions": {
"sourceType": "module"

View File

@ -1,3 +1,5 @@
/* eslint-env mocha */
const assert = require('assert');
const binCheck = require('bin-check');
const hugoBin = require('../');