FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
nativescript-cli/postinstall.js at experiments · NativeScript/nativescript-cli · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
NativeScript
/
nativescript-cli
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
206
Star
1.1k
Code
Issues
356
Pull requests
22
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
nativescript-cli
/
postinstall.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
9 lines (7 loc) · 441 Bytes
Breadcrumbs
nativescript-cli
/
postinstall.js
Copy path
File metadata and controls
9 lines (7 loc) · 441 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
"use strict"
;
var
child_process
=
require
(
"child_process"
)
;
var
path
=
require
(
"path"
)
;
var
constants
=
require
(
path
.
join
(
__dirname
,
"lib"
,
"constants"
)
)
;
var
commandArgs
=
[
path
.
join
(
__dirname
,
"bin"
,
"tns"
)
,
constants
.
POST_INSTALL_COMMAND_NAME
]
;
var
nodeArgs
=
require
(
path
.
join
(
__dirname
,
"lib"
,
"common"
,
"scripts"
,
"node-args"
)
)
.
getNodeArgs
(
)
;
child_process
.
spawn
(
process
.
argv
[
0
]
,
nodeArgs
.
concat
(
commandArgs
)
,
{
stdio
:
"inherit"
}
)
;
Back
|
FazBrowse Home
|
New Git URL