Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DaneTheory/67cc9755a6ae0be240b4799b7dc64497 to your computer and use it in GitHub Desktop.
Save DaneTheory/67cc9755a6ae0be240b4799b7dc64497 to your computer and use it in GitHub Desktop.
The Package (dot) JSON: A story of love, triumph, and general witchcraft/wizardry - InitFields: Prefer Unplugged
[{
"npm:current": {
"ref": "",
"source": [
]
},
"npm:legacy": {
"ref": "",
"source": [
]
},
"yarn:current": {
"ref": "https://yarnpkg.com/configuration/manifest#preferUnplugged",
"source": [
"This field instructs Yarn to either force-extract its content on the disk (useful when you need to ship executable binaries for a reason or another) or to force it to stay within its archive (useful when you want your package to contain ALL the sources, including shellscripts, but they aren't useful for runtime purposes).",
"_example_:{ \n \"preferUnplugged\": 'false' \n } \n }:_example_"
]
},
"yarn:legacy": {
"ref": "null",
"source": "null"
}
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment