Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4138357
Gruntfile.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
718 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
(
{
eslint
:
{
options
:
{
cache
:
true
},
all
:
[
'.'
]
},
banana
:
Object
.
assign
(
conf
.
MessagesDirs
,
{
options
:
{
requireLowerCase
:
'initial'
}
}
),
stylelint
:
{
all
:
[
'**/*.css'
,
'**/*.less'
,
'!node_modules/**'
,
'!vendor/**'
]
}
}
);
grunt
.
registerTask
(
'lint'
,
[
'eslint'
,
'banana'
,
'stylelint'
]
);
grunt
.
registerTask
(
'test'
,
[
'lint'
]
);
grunt
.
registerTask
(
'default'
,
[
'test'
]
);
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 14:38 (3 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
36/aa/9fa155f33474f700bf46c2ae4054
Default Alt Text
Gruntfile.js (718 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment