Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pigeonposse/pkg-extended-scripts
βπ Separate scripts from package.json.
https://github.com/pigeonposse/pkg-extended-scripts
extends-package javascript js package-json scripts
Last synced: 8 days ago
JSON representation
βπ Separate scripts from package.json.
- Host: GitHub
- URL: https://github.com/pigeonposse/pkg-extended-scripts
- Owner: pigeonposse
- License: other
- Created: 2022-12-21T09:53:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-05T17:54:11.000Z (over 1 year ago)
- Last Synced: 2024-05-01T11:30:42.905Z (7 months ago)
- Topics: extends-package, javascript, js, package-json, scripts
- Language: JavaScript
- Homepage:
- Size: 186 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PKG-EXTENDED-SCRIPTS by PIGEONPOSSEβ’
[![License](https://img.shields.io/github/license/pigeon-posse/pkg-extended-scripts?color=blue&label=License&style=flat-square)](https://npmjs.com/package/@pigeon-posse/pkg-extended-scripts)
[![Version](https://img.shields.io/npm/v/@pigeon-posse/pkg-extended-scripts?color=a1b858&label&style=flat-square)](https://npmjs.com/package/@pigeon-posse/pkg-extended-scripts)
[![Web](https://img.shields.io/badge/Web-grey?style=flat-square)](https://pigeonposse.com/)
[![About us](https://img.shields.io/badge/About-us-grey?style=flat-square)](https://pigeonposse.com/?popup=about)
[![Donate](https://img.shields.io/badge/Donate-pink?style=flat-square)](https://pigeonposse.com/?popup=donate)> :warning: **This package is still in _beta_ version**. It can be installed and used but things may change in the future.
## π 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
```bash
npm install @pigeon-posse/pkg-extended-scripts
```## βοΈ Usage
1. create a file named ```package.scripts.json```, you can use the extensions ```.js``` or ```.yml``` and ```yaml```.
2. Write your scripts to the file. for example:
- In ```package.scripts.json```
```json
{
"hello" : "echo 'Hello pigeon π¦π'"
}
```
3. Run these scripts using the ```pes``` or ```pkg-extended-scripts``` **commands**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```
```json
{
"scripts" : {
"ext-scripts": "npx pes"
}
}
```## π¨βπ» Development
You can contribute via **_Github_**
[![Issues](https://img.shields.io/badge/Issues-grey?style=flat-square)](https://github.com/pigeon-posse/pkg-extended-scripts/issues)
[![Pull requests](https://img.shields.io/badge/Pulls-grey?style=flat-square)](https://github.com/pigeon-posse/pkg-extended-scripts/pulls)## β Donate
Help us to develop more interesting things.
[![Donate](https://img.shields.io/badge/Donate-grey?style=flat-square)](https://pigeonposse.com/?popup=donate)
## π License
This software is licensed with GPLv3 (GNU GENERAL PUBLIC LICENSE Version 3)
[![Read more](https://img.shields.io/badge/Read-more-grey?style=flat-square)](https://github.com/pigeon-posse/pkg-extended-scripts/blob/main/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.
[![More](https://img.shields.io/badge/Read-more-grey?style=flat-square)](https://github.com/PigeonPosse/PigeonPosse)
### Collaborators
| | Name | Role | GitHub |
| ---------------------------------------------------------------------------------- | ----------- | ------------ | ---------------------------------------------- |
| | AngelEspejo | Author | [@AngelEspejo](https://github.com/AngelEspejo) |
| | PigeonPosse | Collective | [@PigeonPosse](https://github.com/PigeonPosse) |