Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F582402
Gruntfile.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
685 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-eslint'
);
grunt
.
loadNpmTasks
(
'grunt-banana-checker'
);
grunt
.
loadNpmTasks
(
'grunt-stylelint'
);
grunt
.
initConfig
(
{
eslint
:
{
options
:
{
cache
:
true
,
fix
:
grunt
.
option
(
'fix'
)
},
all
:
[
'.'
]
},
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, Apr 1, 15:32 (1 d, 17 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e3/ff/953180c4b44fadc4b211ae0dbd25
Default Alt Text
Gruntfile.js (685 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment