Skip to content

Instantly share code, notes, and snippets.

@DaneTheory
Last active June 24, 2021 18:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DaneTheory/7f43335cc3b4da8e7ea4a993b7e2997d to your computer and use it in GitHub Desktop.
Save DaneTheory/7f43335cc3b4da8e7ea4a993b7e2997d to your computer and use it in GitHub Desktop.
The Package (dot) JSON: A story of love, triumph, and general witchcraft/wizardry - InitFields: Main
[{
"nameField": {
"tags": [
"name",
"minimal",
"required"
],
"ref": "https://gist.github.com/DaneTheory/3e5bc10ba162e7756dd8fcb485898a9a"
},
"versionField": {
"tags": [
"version",
"minimal",
"required"
],
"ref": "https://gist.github.com/DaneTheory/92c20146b4c8726faf528641af39f403"
},
"descriptionField": {
"tags": [
"description",
"info",
"optional",
"recommended",
"lib",
"library",
"module",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/ba5d8b04056268fe1ba8a8016e6b4e69"
},
"keywordsField": {
"tags": [
"keywords",
"info",
"optional",
"lib",
"library",
"module",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/998715cd8c7097a04a86fc0b7b64efd6"
},
"licenseField": {
"tags": [
"license",
"info",
"optional",
"recommended",
"lib",
"library",
"module",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/64b7ff10e301736530c44ca33ccbf39c"
},
"homepageField": {
"tags": [
"homepage",
"links",
"optional",
"public"
],
"ref": "https://gist.github.com/DaneTheory/8909aac2d04e22a39424dee3a81d0d26"
},
"bugsField": {
"tags": [
"bugsField",
"links",
"optional",
"lib",
"library",
"module",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/77c2f670de6f84b3741c56117df5b60f"
},
"repositoryField": {
"tags": [
"repository",
"links",
"optional",
"recommended",
"lib",
"library",
"module",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/dcb1bd7a17825ce7569ad4f3c86d611f"
},
"authorField": {
"tags": [
"author",
"maintainers",
"optional",
"recommended",
"lib",
"library",
"module",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/964d55d780e4c9c4cbcecdf543fef064"
},
"contributorsField": {
"tags": [
"contributors",
"maintainers",
"optional",
"lib",
"library",
"module",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/804c2e23eb990a1ce01d1ec353cfcb67"
},
"filesField": {
"tags": [
"files",
"assets|files",
"optional",
"lib",
"library",
"module",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/43ce4ae8208ef16c7d04aab7d4a80894"
},
"mainField": {
"tags": [
"main",
"assets|files",
"optional",
"recommended",
"lib",
"library",
"module",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/99ea70bcbe5cfc3d6763360ba8363d67"
},
"binField": {
"tags": [
"bin",
"assets|files",
"optional",
"recommended",
"cli",
"executable",
"shell",
"module",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/ca7d51aea4f3a9f88e678ffcd9a64b8a"
},
"manField": {
"tags": [
"man",
"assets|files",
"optional",
"lib",
"library",
"module",
"registry",
"publish",
"docs",
"documentation",
"man-pages",
"man-page",
"help",
"public"
],
"ref": "https://gist.github.com/DaneTheory/43ce4ae8208ef16c7d04aab7d4a80894"
},
"directoriesField": {
"tags": [
"directories",
"assets|files",
"optional",
"lib",
"library",
"module",
"registry",
"publish",
"install",
"installation",
"paths",
"public"
],
"ref": "https://gist.github.com/DaneTheory/267885f11e258f8a43b575dd9f99014a"
},
"scriptsField": {
"tags": [
"scripts",
"tasks",
"optional",
"cli",
"executable",
"shell",
"commands",
"run",
"task-runner",
"app",
"lifecycle-hooks",
"hooks",
"lifecycle",
"module",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/f6db31f92813bfc5b35f3a14a8a134af"
},
"configField": {
"tags": [
"config",
"tasks",
"optional",
"options",
"args",
"arguments",
"npm_config",
"$npm_config",
"environment",
"environment-variables",
"variables",
"env",
"envs",
"runtime",
"process-env",
"app",
"lifecycle",
"module",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/587c7aaf1d6c6a798367efe7ad7895f9"
},
"dependenciesField": {
"tags": [
"dependencies",
"dependencies",
"optional",
"auto-generated",
"generated",
"install",
"production",
"build",
"runtime",
"app",
"lifecycle",
"module",
"modules",
"externals",
"libs",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/822ed99db1f7d78c8981f3263eb87f78"
},
"devDependenciesField": {
"tags": [
"devDependencies",
"dependencies",
"optional",
"auto-generated",
"generated",
"install",
"development",
"dev",
"src",
"app",
"lifecycle",
"pipeline",
"module",
"modules",
"externals",
"libs",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/359d422dd48acdca372f5f49c92aed5e"
},
"peerDependenciesField": {
"tags": [
"peerDependencies",
"dependencies",
"optional",
"generated",
"install",
"peers",
"inherited",
"pre-requesites",
"delegated-requirements",
"lifecycle",
"pipeline",
"module",
"modules",
"plugin-development",
"plugins",
"plugin",
"libs",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/40ce4edb489a10eec6404fbffc3be39d"
},
"peerDependenciesMetaField": {
"tags": [
"peerDependenciesMeta",
"dependencies",
"optional",
"peers",
"peers",
"meta",
"inherited",
"lifecycle",
"pipeline",
"module",
"modules",
"plugin-development",
"plugins",
"plugin",
"libs",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/37ff3760d4ee35a017d33d507f5e4352"
},
"optionalDependenciesField": {
"tags": [
"optionalDependencies",
"dependencies",
"optional",
"optional-deps",
"optionals",
"install",
"production",
"build",
"app",
"lifecycle",
"module",
"modules",
"libs",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/b2a5f4329458ac8600a12be636eafea7"
},
"bundledDependenciesField": {
"tags": [
"bundledDependencies",
"dependencies",
"optional",
"bundled",
"bundled-deps",
"production",
"lifecycle",
"module",
"modules",
"lib",
"libs",
"library",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/0dc9a3aae2d9a5c6c681be4e4cab453a"
},
"flatField": {
"tags": [
"flat",
"dependencies",
"optional",
"generated",
"install",
"production",
"build",
"lifecycle",
"module",
"lib",
"library",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/aad792634b0c418988b77200e3b9b878"
},
"resolutionsField": {
"tags": [
"resolutions",
"dependencies",
"optional",
"resolution",
"resolver",
"project-root",
"workspaces",
"install",
"production",
"app",
"lifecycle",
"module",
"modules",
"internals",
"externals",
"libs",
"lib",
"library",
"workspace",
"project",
"worktree",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/a3952c7b6913d18f4b8fd171a4ab656c"
},
"enginesField": {
"tags": [
"engines",
"system",
"optional",
"node",
"yarn",
"npm",
"zlib",
"host",
"host-environment",
"environment",
"process",
"parent-process",
"runtime",
"env",
"lifecycle",
"lifecycles",
"prerequesites",
"module",
"lib",
"module",
"app",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/5ea2dc402f66752ed123120c7691c4dc"
},
"osField": {
"tags": [
"os",
"system",
"optional",
"host",
"host-environment",
"environment",
"process",
"parent-process",
"process-platform",
"host-platform",
"system-platform",
"platform",
"runtime",
"env",
"lifecycle",
"lifecycles",
"prerequesites",
"module",
"lib",
"module",
"app",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/e6b1aa992fd8a312dc6cd4d01bcf6240"
},
"cpuField": {
"tags": [
"cpu",
"system",
"optional",
"host",
"host-environment",
"environment",
"process",
"parent-process",
"architectures",
"architecture",
"system-architecture",
"sys-arch",
"arch",
"runtime",
"env",
"lifecycle",
"lifecycles",
"prerequesites",
"module",
"lib",
"module",
"app",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/186df4148bd36df4714a346fa7382da3"
},
"privateField": {
"tags": [
"private",
"publishing",
"optional",
"recommended",
"lib",
"library",
"module",
"workspaces",
"workspace",
"worktree",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/4a367dae165c457e3ffe1c689ebf8725"
},
"publishConfigField": {
"tags": [
"publishConfig",
"publishing",
"optional",
"recommended",
"lib",
"library",
"module",
"access",
"build",
"release",
"production",
"browser",
"workspaces",
"workspace",
"worktree",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/0292f9ea41d152151072b5d201f1ccf5"
},
"installConfigField": {
"tags": [
"installConfig",
"publishing",
"optional",
"lib",
"library",
"module",
"install",
"build",
"release",
"production",
"browser",
"workspaces",
"workspace",
"worktree",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/19c1c99aa9e679aed72d32a97a818a26"
},
"typeField": {
"tags": [
"type",
"info",
"optional",
"recommended",
"lib",
"library",
"module",
"packages",
"mjs",
"cjs",
"commonjs",
"install",
"build",
"release",
"production",
"development",
"browser",
"node",
"import",
"export",
"imports",
"exports",
"commonjs",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/792ec5a8c479e430f73c44736d347c57"
},
"moduleField": {
"tags": [
"module",
"links",
"optional",
"recommended",
"lib",
"library",
"module",
"package",
"mjs",
"install",
"build",
"release",
"production",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/00703416a97e89541aae9c0578530df7"
},
"languageNameField": {
"tags": [
"languageName",
"info",
"optional",
"recommended",
"lib",
"library",
"module",
"package",
"install",
"build",
"release",
"production",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/fe9bdbf0c142493e6d028d8676ed2689"
},
"workspacesField": {
"tags": [
"workspaces",
"links",
"optional",
"package",
"packages",
"workspaces",
"workspace",
"ws",
"wss",
"worktree",
"workleaf",
"workstem",
"project",
"project-root",
"monorepo",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/52b5f477c17f88f38fb0fd46d32972c3"
},
"dependenciesMetaField": {
"tags": [
"dependenciesMeta",
"dependencies",
"optional",
"install",
"production",
"development",
"peers",
"peer-deps",
"deps-meta",
"build",
"runtime",
"app",
"lifecycle",
"module",
"modules",
"externals",
"internals",
"meta",
"libs",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/b7a67a98c06fdd5560df777342fd25b5"
},
"preferUnpluggedField": {
"tags": [
"preferUnplugged",
"publishing",
"optional",
"cli",
"bins",
"executable",
"binaries",
"lib",
"library",
"module",
"build",
"release",
"production",
"archive",
"shellscripts",
"runtime",
"shell",
"package",
"packed",
"registry",
"publish",
"public"
],
"ref": "https://gist.github.com/DaneTheory/67cc9755a6ae0be240b4799b7dc64497"
},
"_": {
"categories": {
"required": "null",
"info": "null",
"links": "Various links to documentation, places to file issues and where your package code actually lives.",
"maintainers": "The maintainers of your project.",
"files|assets": "You can specify files that will be included in your project, along with the main entry point for your project.",
"tasks": "Your package can include runnable scripts or other configuration.",
"dependencies": "Your package will very likely depend on other packages. You can specify those dependencies in your 'package.json' file.",
"system": "You can provide system-level information associated with your package, such as operating system compatibility, etc.",
"publishing": "null"
}
}
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment