Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F8103203
Gruntfile.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
663 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-banana-checker'
);
grunt
.
loadNpmTasks
(
'grunt-eslint'
);
grunt
.
loadNpmTasks
(
'grunt-stylelint'
);
grunt
.
initConfig
(
{
banana
:
{
...
conf
.
MessagesDirs
,
options
:
{
requireLowerCase
:
'initial'
}
},
eslint
:
{
options
:
{
cache
:
true
,
fix
:
grunt
.
option
(
'fix'
)
},
all
:
[
'.'
]
},
stylelint
:
{
all
:
[
'**/*.css'
,
'!node_modules/**'
,
'!vendor/**'
]
}
}
);
grunt
.
registerTask
(
'test'
,
[
'eslint'
,
'banana'
,
'stylelint'
]
);
grunt
.
registerTask
(
'default'
,
'test'
);
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 8, 02:08 (1 d, 21 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
9e/ff/50a9ac93f1736f12d09efaf4297e
Default Alt Text
Gruntfile.js (663 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment