@monteway/scripts
v0.4.2
Published
Useful development scripts for Monterail projects
Maintainers
Readme
@monteway/scripts
Common command line scripts to enhance developer experience, optimize things in projects, etc.
Install
npm i @monteway/scriptsUsage
postinstall
A script to be run after npm install.
It does the following:
- If no
.envfile is found but there is a sample file, like.env.example, it will create the missing.envfile 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 postinstallFeel free to add more stuff to the postinstall script that you find might be usefull for many projects.
