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
pes.config.{js,cjs,mjs,cjs,ts,mts,cts}. - Write your scripts to the file. for example:
/** @type {import('@pigeon-posse/pkg-extended-scripts').Config} */ export default { "hello" : () => console.log( 'Hello Pigeon ποΈπ' ), }
- Run these scripts using the
pesorpkg-extended-scriptscommands
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 @pigeon-posse/pkg-extended-scripts"
}
}You can contribute via Github
Help us to develop more interesting things.
This software is licensed with MIT License
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 |

