5.0.6 • Published 5 years ago

publishimo v5.0.6

Weekly downloads
20
License
MIT
Repository
github
Last release
5 years ago

publishimo

Greenkeeper badge

Generates a better package.json for published packages.

API

import publishimo from "publishimo"
publishimo(options).then(result => {
  console.log(result)
})

Options

const publishimoConfig = {

  // Can be a path to an existing package.json or a pkg object
  pkg: path.resolve("..", "package.json"), // Default: {}

  // Output generated pkg data as JSON to specified file
  output: path.resolve("..", "dist", "package.json"), // Default: false

  // If true, some metadata gets fetched from an existing GitHub repository
  fetchGithub: true, // Default: false

  name: "name", // Default: Name of project root folder
  version: "1.2.3", // Default: 1.0.0
  main: "index.js", // No default, but publishimo-webpack-plugin has one
  license: "MIT", // Default comes from GitHub if fetchGithub is true
  description: "", // Default comes from GitHub if fetchGithub is true
  keywords: ["tag"] // Default comes from GitHub if fetchGithub is true (repository topics)
  author: {
    name: "Smitty Werben Jagger Man Jaidsen",
    email: "jaid@example.com",
    github: "Jaid" // Shortcut for author.homepage
  },
  os: ["!darwin"],
  cpu : ["x64", "ia32"],
  engines: {
    "node" : ">=11.6.0"
  },
  repository: "", // Default: github.com/{author.github}/{name},
  homepage: "", //Default: github.com/{author.github}/{name}#readme"
  bugs: "", // Default: github.com/{author.github}/{name}/issues
  contributors: "",
  dependencies: {},
  peerDependencies: {},
  bundleDependencies: {},
  optionalDependencies: {}

}
5.0.6

5 years ago

5.0.5

5 years ago

5.0.4

5 years ago

5.0.3

5 years ago

5.0.2

5 years ago

5.0.1

5 years ago

5.0.0

5 years ago

4.1.1

5 years ago

4.1.0

5 years ago

4.0.1

5 years ago

4.0.0

5 years ago

3.6.0

5 years ago

3.5.6

5 years ago

3.5.5

5 years ago

3.5.4

5 years ago

3.5.3

5 years ago

3.5.2

5 years ago

3.5.1

5 years ago

3.5.0

5 years ago

3.4.1

5 years ago

3.4.0

5 years ago

3.3.0

5 years ago

3.2.0

5 years ago

3.1.0

5 years ago

3.0.0

5 years ago

2.8.0

5 years ago

2.7.1

5 years ago

2.7.0

5 years ago

2.6.0

5 years ago

2.5.0

5 years ago

2.4.2

5 years ago

2.4.1

5 years ago

2.4.0

5 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago