Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4125362
Gruntfile.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
771 B
Referenced Files
None
Subscribers
None
Gruntfile.js
View Options
/*!
* Grunt file
*
* @package Babel
*/
/* eslint-env node */
module
.
exports
=
function
(
grunt
)
{
var
conf
=
grunt
.
file
.
readJSON
(
'extension.json'
);
grunt
.
loadNpmTasks
(
'grunt-banana-checker'
);
grunt
.
loadNpmTasks
(
'grunt-eslint'
);
grunt
.
loadNpmTasks
(
'grunt-stylelint'
);
grunt
.
initConfig
(
{
banana
:
Object
.
assign
(
conf
.
MessagesDirs
,
{
options
:
{
requireLowerCase
:
'initial'
}
}
),
stylelint
:
{
all
:
[
'**/*.css'
,
'**/*.less'
,
'!node_modules/**'
,
'!vendor/**'
]
},
eslint
:
{
options
:
{
cache
:
true
},
all
:
[
'**/*.js{,on}'
,
'!{vendor,node_modules}/**'
]
}
}
);
grunt
.
registerTask
(
'test'
,
[
'eslint'
,
'stylelint'
,
'banana'
]
);
grunt
.
registerTask
(
'default'
,
'test'
);
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 07:25 (2 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
42/27/2340be24874e3868ec3b5b523df4
Default Alt Text
Gruntfile.js (771 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment