1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-09-13 07:35:31 -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 - linux
- osx - osx
node_js: node_js:
- "10"
- "8" - "8"
- "6" - "6"
- "4" - "4"

1666
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

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

View File

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