@bigmogician/publisher
> @bigmogician/publisher
Last updated 10 months ago by bigmogician .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @bigmogician/publisher 
SYNC missed versions from official npm registry.

npm-publisher

@bigmogician/publisher

install

# yarn
yarn add @bigmogician/publisher -D
# npm
npm install --dev @bigmogician/publisher

usage

npx bmpub publish
# use yarn to publish.
npx bmpub publish --yarn
# publish and add version automatically.
npx bmpub publish --add 1
# use rc mode to publish, add version automatically.
npx bmpub publish --rc --add 1
# show the result but not to publish your package.
npx bmpub publish --debug
# redefine root path of project and out folder.
npx bmpub publish --root ./submodule --out ./dist-folder
# use your own config file to override the default config.
npx bmpub publish --config ./abc/fk.config.js
// the interface struct of configs
export interface IConfig {
  // debug mode, default [false]
  debug?: boolean;
  // rc mode, default [false]
  rc?: boolean;
  // add mode, default [0]
  add?: number;
  // whitespace mode, works for package.json formatter, default [" "]
  whiteSpace?: string;
  // out mode, default ["dist"]
  outDist?: string;
  // root mode, default ["."]
  rootPath?: string;
  // yarn mode, default [false]
  useYarn?: boolean;
  // register path mode, default [undefined]
  register?: string;
  // package transfomer, default [undefined]
  outTransform?: (json: IPackage) => IPackage;
  // std out, default [out => console.log(out || "no std output.")]
  onStdOut?: (out: string) => void;
  // std err, default [out => console.log(out || "no std outerr.")]
  onStdErr?: (out: string) => void;
}

Current Tags

  • 1.0.12                                ...           latest (10 months ago)

13 Versions

  • 1.0.12                                ...           10 months ago
  • 1.0.11                                ...           a year ago
  • 1.0.10                                ...           a year ago
  • 1.0.9                                ...           a year ago
  • 1.0.8                                ...           a year ago
  • 1.0.7                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 13
Last Day 0
Last Week 13
Last Month 0
Dependencies (2)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |