New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dev-service-runner

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dev-service-runner

A runner to run other service once for dev, such as Redis, MongoDB and Elasticsearch

  • 0.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-40%
Maintainers
1
Weekly downloads
 
Created
Source

Dev Service Runner

npm version Build Staus Coverage Status

This is a script runner for running other service once on one's development environment, such as Redis, MongoDB and Elasticsearch

Usage

Install

npm i -D dev-service-runner

Configs

You may need place a dev-service.conf.yml under your project directory, as same level as package.json.

# example of dev-service.conf.yml

# This element is setting for running redis service
- 
  nameTag: Redis # needed, as the name tag show in console
  color: yellow # optional, the color of name tag
  command: redis-server /usr/local/etc/redis.conf # needed, command to start this service 

# This element is setting for running mongod service
- 
  nameTag: MongoDB # needed, as the name tag show in console
  color: blue # optional, the color of name tag
  command: mongod --dbpath /usr/local/var/mongodb # needed, command to start this service 

About Color settings

We used Marak/colors.js as our color setting plugin, so for more settings, please check this site.

Run

# If installed at global
run-ds

# Or as installed at local
$(npm bin)/run-ds

# If want run at customized config file
run-ds YOUR-CONFIG.yml

Looks like

Sample Usage

License (MIT)

Copyright 2017~2018 Jerry Lee

Keywords

FAQs

Package last updated on 07 May 2018

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