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

@leomotors/automation

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leomotors/automation

As its name suggests, it's a piece of code that I used a lot, so I decided to put it in npm then I can access it easily.

  • 3.0.2
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@leomotors/automation

As its name suggests, it's a piece of code that I used a lot, so I decided to put it in npm then I can access it easily.

You are free to use this if you want the same thing as mine.

Please keep in mind that breaking change can be made at any point.

Here is some info in case you wonder what I'm doing.

Scripts

incrementVersion.js (lm-inc): Increment Patch Number by 1 when called

configPackage.js (lm-config): Put some metadata into specified file (Default: src/config.ts)

lm-config {file name} {time zone (Default: Asia/Bangkok)}
  • Parameter: File Path, in case you want to override default

configPackage.js Output

export const Version = "3.0.0";
export const BuildTime = "2022-01-24 17:06:58";

Example Usage in package.json

"scripts": {
    "dev": "lm-inc && lm-config && smth dev",
    "build": "lm-config && smth build",
}

FAQs

Package last updated on 24 Feb 2022

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