@cdbx/cli
v1.7.1
Published
CLI for @cdbx projects
Downloads
48
Readme
@cdbx/tools
Global Installation
You can install these tools globally.
npm i -g .Then access them globally from anywhere.
# Serve dev server from ./src folder
jsdevserver
# Run JS unit tests in ./src folder
jstester
# Convert ESNext in ./src to ES5 in ./dist
jsbuilder
# Preview the next release
jsreleaser
# Create the next release
jsreleaser --forceProject Installation
Or you can install them into your project.
npm i @cdbx/tools --saveThen setup your package.json to use these tools.
"scripts": {
"serve": "jsdevserver",
"test": "jstester",
"build": "jsbuilder",
"release": "jsreleaser"
}Utilities
jsdevserver
Run a simple dev server without installing a bunch of crap into your repository or screwing with a dozen different configs.
See the jsdevserver readme for more information.
jstester
Execute unit tests on ESNext code without installing a bunch of crap into your repository or screwing with a dozen different configs.
See the jstester readme for more information.
jsbuilder
Transpile ESNext modules into ES5 without installing a bunch of crap into your repository or screwing with a dozen different configs.
See the jsbuilder readme for more information.
jsreleaser
Release modules in a sane manner without installing a bunch of crap into your repository or screwing with a dozen different configs.
See the jsreleaser readme for more information.
Development
Building
Rebuild all Docker images for all tools.
npm run buildPush to Registry
Push Docker images to Gitlab.
npm run push