Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4155688
Gruntfile.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
690 B
Referenced Files
None
Subscribers
None
Gruntfile.js
View Options
/*!
* 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
Details
Attached
Mime Type
text/plain
Expires
Aug 19 2026, 21:52 (7 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
40/c5/9e2d924e1032b2b71a8268aa5ec3
Default Alt Text
Gruntfile.js (690 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment