@pigeon-posse/pkg-extended-scripts
v1.1.2
Published
Separate scripts from package.json
Maintainers
Readme
PKG-EXTENDED-SCRIPTS by PIGEONPOSSE™
🗒 Description
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
🔑 Installation
Using NPM
npm install @pigeon-posse/pkg-extended-scripts⚙️ Usage
- 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
Optional
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"
}
}👨💻 Development
You can contribute via Github
☕ Donate
Help us to develop more interesting things.
📜 License
This software is licensed with MIT License
🐦 About us
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.
Collaborators
| | Name | Role | GitHub | | ---------------------------------------------------------------------------------- | ----------- | ------------ | ---------------------------------------------- | | | AngelEspejo | Author | @AngelEspejo | | | PigeonPosse | Collective | @PigeonPosse |
