Updates Node.js min version to 8 and removes npm as dependency (#228)

* Update Node.js min version to 8 and remove npm as dependency

* Test against Node.js 8 and 10 at Travis

* Add Node.js v12 in Travis
This commit is contained in:
Juga Paazmaya
2019-05-15 14:32:20 +03:00
committed by Joey Ciechanowicz
parent c1dcbf4436
commit 1609c8d667
3 changed files with 8 additions and 8 deletions

View File

@@ -1,3 +1,3 @@
'use strict'; 'use strict';
module.exports = require('pa11y-lint-config/eslint/es6'); module.exports = require('pa11y-lint-config/eslint/es2017');

View File

@@ -3,9 +3,9 @@
language: node_js language: node_js
matrix: matrix:
include: include:
- node_js: '4' - node_js: '8'
- node_js: '5' - node_js: '10'
- node_js: '6' - node_js: '12'
# Build only master (and pull-requests) # Build only master (and pull-requests)
branches: branches:

View File

@@ -21,19 +21,19 @@
"bugs": "https://github.com/pa11y/dashboard/issues", "bugs": "https://github.com/pa11y/dashboard/issues",
"license": "GPL-3.0", "license": "GPL-3.0",
"engines": { "engines": {
"node": ">=4" "node": ">=8",
"npm": ">=6"
}, },
"dependencies": { "dependencies": {
"body-parser": "^1.18.3", "body-parser": "^1.18.3",
"chalk": "~1.1", "chalk": "~1.1",
"compression": "^1.7.2", "compression": "^1.7.2",
"express": "^4.16.3",
"express-hbs": "~1.0", "express-hbs": "~1.0",
"express": "^4.16.3",
"http-headers": "^3.0.1", "http-headers": "^3.0.1",
"moment": "^2.22.2", "moment": "^2.22.2",
"npm": "^6.1.0",
"pa11y-webservice": "^2.3.1",
"pa11y-webservice-client-node": "^1.2.1", "pa11y-webservice-client-node": "^1.2.1",
"pa11y-webservice": "^2.3.1",
"underscore": "~1.8" "underscore": "~1.8"
}, },
"devDependencies": { "devDependencies": {