Page MenuHomeWickedGov Phorge

Gruntfile.js
No OneTemporary

Size
690 B
Referenced Files
None
Subscribers
None

Gruntfile.js

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

File Metadata

Mime Type
text/plain
Expires
Sat, May 16, 22:19 (1 d, 4 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b7/03/58e62147a211c27331d65011110a
Default Alt Text
Gruntfile.js (690 B)

Event Timeline