Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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) |