UNPKG
ponk
Version:
latest (0.5.11)
0.5.11
0.5.9
0.5.8
0.5.7
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.2
0.4.1
0.4.0
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
The development package for central platform of PO team.
ponk
/
lib
/
ponk_analyze.js
10 lines
(8 loc)
•
305 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
require
(
'shelljs/global'
);
const
util =
require
(
'../util'
);
module
.
exports
=
() =>
{
let
gulpfilePath = util.
root
(
'dev-package/build/gulpfile.analyze.js'
);
let
cwd = util.
cwd
();
let
gulpCmd =
`gulp4 --gulpfile "
${gulpfilePath}
" --cwd "
${cwd}
" --minify --color=always`
;
exec
(gulpCmd); };