Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pandazy/mole-cli

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pandazy/mole-cli

Shell command helpers

  • 0.1.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

mole-cli

Prerequisite:

  • Docker
  • Yarn

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:

image

What package.json looks like

{
  "name": "mole-config-test",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "author": "",
  "license": "ISC"
}

Install mole-cli

image

Run the command mole test

image

image

Now the repository is like this

image

It runs in a Docker container

image

node_modules is stored in a Docker volume (not in the project repository, otherwise it hurts the performance)

image

Keywords

FAQs

Package last updated on 27 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc