@monteway/scripts

0.4.2 • Public • Published

@monteway/scripts

Common command line scripts to enhance developer experience, optimize things in projects, etc.

Install

npm i @monteway/scripts

Usage

postinstall

A script to be run after npm install.
It does the following:

  1. If no .env file is found but there is a sample file, like .env.example, it will create the missing .env file based on the example one. Recognized sample files are: .env.example, .env.sample, .env-example, .example.env.
  2. If there is lefthook config present, it will make sure to install git hooks from it.
npx @monteway/scripts postinstall

Feel free to add more stuff to the postinstall script that you find might be usefull for many projects.

Readme

Keywords

Package Sidebar

Install

npm i @monteway/scripts

Weekly Downloads

5

Version

0.4.2

License

MIT

Unpacked Size

4.61 kB

Total Files

8

Last publish

Collaborators

  • monterail-services