publishimo
Generates a better package.json for published packages.
API
Options
const publishimoConfig = // Can be a path to an existing package.json or a pkg object pkg: path // Default: {} // Output generated pkg data as JSON to specified file output: path // 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: {}