Page MenuHomeWickedGov Phorge

Gruntfile.js
No OneTemporary

Size
685 B
Referenced Files
None
Subscribers
None

Gruntfile.js

'use strict';
module.exports = function ( grunt ) {
const conf = grunt.file.readJSON( 'extension.json' );
grunt.loadNpmTasks( 'grunt-eslint' );
grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.loadNpmTasks( 'grunt-stylelint' );
grunt.initConfig( {
eslint: {
options: {
cache: true,
fix: grunt.option( 'fix' )
},
all: [ '.' ]
},
banana: conf.MessagesDirs,
stylelint: {
options: {
cache: true
},
all: [
'**/*.css',
'**/*.less',
'!node_modules/**',
'!vendor/**',
'!resources/vendor/**'
]
}
} );
grunt.registerTask( 'test', [ 'eslint', 'banana', 'stylelint' ] );
grunt.registerTask( 'default', [ 'test' ] );
};

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 1, 15:32 (1 d, 17 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e3/ff/953180c4b44fadc4b211ae0dbd25
Default Alt Text
Gruntfile.js (685 B)

Event Timeline