mirror of
https://gitea.invidious.io/iv-org/videojs-quality-selector.git
synced 2024-08-15 00:43:13 +00:00
chore: add commitlint
This commit is contained in:
parent
4ec823b7d4
commit
505ab6e050
4 changed files with 1384 additions and 1 deletions
|
@ -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
5
commitlint.config.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
extends: [ '@silvermine/eslint-config/commitlint.js' ],
|
||||
};
|
1374
package-lock.json
generated
1374
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue