β οΈ This package is still in beta version. It can be installed and used but things may change in the future.
List all your scripts in a separate file to the package.json
Separate the package.json scripts to another file and run them with the pes
or pkg-extended-scripts
command
npm install @pigeon-posse/pkg-extended-scripts
- create a file named
package.scripts.json
, you can use the extensions.js
or.yml
andyaml
. - Write your scripts to the file. for example:
- In
package.scripts.json
{ "hello" : "echo 'Hello pigeon π¦π'" }
- In
- Run these scripts using the
pes
orpkg-extended-scripts
commands
That's it, now you can list all your scripts in a separate file to the package.json
If you use the package it may be good practice to leave a scripts in the package.json that indicates that the scripts are in a separate file. For example:
- In
package.json
{
"scripts" : {
"ext-scripts": "npx pes"
}
}
You can contribute via Github
Help us to develop more interesting things.
This software is licensed with GPLv3 (GNU GENERAL PUBLIC LICENSE Version 3)
PigeonPosse is a β¨ code development collective β¨ focused on creating practical and interesting tools that help developers and users enjoy a more agile and comfortable experience. Our projects cover various programming sectors and we do not have a thematic limitation in terms of projects.
Name | Role | GitHub | |
---|---|---|---|
AngelEspejo | Author | @AngelEspejo | |
PigeonPosse | Collective | @PigeonPosse |