mirror of
https://github.com/iv-org/videojs-quality-selector.git
synced 2025-05-02 14:36:13 -04:00
chore: use standardization library
This commit is contained in:
parent
032b6e6cdb
commit
81670b0c1a
6 changed files with 2441 additions and 1050 deletions
10
Gruntfile.js
10
Gruntfile.js
|
@ -113,11 +113,11 @@ module.exports = function(grunt) {
|
|||
target: config.js.all,
|
||||
},
|
||||
|
||||
sasslint: {
|
||||
stylelint: {
|
||||
options: {
|
||||
configFile: path.join(__dirname, 'node_modules', '@silvermine/sass-lint-config', 'sass-lint.yml'),
|
||||
configFile: path.join(__dirname, 'node_modules', '@silvermine', 'standardization', '.stylelintrc.yml'),
|
||||
},
|
||||
target: config.sass.all,
|
||||
src: config.sass.all,
|
||||
},
|
||||
|
||||
watch: {
|
||||
|
@ -146,9 +146,9 @@ module.exports = function(grunt) {
|
|||
grunt.loadNpmTasks('grunt-postcss');
|
||||
grunt.loadNpmTasks('grunt-contrib-clean');
|
||||
grunt.loadNpmTasks('grunt-sass');
|
||||
grunt.loadNpmTasks('grunt-sass-lint');
|
||||
grunt.loadNpmTasks('grunt-stylelint');
|
||||
|
||||
grunt.registerTask('standards', [ 'eslint', 'sasslint' ]);
|
||||
grunt.registerTask('standards', [ 'eslint', 'stylelint' ]);
|
||||
grunt.registerTask('build-js', [ 'browserify', 'uglify' ]);
|
||||
grunt.registerTask('build-css', [ 'sass', 'postcss' ]);
|
||||
grunt.registerTask('build', [ 'build-js', 'build-css' ]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue