Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F581549
Gruntfile.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
679 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
,
fix
:
grunt
.
option
(
'fix'
)
},
all
:
[
'.'
]
},
stylelint
:
{
options
:
{
cache
:
true
},
src
:
[
'**/*.css'
,
'**/*.less'
,
'!lib/**'
,
'!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
Tue, Mar 31, 22:16 (1 d, 17 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
45/05/d9bb833a410d6c7f90e6f7ba7f42
Default Alt Text
Gruntfile.js (679 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment