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

my_wins

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

my_wins

Automates starting and laying out your console windows for tsc, babel, tests, verdaccio, etc...

  • 1.0.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

my_wins

Automates starting your console windows for tsc, babel, tests, verdaccio, etc...

my_wins opens cmd promts for you, position them nicely and types-in your commands into them.

Why?

Why this is better than just running cmd/bat files?

Because you can

  • [Ctrl+C] - to stop your command

  • [UP] -> [Enter] - to restart your command

  • But still you don't need to type in the command for the very first time

  • And you don't have to open those consoles manually

  • And you don't have to position them ether

Installation

npm i my_wins

or

npm i my_wins -g

Usage

Create "my_wins.json" in your project with contents:

{
	"wins": {
		"cmd1": "echo cm1",
		"cmd2": "echo cmd2"
	}
}

and run

npm run my_wins

This will

  • Open command line windows for each command
  • Set titles of this windows
  • Position windows on your screen
  • Execute commands in them

Now if you need to restart or pause/resume any of your cmd just do

  • [Ctrl+C] - to stop

  • [UP] -> [Enter] - to restart

my_wins was tested only on Windows 10 and may have issues on other OSes*

All options

You can also create "my_wins_personal.json" which can partially or fully overrides my_wins.

It's recommended to gitignore "my_wins_personal.json".

    {
        startTimeout: 700,
        x: 0,           
        y: 0,         
        height: 120,    
        width: 500,     
        wins:{          
            foo:"my command line 1",
            baz:{no_run:true, cmd:"my command line 2"},
        }
    }

x,y,height,width - is first cmd window's position and size

y gets incremented by height for each next window

Author - Yuri Yaryshev, 2020

Unlicensed

Keywords

FAQs

Package last updated on 03 May 2020

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