@pandazy/mole-cli
v0.1.9
Published
Shell command helpers
Downloads
5
Maintainers
Readme
mole-cli
Prerequisite:
Installation:
yarn global add @pandazy/mole-cli
Usage
mole <package.json's script name>
Example
mole test
// as long as there is "./src/*.spec.ts" in the project
It will set up TypeScript project with shared configuration from
And run the project by yarn install && yarn <package.json's script name>
(in the case above, "yarn install && yarn test") under the hood
from a Docker container installed with Node.js and Yarn.
The docker container uses this image
Demo:
Before running the command:
What package.json looks like
{
"name": "mole-config-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "ISC"
}