Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F8106386
Gruntfile.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
701 B
Referenced Files
None
Subscribers
None
Gruntfile.js
View Options
/* eslint-env node */
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
},
all
:
[
'*.js'
,
'modules/*.js'
,
'**/*.json'
,
'!node_modules/**'
,
'!vendor/**'
]
},
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
Tue, Dec 8, 03:15 (1 d, 17 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
16/67/dbd1f384126910c1ba78482502aa
Default Alt Text
Gruntfile.js (701 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment