Page MenuHomeWickedGov Phorge

Gruntfile.js
No OneTemporary

Size
817 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: [ '.' ]
},
stylelint: {
options: {
cache: true
},
all: [
'**/*.css',
'**/*.less',
'**/*.vue',
'!node_modules/**',
'!vendor/**',
'!resources/lib/**'
]
},
banana: Object.assign( conf.MessagesDirs, {
options: {
requireLowerCase: 'initial'
}
} )
} );
grunt.registerTask( 'test', [ 'eslint', 'banana', 'stylelint' ] );
grunt.registerTask( 'lint:js', [ 'eslint' ] );
grunt.registerTask( 'default', 'test' );
};

File Metadata

Mime Type
text/plain
Expires
Sat, May 16, 15:41 (14 h, 45 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
98/04/a1edfc084e78c865644e4288a123
Default Alt Text
Gruntfile.js (817 B)

Event Timeline