Skip to content

Instantly share code, notes, and snippets.

View DaneTheory's full-sized avatar
🏠
Working from home

Branden Dane DaneTheory

🏠
Working from home
View GitHub Profile
@DaneTheory
DaneTheory / ThePackageDotJson_InitFields-Author.json
Created June 24, 2021 10:27
The Package (dot) JSON: A story of love, triumph, and general witchcraft/wizardry - InitFields: Author
[{
"npm:current": {
"ref": "",
"source": [
]
},
"npm:legacy": {
"ref": "",
"source": [
@DaneTheory
DaneTheory / ThePackageDotJson_InitFields-Repository.json
Created June 24, 2021 10:22
The Package (dot) JSON: A story of love, triumph, and general witchcraft/wizardry - InitFields: Repository
[{
"npm:current": {
"ref": "",
"source": [
]
},
"npm:legacy": {
"ref": "",
"source": [
@DaneTheory
DaneTheory / ThePackageDotJson_InitFields-Bugs.json
Created June 24, 2021 10:15
The Package (dot) JSON: A story of love, triumph, and general witchcraft/wizardry - InitFields: Bugs
[{
"npm:current": {
"ref": "",
"source": [
]
},
"npm:legacy": {
"ref": "",
"source": [
@DaneTheory
DaneTheory / ThePackageDotJson_InitFields-Homepage.json
Created June 24, 2021 10:13
The Package (dot) JSON: A story of love, triumph, and general witchcraft/wizardry - InitFields: Homepage
[{
"npm:current": {
"ref": "",
"source": [
]
},
"npm:legacy": {
"ref": "",
"source": [
@DaneTheory
DaneTheory / ThePackageDotJson_InitFields-License.json
Created June 24, 2021 10:06
The Package (dot) JSON: A story of love, triumph, and general witchcraft/wizardry - InitFields: License
[{
"npm:current": {
"ref": "",
"source": [
]
},
"npm:legacy": {
"ref": "",
"source": [
@DaneTheory
DaneTheory / ThePackageDotJson_InitFields-Keywords.json
Last active June 24, 2021 09:55
The Package (dot) JSON: A story of love, triumph, and general witchcraft/wizardry - InitFields: Keywords
[{
"npm:current": {
"ref": "",
"source": [
]
},
"npm:legacy": {
"ref": "",
"source": [
@DaneTheory
DaneTheory / ThePackageDotJson_InitFields-Description.json
Last active June 24, 2021 09:50
The Package (dot) JSON: A story of love, triumph, and general witchcraft/wizardry - InitFields: Description
[{
"npm:current": {
"ref": "",
"source": [
]
},
"npm:legacy": {
"ref": "",
"source": [
@DaneTheory
DaneTheory / ThePackageDotJson_InitFields-Version.json
Last active June 24, 2021 09:43
The Package (dot) JSON: A story of love, triumph, and general witchcraft/wizardry - InitFields: Version
[{
"npm:current": {
"ref": "",
"source": [
]
},
"npm:legacy": {
"ref": "",
"source": [
@DaneTheory
DaneTheory / ThePackageDotJson_InitFields-Main.json
Last active June 24, 2021 18:52
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"
},
@DaneTheory
DaneTheory / ThePackageDotJson_InitFields-Name.json
Last active June 24, 2021 09:34
The Package (dot) JSON: A story of love, triumph, and general witchcraft/wizardry - InitFields: Name
[{
"npm:current": {
"ref": "https://docs.npmjs.com/cli/v7/configuring-npm/package-json#name",
"source": [
"If you plan to publish your package, the most important things in your 'package.json' are the name and version fields as they will be required. The name and version together form an identifier that is assumed to be completely unique. Changes to the package should come along with changes to the version. If you don't plan to publish your package, the name and version fields are optional.",
"The name is what your thing is called.",
["Some rules:",
[
"The name must be less than or equal to 214 characters. This includes the scope for scoped packages.",
"The names of scoped packages can begin with a dot or an underscore. This is not permitted without a scope.",