Merge pull request #60 from pbredenberg/chore-upgrade-node-12

Upgrade Node.js to 12.14.0
This commit is contained in:
Jeremy Thomerson 2020-05-20 12:27:37 -04:00 committed by GitHub
commit 7784a3135d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 2045 additions and 251 deletions

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
12.14.0

View File

@ -2,13 +2,14 @@ language: node_js
node_js:
- "node" # Latest node version
- "lts/*" # Latest LTS version
- "12"
- "10"
- "8"
- "8.10"
before_install: if [[ `npm -v` != 6* ]]; then npm i -g npm@6.4.1; fi
before_install: npm i -g npm@6.13.4
script:
- npm run commitlint
- grunt standards
- npm test

5
commitlint.config.js Normal file
View File

@ -0,0 +1,5 @@
'use strict';
module.exports = {
extends: [ '@silvermine/eslint-config/commitlint.js' ],
};

2274
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,8 @@
"main": "src/js/index.js",
"scripts": {
"prepare": "grunt build",
"test": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- -R spec 'tests/**/*.test.js'"
"test": "check-node-version --npm 6.13.4 && ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- -R spec 'tests/**/*.test.js'",
"commitlint": "commitlint --from ad805e8"
},
"author": "Jeremy Thomerson",
"license": "MIT",
@ -25,18 +26,20 @@
},
"homepage": "https://github.com/silvermine/videojs-quality-selector#readme",
"devDependencies": {
"@silvermine/eslint-config": "2.2.1",
"@commitlint/cli": "8.3.5",
"@commitlint/travis-cli": "8.3.5",
"@silvermine/eslint-config": "3.0.0-rc.0",
"@silvermine/sass-lint-config": "1.1.0",
"autoprefixer": "9.5.1",
"check-node-version": "4.0.3",
"coveralls": "3.0.3",
"eslint": "5.16.0",
"expect.js": "0.3.1",
"grunt": "1.0.4",
"grunt-browserify": "5.3.0",
"grunt-contrib-clean": "2.0.0",
"grunt-contrib-uglify": "4.0.1",
"grunt-contrib-watch": "1.1.0",
"grunt-eslint": "21.0.0",
"grunt-eslint": "22.0.0",
"grunt-postcss": "0.9.0",
"grunt-sass": "3.0.2",
"grunt-sass-lint": "0.2.4",