chore: add commitlint

This commit is contained in:
Paul Bredenberg 2020-05-20 09:35:04 -04:00
parent 4ec823b7d4
commit 505ab6e050
4 changed files with 1384 additions and 1 deletions

View File

@ -9,6 +9,7 @@ node_js:
before_install: if [[ `npm -v` != 6* ]]; then npm i -g npm@6.13.4; fi
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' ],
};

1374
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": "check-node-version --npm 6.13.4 && ./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,6 +26,8 @@
},
"homepage": "https://github.com/silvermine/videojs-quality-selector#readme",
"devDependencies": {
"@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",