UNPKG
@rtn263net/cloudhub-rts-electron-sdk
Version:
latest (1.2.11)
1.2.11
1.2.10
1.2.9
1.2.8
cloudhub-rts-electron-sdk
@rtn263net/cloudhub-rts-electron-sdk
/
just-task.js
10 lines
(9 loc)
•
280 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
const
{ task } =
require
(
'just-task'
);
const
download =
require
(
'./scripts/download'
);
const
{ getArgvFromPkgJson } =
require
(
'./scripts/npm_argv'
);
// trigger when run npm install
task
(
'install'
,
() =>
{
getArgvFromPkgJson
(
(
config
) =>
{
download
(config); }); });