Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1426692
Gruntfile.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
559 B
Referenced Files
None
Subscribers
None
Gruntfile.js
View Options
'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
:
{
all
:
[
'**/*.{css,less}'
,
'!vendor/**'
,
'!node_modules/**'
]
},
banana
:
conf
.
MessagesDirs
}
);
grunt
.
registerTask
(
'test'
,
[
'eslint'
,
'banana'
,
'stylelint'
]
);
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 16, 13:34 (1 d, 16 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
34/34/914ae589b695f89b886bb55e9fd3
Default Alt Text
Gruntfile.js (559 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment