包详细信息

cheminfo-build

cheminfo4.4kMIT1.3.1

CLI tool to build ChemInfo packages

自述文件

cheminfo-build

NPM version npm download test coverage license

CLI tool to build ChemInfo packages.

Installation

npm install -D cheminfo-build

Usage

cheminfo-build <options>

options

  • -c, --cwd: directory of the project to build. Defaults to the current working directory.
  • -e, --entry: entry point of the library. Default: "exports", or "module", or "main" field from package.json, or "lib/index.js", or "src/index.js" if it exists.
  • -o, --out: directory where to put the build files. Default: dist
  • -n, --out-name: name of the output file. Default: "name" field from package.json
  • -r, --root: root name of the library. Default: name of npm package (camelCase)
  • --no-minify: Disable generation of minified files.
  • --no-source-map: Disable generation of source maps.

License

MIT

更新日志

Changelog

1.3.1 (2025-08-19)

Bug Fixes

  • remove extra space in full license banner (#3) (f77a11e)

1.3.0 (2025-08-15)

⚠ BREAKING CHANGES

  • The default entry point will now consider "exports" first. ESM bundles are also generated. The UMD bundles now have the extension .umd.cjs and the ESM bundles have the extension .esm.mjs.

Features

Bug Fixes