@monteway/scripts
v0.4.2
Published
Useful development scripts for Monterail projects
Downloads
4
Maintainers
Readme
@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:
- 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
. - 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.