3.1.0 • Published 2 years ago

@leomotors/scripts v3.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@leomotors/scripts

npm.io npm.io

Most of the downloads probably came from me, 😂

As its name suggests, it's a scripts that I used a lot in nodejs project, so I decided to put it in npm, so that I can access it easily.

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

But, 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

Once you install this package, these scripts will be installed to node_modules/.bin

lm-inc: Increment Patch Number by 1 when called

lm-config: Put some metadata into specified file (Default: src/config.g.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",
}
3.1.0

2 years ago

3.0.7

2 years ago

3.0.6

2 years ago

3.0.5

2 years ago

3.0.3

2 years ago