1.23.3 • Published 6 years ago

cheminfo-tools v1.23.3

Weekly downloads
27
License
MIT
Repository
github
Last release
6 years ago

cheminfo-tools

CLI tools to help cheminfo developers

Installation

npm install -g cheminfo-tools

This will add a new cheminfo command to your system.

Sub-commands

build

Make a browser build using webpack

options

  • -c, --cwd: directory of the project to build. Default: current working directory
  • -o, --out: directory where to put the build files. Default: dist
  • -n, --out-name: name of the output file. Default: name of npm package or bundle
  • -r, --root: root name of the library. Default: name of npm package (camelCase)
  • -e, --entry: entry point of the library. Default: main field of npm package or index.js
  • -u, --no-uglify: disable generation of min file and source map
  • --no-source-map: disable generation of source map only
  • -v, --verbose: output warnings if any

docs

Generate and push documentation.
It will be generated in the docs directory.

options

  • -p, --push: push the generated docs folder to GitHub

configuration

The following options can be set in the package.json's cheminfo.docs object:

  • tsEntry: path to the entry of a TypeScript project. Default is src/index.ts.

publish

Test, bump and publish a project on npm.
You need to run the command from the root of the project's directory. It is only for npm-only packages. Please use the GRM for browser packages.

  • -b, --bump <bump>: kind of version bump (optional, they are determined automatically and you will be prompted)
  • -o, --org <org>: organization (optional, will be determined automatically)
  • -f, --force: allows to skip some steps
  • -D, --no-docs: do not generate and publish documentation
  • -h, --help: output usage information

Example

cheminfo publish -o cheminfo -b major

This will:

  • Run the tests
  • Bump the version number to the next major
  • Update the history file
  • Publish on npm
  • Add admins from the cheminfo organization to npm owners
  • Create documentation and publish it in gh-pages (optional)
  • Push the changes to GitHub

License

MIT

1.23.3

6 years ago

1.23.2

6 years ago

1.23.1

6 years ago

1.23.0

6 years ago

1.22.5

6 years ago

1.22.4

7 years ago

1.22.3

7 years ago

1.22.2

7 years ago

1.22.1

7 years ago

1.22.0

7 years ago

1.21.1

7 years ago

1.21.0

7 years ago

1.20.3

7 years ago

1.20.2

8 years ago

1.20.1

8 years ago

1.20.0

8 years ago

1.19.4

8 years ago

1.19.3

8 years ago

1.19.2

8 years ago

1.19.1

8 years ago

1.19.0

8 years ago

1.18.1

8 years ago

1.18.0

8 years ago

1.17.1

8 years ago

1.17.0

8 years ago

1.16.2

8 years ago

1.16.1

8 years ago

1.16.0

8 years ago

1.15.0

8 years ago

1.14.1

8 years ago

1.14.0

8 years ago

1.13.0

9 years ago

1.12.0

9 years ago

1.11.0

9 years ago

1.10.1

9 years ago

1.10.0

9 years ago

1.9.0

9 years ago

1.8.6

9 years ago

1.8.5

9 years ago

1.8.4

9 years ago

1.8.3

9 years ago

1.8.2

9 years ago

1.8.1

9 years ago

1.8.0

9 years ago

1.7.0

9 years ago

1.6.0

9 years ago

1.5.1

9 years ago

1.5.0

9 years ago

1.4.1

9 years ago

1.4.0

9 years ago

1.3.4

10 years ago

1.3.3

10 years ago

1.3.2

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago