UNPKG
test-cloudhub-electron-sdk
Version:
latest (3.2.24)
3.2.24
3.2.23
3.2.22
3.2.21
3.2.20
3.2.19
3.2.18
3.2.17
3.2.16
3.2.15
3.2.14
3.2.13
3.2.12
3.2.11
3.2.10
3.2.9
3.2.8
3.2.7-x64
3.2.6
3.2.6-x64
cloudhub-electron-sdk
test-cloudhub-electron-sdk
/
just-task.js
12 lines
(8 loc)
•
283 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
const
{ task } =
require
(
'just-task'
);
const
download =
require
(
'./scripts/download'
)
const
{getArgvFromPkgJson} =
require
(
'./scripts/npm_argv'
)
// trigger when run npm install
task
(
'install'
,
() =>
{
const
config =
Object
.
assign
({},
getArgvFromPkgJson
())
download
(config) })