0.0.5 • Published 7 years ago

sno-pack v0.0.5

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

SnoPack

Install Documentation

Sno-pack provides tools for building and publishing a snobject in NodeJS.

Properties

TypeDescriptionRequired
versionSnobject.version:white_check_mark: Yes
licenseSnobject.licenseNo
getSchemaSnobject.getSchema:white_check_mark: Yes
nameSnobject.SnoPack.name:white_check_mark: Yes
keywordsSnobject.SnoPack.keywordsNo
homepagestringThe url to the project homepage.No
bugsSnobject.SnoPack.bugsNo
authorSnobject.SnoPersonNo
contributorsarray[]A list of people who contributed to this package.No
maintainersarray[]A list of people who maintains this package.No
filesSnobject.SnoPack.filesNo
mainstringThe main field is a module ID that is the primary entry point to your program.No, default: "./src/main.js"
binstring,objectundefinedNo
manarray,stringSpecify either a single file or an array of filenames to put in place for the man program to find.No
directoriesSnobject.SnoPack.directoriesNo
repositorySnobject.SnoPack.repositoryNo
scriptsobjectThe 'scripts' member is an object hash of script commands that are run at various times in the lifecycle of your package. The key is the lifecycle event, and the value is the command to run at that point.No
configSnobject.SnoPack.configNo
dependenciesSnobject.SnoPack.dependencyNo
peerDependenciesSnobject.SnoPack.dependencyNo
optionalDependenciesSnobject.SnoPack.dependencyNo
bundledDependenciesSnobject.SnoPack.bundledDependencyNo
bundleDependenciesSnobject.SnoPack.bundledDependencyNo
enginesobjectundefinedNo
engineStrictbooleanundefinedNo
osstring[]undefinedNo
cpustring[]undefinedNo
preferGlobalbooleanIf your package is primarily a command-line application that should be installed globally, then set this value to true to provide a warning if it is installed locally.No
privatebooleanIf set to true, then npm will refuse to publish it.No
publishConfigobjectundefinedNo
getSnobject.SnoPack.get:white_check_mark: Yes
addSnobject.SnoPack.add:white_check_mark: Yes
setSnobject.SnoPack.set:white_check_mark: Yes
addSchemaSnobject.addSchema:white_check_mark: Yes
validateSnobject.validate:white_check_mark: Yes
getClassSnobject.SnoPack.getClass:white_check_mark: Yes
buildSchemaSnobject.SnoPack.buildSchema:white_check_mark: Yes
buildMDSnobject.SnoPack.buildMD:white_check_mark: Yes

Pattern Properties

TypeDescriptionRequired
^_Any property starting with _ is valid.No

Additional properties are allowed.

SnoPack.version :white_check_mark:

  • Type: Snobject.version
  • Required: Yes

SnoPack.license

  • Type: Snobject.license
  • Required: No

SnoPack.getSchema :white_check_mark:

  • Type: Snobject.getSchema
  • Required: Yes

SnoPack.name :white_check_mark:

  • Type: Snobject.SnoPack.name
  • Required: Yes

SnoPack.keywords

  • Type: Snobject.SnoPack.keywords
  • Required: No

SnoPack.homepage

The url to the project homepage.

  • Type: string
  • Required: No
  • Format: uri

SnoPack.bugs

  • Type: Snobject.SnoPack.bugs
  • Required: No

SnoPack.author

  • Type: Snobject.SnoPerson
  • Required: No

SnoPack.contributors

A list of people who contributed to this package.

  • Type: array[]
  • Required: No

SnoPack.maintainers

A list of people who maintains this package.

  • Type: array[]
  • Required: No

SnoPack.files

  • Type: Snobject.SnoPack.files
  • Required: No

SnoPack.main

The main field is a module ID that is the primary entry point to your program.

  • Type: string
  • Required: No, default: "./src/main.js"

SnoPack.bin

  • Type: string,object
  • Required: No
  • Type of each property: string

SnoPack.man

Specify either a single file or an array of filenames to put in place for the man program to find.

  • Type: array,string
  • Required: No

SnoPack.directories

  • Type: Snobject.SnoPack.directories
  • Required: No

SnoPack.repository

  • Type: Snobject.SnoPack.repository
  • Required: No

SnoPack.scripts

The 'scripts' member is an object hash of script commands that are run at various times in the lifecycle of your package. The key is the lifecycle event, and the value is the command to run at that point.

  • Type: object
  • Required: No
  • Type of each property: string

SnoPack.config

  • Type: Snobject.SnoPack.config
  • Required: No

SnoPack.dependencies

  • Type: Snobject.SnoPack.dependency
  • Required: No

SnoPack.peerDependencies

  • Type: Snobject.SnoPack.dependency
  • Required: No

SnoPack.optionalDependencies

  • Type: Snobject.SnoPack.dependency
  • Required: No

SnoPack.bundledDependencies

  • Type: Snobject.SnoPack.bundledDependency
  • Required: No

SnoPack.bundleDependencies

  • Type: Snobject.SnoPack.bundledDependency
  • Required: No

SnoPack.engines

  • Type: object
  • Required: No
  • Type of each property: string

SnoPack.engineStrict

  • Type: boolean
  • Required: No

SnoPack.os

  • Type: string[]
  • Required: No

SnoPack.cpu

  • Type: string[]
  • Required: No

SnoPack.preferGlobal

If your package is primarily a command-line application that should be installed globally, then set this value to true to provide a warning if it is installed locally.

  • Type: boolean
  • Required: No

SnoPack.private

If set to true, then npm will refuse to publish it.

  • Type: boolean
  • Required: No

SnoPack.publishConfig

  • Type: object
  • Required: No

SnoPack.get :white_check_mark:

  • Type: Snobject.SnoPack.get
  • Required: Yes

SnoPack.add :white_check_mark:

  • Type: Snobject.SnoPack.add
  • Required: Yes

SnoPack.set :white_check_mark:

  • Type: Snobject.SnoPack.set
  • Required: Yes

SnoPack.addSchema :white_check_mark:

  • Type: Snobject.addSchema
  • Required: Yes

SnoPack.validate :white_check_mark:

  • Type: Snobject.validate
  • Required: Yes

SnoPack.getClass :white_check_mark:

  • Type: Snobject.SnoPack.getClass
  • Required: Yes

SnoPack.buildSchema :white_check_mark:

  • Type: Snobject.SnoPack.buildSchema
  • Required: Yes

SnoPack.buildMD :white_check_mark:

  • Type: Snobject.SnoPack.buildMD
  • Required: Yes