Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F2753437
Gruntfile.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
804 B
Referenced Files
None
Subscribers
None
Gruntfile.js
View Options
/* eslint-env node, es6 */
module
.
exports
=
function
(
grunt
)
{
var
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
:
[
'*.{js,json}'
,
'**/*.{js,json}'
,
'!node_modules/**'
,
'!vendor/**'
,
'!resources/vendor/**'
]
},
banana
:
conf
.
MessagesDirs
,
stylelint
:
{
options
:
{
cache
:
true
},
all
:
[
'**/*.css'
,
'**/*.less'
,
'!node_modules/**'
,
'!vendor/**'
,
'!resources/vendor/**'
]
}
}
);
grunt
.
registerTask
(
'test'
,
[
'eslint'
,
'banana'
,
'stylelint'
]
);
grunt
.
registerTask
(
'default'
,
[
'test'
]
);
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 3, 21:15 (22 h, 6 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c1/96/c8f348563a6f5d6c4d583ab7c314
Default Alt Text
Gruntfile.js (804 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment