Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4126744
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
Wed, Aug 19, 08:14 (2 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
83/e6/0010d8ce61675235c531a3798f93
Default Alt Text
Gruntfile.js (804 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment