Created
June 24, 2021 15:36
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [{ | |
| "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