Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4140572
Gruntfile.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
643 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
:
{
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
Wed, Aug 19, 15:34 (3 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f6/9d/0d1647321211d6dd2c7d08970a8d
Default Alt Text
Gruntfile.js (643 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment