Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save DaneTheory/267885f11e258f8a43b575dd9f99014a to your computer and use it in GitHub Desktop.

Select an option

Save DaneTheory/267885f11e258f8a43b575dd9f99014a to your computer and use it in GitHub Desktop.
The Package (dot) JSON: A story of love, triumph, and general witchcraft/wizardry - InitFields: Directories
[{
"npm:current": {
"ref": "",
"source": [
]
},
"npm:legacy": {
"ref": "",
"source": [
]
},
"yarn:current": {
"ref": "null",
"source": "null"
},
"yarn:legacy": {
"ref": "https://classic.yarnpkg.com/en/docs/package-json/#toc-directories",
"source": [
"When installing your package, you can specify exact locations to put binary files, man pages, documentation, examples, etc.",
"_example_:{ \n \"directories\": { \n \"lib\": \"path/to/lib/\", \n \"bin\": \"path/to/bin/\", \n \"man\": \"path/to/man/\", \n \"doc\": \"path/to/doc/\", \n \"example\": \"path/to/example/\" \n } \n }:_example_"
]
}
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment