Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1432523
Gruntfile.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
636 B
Referenced Files
None
Subscribers
None
Gruntfile.js
View Options
/* 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
(
{
eslint
:
{
options
:
{
cache
:
true
},
all
:
[
'**/*.{js,json}'
,
'!node_modules/**'
,
'!vendor/**'
]
},
stylelint
:
{
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
Sat, May 16, 21:54 (1 d, 3 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fa/ae/b56f60a4e14106fdba1c86b21250
Default Alt Text
Gruntfile.js (636 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment