FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
gulp-inline-css/gulpfile.js at master · jonkemp/gulp-inline-css · GitHub
jonkemp
/
gulp-inline-css
Public
Notifications
You must be signed in to change notification settings
Fork
28
Star
271
Code
Issues
28
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
gulp-inline-css
/
gulpfile.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
22 lines (17 loc) · 580 Bytes
Breadcrumbs
gulp-inline-css
/
gulpfile.js
Copy path
File metadata and controls
22 lines (17 loc) · 580 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* eslint-disable */
const
gulp
=
require
(
'gulp'
)
;
const
mocha
=
require
(
'gulp-mocha'
)
;
const
eslint
=
require
(
'gulp-eslint'
)
;
const
paths
=
{
scripts
:
[
'./*.js'
,
'!./gulpfile.js'
]
}
;
gulp
.
task
(
'lint'
,
(
)
=>
gulp
.
src
(
paths
.
scripts
)
.
pipe
(
eslint
(
{
fix
:
true
}
)
)
.
pipe
(
eslint
.
format
(
)
)
.
pipe
(
eslint
.
failAfterError
(
)
)
)
;
gulp
.
task
(
'test'
,
(
)
=>
gulp
.
src
(
'./test/*.js'
)
.
pipe
(
mocha
(
{
reporter
:
'spec'
}
)
)
)
;
gulp
.
task
(
'watch'
,
(
)
=>
{
gulp
.
watch
(
paths
.
scripts
,
gulp
.
parallel
(
'lint'
,
'test'
)
)
;
}
)
;
gulp
.
task
(
'default'
,
gulp
.
parallel
(
'lint'
,
'test'
,
'watch'
)
)
;
Back
|
FazBrowse Home
|
New Git URL