open-index/open-npm huggingface dataset:
npm package: @gluons/rollup-plugin-postcss-only
Description: A Rollup plugin to transform CSS via PostCSS.
Author: Saran Tanpituckpong
Latest version: 4.0.0

# rollup-plugin-postcss-only
[![license](https://img.shields.io/badge/license-MIT-97CA00.svg?style=flat-square)](./LICENSE)
[![npm](https://img.shields.io/npm/v/@gluons/rollup-plugin-postcss-only.svg?style=flat-square)](https://www.npmjs.com/package/@gluons/rollup-plugin-postcss-only)
[![npm](https://img.shields.io/npm/dt/@gluons/rollup-plugin-postcss-only.svg?style=flat-square)](https://www.npmjs.com/package/@gluons/rollup-plugin-postcss-only)
[![pipeline status](https://img.shields.io/gitlab/pipeline/gluons/rollup-plugin-postcss-only.svg?style=flat-square)](https://gitlab.com/gluons/rollup-plugin-postcss-only/pipelines)

A [Rollup](https://rollupjs.org/) plugin to transform CSS via [PostCSS](https://postcss.org/).

## Installation

**Via npm:**
```bash
npm i -D postcss @gluons/rollup-plugin-postcss-only
```

**Via Yarn:**
```bash
yarn add -D postcss @gluons/rollup-plugin-postcss-only
```

## Usage

`rollup.config.js`:
```js
import postcss from '@gluons/rollup-plugin-postcss-only';

export default {
	input: '<your input>',
	output: {
		file: '<your output file>',
		format: '<your format>'
	},
	plugins: [
		postcss(/** Options **/)
	]
};
```

## Options

### include
**Type:** `string | RegExp | Array<string | RegExp>`  
**Default:** `[/\.(s?css|sass)$/i]`

Pattern of files to include in processing.

### exclude
**Type:** `string | RegExp | Array<string | RegExp>`  
**Default:** `undefined`

Pattern of files to exclude from processing.

### extract
**Type:** `boolean`  
**Default:** `true`

Enable CSS extraction.

### fileName
**Type:** `string`

Specify the name of extracted file.

### config
**Type:** `{ path: string, context: any }`  
**Default:** `{}`

Configuration information for PostCSS.  
See more information in [postcss-load-config](https://github.com/michael-ciniawsky/postcss-load-config)

- `path`: Path to PostCSS config file.
- `context`: Context to pass into PostCSS config file.

### plugins
**Type:** [`Plugin[]`](https://api.postcss.org/global.html#Plugin)  
**Default:** `[]`

PostCSS plugins.
npm package: @gluons/vue-dev-server
Description: A simple dev server for Vue.js.
Author: Saran Tanpituckpong
Latest version: 0.0.2

# Vue Dev Server

[![GitHub](https://img.shields.io/github/license/gluons/vue-dev-server?style=flat-square)](./LICENSE)
[![npm](https://img.shields.io/npm/v/@gluons/vue-dev-server?style=flat-square)](https://www.npmjs.com/package/@gluons/vue-dev-server)
![GitHub top language](https://img.shields.io/github/languages/top/gluons/vue-dev-server?style=flat-square)
[![Codacy branch grade](https://img.shields.io/codacy/grade/29cc5dc9c8ac4f5ca3ded76a0feda5ae/master?style=flat-square)](https://www.codacy.com/manual/gluons/vue-dev-server)
[![Travis (.com)](https://img.shields.io/travis/com/gluons/vue-dev-server?style=flat-square)](https://travis-ci.com/github/gluons/vue-dev-server)

A simple dev server for [Vue.js](https://vuejs.org/).

## Installation

**Via [npm](https://www.npmjs.com/):**
```bash
npm install -D @gluons/vue-dev-server
```

**Via [pnpm](https://pnpm.js.org/):**
```bash
pnpm install -D @gluons/vue-dev-server
```

**Via [Yarn](https://yarnpkg.com/):**
```basn
yarn add -D @gluons/vue-dev-server
```

## Usage

**CLI:**
```bash
vue-dev-server main.ts
```

Use `vue-dev-server -h` for help.

## Config

Config file will be loaded by [Cosmiconfig](https://github.com/davidtheclark/cosmiconfig).

Config file can be the file below:
- `vue-dev-server.config.js`
- `vue-dev-server.config.json`
- `vue-dev-server.config.yaml`
- `vue-dev-server.config.yml`
- `vue-dev-server.config.ts`

---

### entry
**Type:** `string`  
**Required:** ✔

Path to entry file.

### alias
**Type:** `Record<string, string>`

Path aliases.

### define
**Type:** `Record<string, unknown>`  
**Default:** `{ 'process.env.NODE_ENV': 'development' }`

Define global constants which can be configured at compile time.

### port
**Type:** `number`  
**Default:** `8080`

Port of development server.

### open
**Type:** `boolean`  
**Default:** `true`

Open webpage in browser when server start.

### clipboard
**Type:** `boolean`  
**Default:** `false`

Copy dev server URL to clipboard.

### htmlTitle
**Type:** `string`  
**Default:** `'Vue Dev Server'`

Title of development webpage.
npm package: @gluons/vue-pack
Description: Bundle Vue.js library via webpack.
Author: Saran Tanpituckpong
Latest version: 1.20.3

# vue-pack
![license](https://img.shields.io/github/license/gluons/vue-pack.svg?style=flat-square)
[![npm](https://img.shields.io/npm/v/@gluons/vue-pack.svg?style=flat-square)](https://www.npmjs.com/package/@gluons/vue-pack)
[![TSLint](https://img.shields.io/badge/TSLint-gluons-15757B.svg?style=flat-square)](https://github.com/gluons/tslint-config-gluons)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg?style=flat-square)](https://lernajs.io/)
[![Travis (.com)](https://img.shields.io/travis/com/gluons/vue-pack.svg?style=flat-square)](https://travis-ci.com/gluons/vue-pack)
[![Codacy grade](https://img.shields.io/codacy/grade/98523b5b7cd7435a8c71b296e84522f8.svg?style=flat-square)](https://www.codacy.com/app/gluons/vue-pack)
[![Known Vulnerabilities](https://snyk.io/test/github/gluons/vue-pack/badge.svg?targetFile=packages%2F%40gluons%2Fvue-pack%2Fpackage.json&style=flat-square)](https://snyk.io/test/github/gluons/vue-pack?targetFile=packages%2F%40gluons%2Fvue-pack%2Fpackage.json)

🎀 Bundle [Vue.js](https://vuejs.org/) library via [webpack](https://webpack.js.org/).

## ⚙️ Installation

### CLI (Preferred)

**Install via [npm](https://www.npmjs.com/):**

```bash
# Install globally
npm install -g @gluons/vue-pack-cli
# Or install locally
npm install --save-dev @gluons/vue-pack-cli
```

---

**Install via [Yarn](https://yarnpkg.com/):**

```bash
# Install globally
yarn global add @gluons/vue-pack-cli
# Or install locally
yarn add --dev @gluons/vue-pack-cli
```

### Core

**Install via [npm](https://www.npmjs.com/):**

```bash
npm install --save-dev @gluons/vue-pack
```

---

**Install via [Yarn](https://yarnpkg.com/):**

```bash
yarn add --dev @gluons/vue-pack
```

## 📃 Documentation

See https://gluons.github.io/vue-pack/
npm package: @gluons/vue-pack-alias-plugin
Description: A vue-pack plugin to customize webpack's resolve.alias.
Author: Saran Tanpituckpong
Latest version: 1.0.1
Deprecated: 👋 `vue-pack-alias-plugin` is now deprecated in favor of vue-pack's new `alias` configuration.

# vue-pack-alias-plugin
![license](https://img.shields.io/github/license/gluons/vue-pack.svg?style=flat-square)
[![npm](https://img.shields.io/npm/v/@gluons/vue-pack-alias-plugin.svg?style=flat-square)](https://www.npmjs.com/package/@gluons/vue-pack-alias-plugin)
[![TSLint](https://img.shields.io/badge/TSLint-gluons-15757B.svg?style=flat-square)](https://github.com/gluons/tslint-config-gluons)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg?style=flat-square)](https://lernajs.io/)
[![Travis (.com)](https://img.shields.io/travis/com/gluons/vue-pack.svg?style=flat-square)](https://travis-ci.com/gluons/vue-pack)
[![Codacy grade](https://img.shields.io/codacy/grade/98523b5b7cd7435a8c71b296e84522f8.svg?style=flat-square)](https://www.codacy.com/app/gluons/vue-pack)

A [vue-pack](https://github.com/gluons/vue-pack) plugin to customize webpack's [resolve.alias](https://webpack.js.org/configuration/resolve/#resolve-alias).

## Installation

Require [vue-pack](https://www.npmjs.com/package/@gluons/vue-pack).

```bash
npm install --save-dev @gluons/vue-pack
# or
yarn add --dev @gluons/vue-pack
```

Then install this plugin.

```bash
npm install --save-dev @gluons/vue-pack-alias-plugin
# or
yarn add --dev @gluons/vue-pack-alias-plugin
```

## Usage

Add this plugin into `vue-pack` config.

**`vue-pack.config.js`**
```js
const alias = require('@gluons/vue-pack-alias-plugin').default;

const aliases = {
	'@': './src'
};

module.exports = {
	plugins: [
		alias(aliases)
	]
};
```
npm package: @gluons/vue-pack-banner-plugin
Description: A vue-pack plugin to add banner to generated bundles.
Author: Saran Tanpituckpong
Latest version: 1.20.3

# vue-pack-banner-plugin
![license](https://img.shields.io/github/license/gluons/vue-pack.svg?style=flat-square)
[![npm](https://img.shields.io/npm/v/@gluons/vue-pack-banner-plugin.svg?style=flat-square)](https://www.npmjs.com/package/@gluons/vue-pack-banner-plugin)
[![TSLint](https://img.shields.io/badge/TSLint-gluons-15757B.svg?style=flat-square)](https://github.com/gluons/tslint-config-gluons)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg?style=flat-square)](https://lernajs.io/)
[![Travis (.com)](https://img.shields.io/travis/com/gluons/vue-pack.svg?style=flat-square)](https://travis-ci.com/gluons/vue-pack)
[![Codacy grade](https://img.shields.io/codacy/grade/98523b5b7cd7435a8c71b296e84522f8.svg?style=flat-square)](https://www.codacy.com/app/gluons/vue-pack)
[![Known Vulnerabilities](https://snyk.io/test/github/gluons/vue-pack/badge.svg?targetFile=packages%2F%40gluons%2Fplugin-banner%2Fpackage.json&style=flat-square)](https://snyk.io/test/github/gluons/vue-pack?targetFile=packages%2F%40gluons%2Fplugin-banner%2Fpackage.json)

A [vue-pack](https://github.com/gluons/vue-pack) plugin to banner to generated bundles via [BannerPlugin](https://webpack.js.org/plugins/banner-plugin/).

## Installation

Require [vue-pack](https://www.npmjs.com/package/@gluons/vue-pack).

```bash
npm install --save-dev @gluons/vue-pack
# or
yarn add --dev @gluons/vue-pack
```

Then install this plugin.

```bash
npm install --save-dev @gluons/vue-pack-banner-plugin
# or
yarn add --dev @gluons/vue-pack-banner-plugin
```

## Usage

Add this plugin into `vue-pack` [config](https://gluons.github.io/vue-pack/configuration/).

**`vue-pack.config.js`**
```js
const banner = require('@gluons/vue-pack-banner-plugin');

module.exports = {
	plugins: [
		banner('<Your banner here>')
	]
};
```
npm package: @gluons/vue-pack-cli
Description: A CLI tool for vue-pack.
Author: Saran Tanpituckpong
Latest version: 1.20.3

# vue-pack-cli
![license](https://img.shields.io/github/license/gluons/vue-pack.svg?style=flat-square)
[![npm](https://img.shields.io/npm/v/@gluons/vue-pack-cli.svg?style=flat-square)](https://www.npmjs.com/package/@gluons/vue-pack-cli)
[![TSLint](https://img.shields.io/badge/TSLint-gluons-15757B.svg?style=flat-square)](https://github.com/gluons/tslint-config-gluons)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg?style=flat-square)](https://lernajs.io/)
[![Travis (.com)](https://img.shields.io/travis/com/gluons/vue-pack.svg?style=flat-square)](https://travis-ci.com/gluons/vue-pack)
[![Codacy grade](https://img.shields.io/codacy/grade/98523b5b7cd7435a8c71b296e84522f8.svg?style=flat-square)](https://www.codacy.com/app/gluons/vue-pack)
[![Known Vulnerabilities](https://snyk.io/test/github/gluons/vue-pack/badge.svg?targetFile=packages%2F%40gluons%2Fcli%2Fpackage.json&style=flat-square)](https://snyk.io/test/github/gluons/vue-pack?targetFile=packages%2F%40gluons%2Fcli%2Fpackage.json)

🎀 Bundle [Vue.js](https://vuejs.org/) library via [webpack](https://webpack.js.org/).

## ⚙️ Installation

### CLI (Preferred)

**Install via [npm](https://www.npmjs.com/):**

```bash
# Install globally
npm install -g @gluons/vue-pack-cli
# Or install locally
npm install --save-dev @gluons/vue-pack-cli
```

---

**Install via [Yarn](https://yarnpkg.com/):**

```bash
# Install globally
yarn global add @gluons/vue-pack-cli
# Or install locally
yarn add --dev @gluons/vue-pack-cli
```

### Core

**Install via [npm](https://www.npmjs.com/):**

```bash
npm install --save-dev @gluons/vue-pack
```

---

**Install via [Yarn](https://yarnpkg.com/):**

```bash
yarn add --dev @gluons/vue-pack
```

## 📃 Documentation

See https://gluons.github.io/vue-pack/
npm package: @gluons/vue-pack-copy-plugin
Description: A vue-pack plugin to copy files or directories to build directory.
Author: Saran Tanpituckpong
Latest version: 1.20.3

# vue-pack-copy-plugin
![license](https://img.shields.io/github/license/gluons/vue-pack.svg?style=flat-square)
[![npm](https://img.shields.io/npm/v/@gluons/vue-pack-copy-plugin.svg?style=flat-square)](https://www.npmjs.com/package/@gluons/vue-pack-copy-plugin)
[![TSLint](https://img.shields.io/badge/TSLint-gluons-15757B.svg?style=flat-square)](https://github.com/gluons/tslint-config-gluons)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg?style=flat-square)](https://lernajs.io/)
[![Travis (.com)](https://img.shields.io/travis/com/gluons/vue-pack.svg?style=flat-square)](https://travis-ci.com/gluons/vue-pack)
[![Codacy grade](https://img.shields.io/codacy/grade/98523b5b7cd7435a8c71b296e84522f8.svg?style=flat-square)](https://www.codacy.com/app/gluons/vue-pack)
[![Known Vulnerabilities](https://snyk.io/test/github/gluons/vue-pack/badge.svg?targetFile=packages%2F%40gluons%2Fplugin-copy%2Fpackage.json&style=flat-square)](https://snyk.io/test/github/gluons/vue-pack?targetFile=packages%2F%40gluons%2Fplugin-copy%2Fpackage.json)

A [vue-pack](https://github.com/gluons/vue-pack) plugin to copy files or directories to build directory via [Copy Webpack Plugin](https://github.com/webpack-contrib/copy-webpack-plugin).

## Installation

Require [vue-pack](https://www.npmjs.com/package/@gluons/vue-pack).

```bash
npm install --save-dev @gluons/vue-pack
# or
yarn add --dev @gluons/vue-pack
```

Then install this plugin.

```bash
npm install --save-dev @gluons/vue-pack-copy-plugin
# or
yarn add --dev @gluons/vue-pack-copy-plugin
```

## Usage

Add this plugin into `vue-pack` [config](https://gluons.github.io/vue-pack/configuration/).

**`vue-pack.config.js`**
```js
const copy = require('@gluons/vue-pack-copy-plugin');

const patterns = [
	'path/to/source',
	{ from: 'glob/path/*', to: 'dest/path' }
];

module.exports = {
	plugins: [
		copy(patterns)
	]
};
```

Patterns are the same as **Copy Webpack Plugin**'s [Pattern](https://github.com/webpack-contrib/copy-webpack-plugin#patterns).
npm package: @gluons/vue-pack-dev
Description: A development server for vue-pack (and vue-up).
Author: Saran Tanpituckpong
Latest version: 1.20.3

# vue-pack-dev
![GitHub](https://img.shields.io/github/license/gluons/vue-pack.svg?style=flat-square)
[![NpmVersion](https://img.shields.io/npm/v/@gluons/vue-pack-dev.svg?style=flat-square)](https://www.npmjs.com/package/@gluons/vue-pack-dev)
[![TSLint](https://img.shields.io/badge/TSLint-gluons-15757B.svg?style=flat-square)](https://github.com/gluons/tslint-config-gluons)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg?style=flat-square)](https://lernajs.io/)
[![Travis (.com)](https://img.shields.io/travis/com/gluons/vue-pack.svg?style=flat-square)](https://travis-ci.com/gluons/vue-pack)
[![Codacy grade](https://img.shields.io/codacy/grade/98523b5b7cd7435a8c71b296e84522f8.svg?style=flat-square)](https://www.codacy.com/app/gluons/vue-pack)
[![Known Vulnerabilities](https://snyk.io/test/github/gluons/vue-pack/badge.svg?targetFile=packages%2F%40gluons%2Fdev%2Fpackage.json&style=flat-square)](https://snyk.io/test/github/gluons/vue-pack?targetFile=packages%2F%40gluons%2Fdev%2Fpackage.json)

A development server for [vue-pack](https://github.com/gluons/vue-pack) (and [vue-up](https://github.com/gluons/vue-up)).

> Using [webpack-dev-server](https://github.com/webpack/webpack-dev-server) under the hood.

## Installation

```bash
npm install --save-dev @gluons/vue-pack-dev
# or
yarn add --dev @gluons/vue-pack-dev
```

## Usage

```js
const serve = require('@gluons/vue-pack-dev').default;

serve({
	entry: '<path to your entry file>'
})
	.then(() => {
		console.log('Server is running.');
	})
	.catch(err => {
		console.error(err);
	});
```

## Options

### entry
**Type:** `string`  
**Required**

Path to entry file for development.

### alias
**Type:** `{ [key: string]: string }`

Alias to path.

> See webpack's [`resolve.alias`](https://webpack.js.org/configuration/resolve/#resolve-alias).

### define
**Type:** `{ [key: string]: any }`

Define global constants which can be configured at compile time by **webpack**'s [DefinePlugin](https://webpack.js.org/plugins/define-plugin/).

### port
**Type:** `number`  
**Default:** `8080`

Port of development server.

### open
**Type:** `boolean`  
**Default:** `true`

Open in browser when server run.

### htmlTitle
**Type:** `string`  
**Default:** `Vue Library`

Title of development page.

### webpackBarName
**Type:** `string`  
**Default:** `Vue Pack Dev`

Name of progress bar of [WebpackBar](https://github.com/nuxt/webpackbar).

## API

### serve(options)
**Return:** `Promise<void>`

Run development server.

#### options
**Type:** [`Options`](#options)

Options.
npm package: @gluons/vue-pack-load-config
Description: A configuration loader for vue-pack.
Author: Saran Tanpituckpong
Latest version: 1.20.3

# vue-pack-load-config
![license](https://img.shields.io/github/license/gluons/vue-pack.svg?style=flat-square)
[![npm](https://img.shields.io/npm/v/@gluons/vue-pack-load-config.svg?style=flat-square)](https://www.npmjs.com/package/@gluons/vue-pack-load-config)
[![TSLint](https://img.shields.io/badge/TSLint-gluons-15757B.svg?style=flat-square)](https://github.com/gluons/tslint-config-gluons)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg?style=flat-square)](https://lernajs.io/)
[![Travis (.com)](https://img.shields.io/travis/com/gluons/vue-pack.svg?style=flat-square)](https://travis-ci.com/gluons/vue-pack)
[![Codacy grade](https://img.shields.io/codacy/grade/98523b5b7cd7435a8c71b296e84522f8.svg?style=flat-square)](https://www.codacy.com/app/gluons/vue-pack)
[![Known Vulnerabilities](https://snyk.io/test/github/gluons/vue-pack/badge.svg?targetFile=packages%2F%40gluons%2Fload-config%2Fpackage.json&style=flat-square)](https://snyk.io/test/github/gluons/vue-pack?targetFile=packages%2F%40gluons%2Fload-config%2Fpackage.json)

A configuration loader for [vue-pack](https://github.com/gluons/vue-pack).

> Using [JoyCon](https://github.com/egoist/joycon) under the hood.

## Installation

```bash
npm install --save-dev @gluons/vue-pack-load-config
# or
yarn add --dev @gluons/vue-pack-load-config
```

## Usage

```ts
import { Configuration } from '@gluons/vue-pack-types';
import loadConfig from '@gluons/vue-pack-load-config';

let config: Configuration;

loadConfig()
	.then(loadedConfig => {
		config = loadedConfig;
	})
	.catch(err => {
		console.error(err);
	});
```

## API

### loadConfig(privilegeConfig, configPath)
**Return:** `Promise<Configuration>`

Lookup and load `vue-pack` configuration from file.

**Configuration files:**
- vue-pack.config.js
- vue-pack.config.json
- vue-pack.config.yaml
- vue-pack.config.yml
- vue-pack.config.ts

#### privilegeConfig
**Type:** `Partial<Configuration> | Configuration`

High priority config to override config from config file.

#### configPath
**Type:** `string`

Path to config file
npm package: @gluons/vue-pack-splitchunks-plugin
Description: A vue-pack plugin to customize webpack's splitChunks.
Author: Saran Tanpituckpong
Latest version: 1.20.3

# vue-pack-splitchunks-plugin
![license](https://img.shields.io/github/license/gluons/vue-pack.svg?style=flat-square)
[![npm](https://img.shields.io/npm/v/@gluons/vue-pack-splitchunks-plugin.svg?style=flat-square)](https://www.npmjs.com/package/@gluons/vue-pack-splitchunks-plugin)
[![TSLint](https://img.shields.io/badge/TSLint-gluons-15757B.svg?style=flat-square)](https://github.com/gluons/tslint-config-gluons)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg?style=flat-square)](https://lernajs.io/)
[![Travis (.com)](https://img.shields.io/travis/com/gluons/vue-pack.svg?style=flat-square)](https://travis-ci.com/gluons/vue-pack)
[![Codacy grade](https://img.shields.io/codacy/grade/98523b5b7cd7435a8c71b296e84522f8.svg?style=flat-square)](https://www.codacy.com/app/gluons/vue-pack)
[![Known Vulnerabilities](https://snyk.io/test/github/gluons/vue-pack/badge.svg?targetFile=packages%2F%40gluons%2Fplugin-splitchunks%2Fpackage.json&style=flat-square)](https://snyk.io/test/github/gluons/vue-pack?targetFile=packages%2F%40gluons%2Fplugin-splitchunks%2Fpackage.json)

A [vue-pack](https://github.com/gluons/vue-pack) plugin to customize webpack's [splitChunks](https://webpack.js.org/configuration/optimization/#optimization-splitchunks).

## Installation

Require [vue-pack](https://www.npmjs.com/package/@gluons/vue-pack).

```bash
npm install --save-dev @gluons/vue-pack
# or
yarn add --dev @gluons/vue-pack
```

Then install this plugin.

```bash
npm install --save-dev @gluons/vue-pack-splitchunks-plugin
# or
yarn add --dev @gluons/vue-pack-splitchunks-plugin
```

## Usage

Add this plugin into `vue-pack` config.

**`vue-pack.config.js`**
```js
const splitChunks = require('@gluons/vue-pack-splitchunks-plugin');

const options = {
	// For all webpack's config
	tapAll(splitChunks) {
		// Do anything with `splitChunks`

		return splitChunks;
	},


	// For individual webpack's config
	tapCJS(splitChunks) {
		// Do anything with `splitChunks`

		return splitChunks;
	},
	tapESM(splitChunks) {
		// Do anything with `splitChunks`

		return splitChunks;
	},
	tapSSR(splitChunks) {
		// Do anything with `splitChunks`

		return splitChunks;
	}
	tapWeb(splitChunks) {
		// Do anything with `splitChunks`

		return splitChunks;
	}
};

module.exports = {
	plugins: [
		splitChunks(options)
	]
};
```
npm package: @gluons/vue-pack-types
Description: TypeScript types for vue-pack.
Author: Saran Tanpituckpong
Latest version: 1.20.3

# vue-pack-types
![license](https://img.shields.io/github/license/gluons/vue-pack.svg?style=flat-square)
[![npm](https://img.shields.io/npm/v/@gluons/vue-pack-types.svg?style=flat-square)](https://www.npmjs.com/package/@gluons/vue-pack-types)
[![TSLint](https://img.shields.io/badge/TSLint-gluons-15757B.svg?style=flat-square)](https://github.com/gluons/tslint-config-gluons)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg?style=flat-square)](https://lernajs.io/)
[![Travis (.com)](https://img.shields.io/travis/com/gluons/vue-pack.svg?style=flat-square)](https://travis-ci.com/gluons/vue-pack)
[![Codacy grade](https://img.shields.io/codacy/grade/98523b5b7cd7435a8c71b296e84522f8.svg?style=flat-square)](https://www.codacy.com/app/gluons/vue-pack)
[![Known Vulnerabilities](https://snyk.io/test/github/gluons/vue-pack/badge.svg?targetFile=packages%2F%40gluons%2Ftypes%2Fpackage.json&style=flat-square)](https://snyk.io/test/github/gluons/vue-pack?targetFile=packages%2F%40gluons%2Ftypes%2Fpackage.json)

[TypeScript](https://www.typescriptlang.org/) types for [vue-pack](https://github.com/gluons/vue-pack).

## Installation

```bash
npm install --save-dev @gluons/vue-pack-types
# or
yarn add --dev @gluons/vue-pack-types
```
npm package: @gluons/vue-up
Description: Bundle Vue.js library via Rollup.
Author: Saran Tanpituckpong
Latest version: 0.8.1

# vue-up
[![GitHub](https://img.shields.io/github/license/gluons/vue-up.svg?style=flat-square)](./LICENSE)
[![npm (scoped)](https://img.shields.io/npm/v/@gluons/vue-up.svg?style=flat-square)](https://www.npmjs.com/package/@gluons/vue-up)
[![ESLint Gluons](https://img.shields.io/badge/code%20style-gluons-9C27B0.svg?style=flat-square)](https://github.com/gluons/eslint-config-gluons)
[![Travis (.com)](https://img.shields.io/travis/com/gluons/vue-up.svg?style=flat-square)](https://travis-ci.com/gluons/vue-up)
[![Codacy grade](https://img.shields.io/codacy/grade/9ee4a8e1de6d4ad6b626f5fee0cec338.svg?style=flat-square)](https://www.codacy.com/app/gluons/vue-up)
[![Snyk Vulnerabilities for npm package](https://img.shields.io/snyk/vulnerabilities/npm/@gluons/vue-up.svg?style=flat-square)](https://snyk.io/test/npm/@gluons/vue-up)

🎀 Bundle [Vue.js](https://vuejs.org/) library via [Rollup](https://rollupjs.org/).

> Vue Up is created to suit my personal requirements.  
  But you can also use it if it meets your requirements. 🙂

## ⚙️ Installation

**Install via [npm](https://www.npmjs.com/):**

```bash
npm install --save-dev @gluons/vue-up
```

---

**Install via [Yarn](https://yarnpkg.com/):**

```bash
yarn add --dev @gluons/vue-up
```

## 📃 Documentation

See https://gluons.github.io/vue-up/
npm package: @gluque/node-utils
Description: This is a utility library for NodeJS, including: - Middlewares - Errors
Latest version: 1.0.27

# NodeJS Utils
#### (WIP)

This is a utility library for NodeJS, including:
- Middlewares
- Errors

TO DO:
- Logger


To install:

```npm install @gluque/node-utils```

```yarn add @gluque/node-utils```
npm package: @glutoken/uniswap-sdk
Description: 🛠 An SDK for building applications on top of Uniswap.
Latest version: 0.0.1

# Uniswap SDK

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Actions Status](https://github.com/Uniswap/uniswap-sdk/workflows/CI/badge.svg)](https://github.com/Uniswap/uniswap-sdk)
[![npm version](https://img.shields.io/npm/v/@uniswap/sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/sdk@latest)

In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/Uniswap/uniswap-sdk.git
```

Move into the uniswap-sdk working directory

```sh
cd uniswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @gluwa/evm-network-test
Description: empowers developers to rapidly assess both the compatibility and usability of EVM
Latest version: 0.2.9

# Welcome to Gluwa-EVM-Network-Evaluation

## How to install?

- run `npm i -g` to install this repo

## Run basic test

- run `basicTest --rpc rpc-string`.
  For example `basicTest --rpc http://4.246.123.154:21010` will run the test at RPC url `http://4.246.123.154:21010`
- You can provide a private key string to run the test. For example: `basicTest --rpc http://4.246.123.154:21010 --private-key your-private-key`. This will use your wallet to deploy and run the tests.
- If you are running in a network that requires fee to send transaction, you must provide a private key which has ETH in wallet

## Run gas consummation test

- run `gasTest --rpc rpc-string`
- The test will run inside the provided rpc and the hardhat vm, record the gas usage in each transaction and write into a csv file
- Finally, compare both csv file and check if gas used difference. If difference is < 2% is considered success
- Remove all written files once test finished

## Run state override test 

- run `npx hardhat test ./test/stateOverride.test.js`
- The test will help to check if the network support state overidding which is useful for simulating transaction
- You can test your desired network by adding the network in hardhat.config.js and run with `npx hardhat test ./test/stateOverride.test.js  --network {network-name}`


## Note

- Be careful that this code will write your input json rpc and private key into `hardhat.config.json`. It will remove the data once test is completed but if you force terminate the program your sensitive will last in the `hardhat.config.json`. Be careful your data to be exposed.
npm package: @gluwa/foundry-test-utility
Description: Test utility for Foundry
Latest version: 0.0.2

[![license](https://img.shields.io/github/license/jamesisaac/react-native-background-task.svg)](https://opensource.org/licenses/MIT)
[![npm version](https://badge.fury.io/js/foundry-test-utility.svg)](https://badge.fury.io/js/foundry-test-utility)

# Foundry-Test-Utility

This package aim to deliver a set of reusable contracts and helper function that can be reused and override in your own [Foundry](https://github.com/foundry-rs) tests.

## To add yo your project

First install the package using NPM, Yarn or Forge Install.

```
npm i foundry-test-utility
```

or
```
yarn add foundry-test-utility
```

or
```
foundry install marc-aurele-besner/foundry-test-utility
```

Then add this package path in remapping.text

For NPM/Yarn
```
foundry-test-utility/contracts/=node_modules/foundry-test-utility/contracts
```

For Forge Install
```
foundry-test-utility/contracts/=libs/foundry-test-utility/contracts

```

## Reference

This repository include helper contracts from:

- [Forge-std](https://github.com/foundry-rs/forge-std)
- [DS-Test](https://github.com/dapphub/ds-test)
npm package: @gluwa/gluwa-nft
Description: Gluwa NFT Contract
Author: Gluwa
Latest version: 0.1.27

# Gluwa-NFT

## Setup

### Install Dependencies

```bash
pnpm install
```

### Compile Contracts

```bash
forge compile
```

### Run test with Foundry

```bash
forge test
```

### Produce coverage report

```bash
pnpm coverage
```

## Documentation

-   [Hardhat Documentation](https://hardhat.org/getting-started/)
-   [Foundry Documentation](https://book.getfoundry.sh/index.html)
npm package: @gluwa/hardhat-test-helper
Description: Collection of useful test helper function for hardhat tests.
Latest version: 0.0.3


[![license](https://img.shields.io/github/license/jamesisaac/react-native-background-task.svg)](https://opensource.org/licenses/MIT)
[![npm version](https://badge.fury.io/js/hardhat-test-utility.svg)](https://badge.fury.io/js/hardhat-test-utility)

# @gluwa/hardhat-test-helper

```

__                  __ __           __          __                __                 __   __ __ __ __         
|  |--.---.-.----.--|  |  |--.---.-.|  |_ ______|  |_.-----.-----.|  |_ ______.--.--.|  |_|__|  |__|  |_.--.--.
|     |  _  |   _|  _  |     |  _  ||   _|______|   _|  -__|__ --||   _|______|  |  ||   _|  |  |  |   _|  |  |
|__|__|___._|__| |_____|__|__|___._||____|      |____|_____|_____||____|      |_____||____|__|__|__|____|___  |
                                                                                                        |_____|
```

## Install hardhat-test-utility with npm link
```
git clone <this repo>
cd hardhat-test-utility
npm install
npm link

cd <your project>
npm link hardhat-test-utility
```
## Directories
 - [src/](./src/)

 - [.prettierrc](./.prettierrc)
 - [CONTRIBUTING.md](./CONTRIBUTING.md)
 - [LICENSE](./LICENSE)
 - [package.json](./package.json)
 - [README.md](./README.md)
 - [tsconfig.json](./tsconfig.json)
 - [tslint.json](./tslint.json)



Import in your hardhat.config.js or hardhat.config.ts

## Use hardhat-test-utility
```
import { testUtility } from 'hardhat'
```
or 
```
const { testUtility } = require('hardhat')
```
## Directory Tree
```
@gluwa/hardhat-test-helper/
│   .prettierrc
│   CONTRIBUTING.md
│   LICENSE
│   package.json
│   README.md
│   tsconfig.json
│   tslint.json
└─── src/
   │   index.ts
   │   README.md
   │   TestUtility.ts
   │   type-extensions.ts
   └─── utils/
```
## Don't hesitate to contribute to this project.
npm package: @gluwa/sc-contracts
Description: Smart Contracts for the Gluwa SC-DApp and other Gluwa SC projects
Author: Gluwa
Latest version: 0.0.1

# @gluwa/sc-uikit

## Install

```bash
yarn add @gluwa/sc-uikit -D
```

## Usage

```tsx
import React, { Component } from '@gluwa/sc-uikit'

import MyComponent from '@gluwa/sc-uikit'
import 'sc-ui/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```
npm package: @gluwa/sc-uikit
Description: UI Kit for the Gluwa SC-DApp and other Gluwa SC projects
Author: Gluwa
Latest version: 0.0.3

# @gluwa/sc-uikit

## Install

```bash
yarn add @gluwa/sc-uikit -D
```

## Usage

```tsx
import React, { Component } from '@gluwa/sc-uikit'

import MyComponent from '@gluwa/sc-uikit'
import 'sc-ui/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```
npm package: @gluwa/sc-web3-uikit
Description: Web3 UI Kit for the Gluwa SC-DApp and other Gluwa SC projects
Author: Gluwa
Latest version: 0.0.8

# @gluwa/sc-web3-uikit

## Install

```bash
yarn add @gluwa/sc-web3-uikit -D
```

## Usage

```tsx
import React, { Component } from 'react'

import MyComponent from '@gluwa/sc-web3-uikit'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```
npm package: @gluwa/sc-web3-uikit-airdrop
Description: Web3 UI Kit for the Airdrop contract to be use by the SC-DApp and other Gluwa SC projects
Author: Gluwa
Latest version: 0.0.5

# @gluwa/sc-web3-uikit-gate

## Install

```bash
yarn add @gluwa/sc-web3-uikit-gate -D
```

## Usage

```tsx
import React, { Component } from 'react'

import MyComponent from '@gluwa/sc-web3-uikit-gate'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```
npm package: @gluwa/sc-web3-uikit-erc20
Description: Web3 UI Kit for EC20 contract to be use by the SC-DApp and other Gluwa SC projects
Author: Gluwa
Latest version: 0.0.4

# @gluwa/sc-web3-uikit-erc20

## Install

```bash
yarn add @gluwa/sc-web3-uikit-erc20 -D
```

## Usage

```tsx
import React, { Component } from 'react'

import MyComponent from '@gluwa/sc-web3-uikit-erc20'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```
npm package: @gluwa/sc-web3-uikit-gate
Description: Web3 UI Kit for the GATE contract to be use by the SC-DApp and other Gluwa SC projects
Author: Gluwa
Latest version: 0.0.4

# @gluwa/sc-web3-uikit-gate

## Install

```bash
yarn add @gluwa/sc-web3-uikit-gate -D
```

## Usage

```tsx
import React, { Component } from 'react'

import MyComponent from '@gluwa/sc-web3-uikit-gate'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```
npm package: @gluwa/sc-web3-uikit-gateway-dao
Description: Web3 UI Kit for the Gateway DAO contract to be use by the SC-DApp and other Gluwa SC projects
Author: Gluwa
Latest version: 0.0.4

# @gluwa/sc-web3-uikit-gateway-dao

## Install

```bash
yarn add @gluwa/sc-web3-uikit-gateway-dao -D
```

## Usage

```tsx
import React, { Component } from 'react'

import MyComponent from '@gluwa/sc-web3-uikit-gateway-dao'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```
npm package: @gluwa/sc-web3-uikit-gtd
Description: Web3 UI Kit for the GTD contract to be use by the SC-DApp and other Gluwa SC projects
Author: Gluwa
Latest version: 0.0.4

# @gluwa/sc-web3-uikit-gtd

## Install

```bash
yarn add @gluwa/sc-web3-uikit-gtd -D
```

## Usage

```tsx
import React, { Component } from 'react'

import MyComponent from '@gluwa/sc-web3-uikit-gtd'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```
npm package: @gluwa/sc-web3-uikit-investor-dao
Description: Web3 UI Kit for the InvestorDAO contract to be use by the SC-DApp and other Gluwa SC projects
Author: Gluwa
Latest version: 0.0.3

# @gluwa/sc-web3-uikit-investor-dao

## Install

```bash
yarn add @gluwa/sc-web3-uikit-investor-dao -D
```

## Usage

```tsx
import React, { Component } from 'react'

import MyComponent from '@gluwa/sc-web3-uikit-gtd'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```
npm package: @gluwa/sc-web3-uikit-multisig-wallet
Description: Web3 UI Kit for the Multisig Wallet contract to be use by the SC-DApp and other Gluwa SC projects
Author: Gluwa
Latest version: 0.0.4

# @gluwa/sc-web3-uikit-multisig-wallet

## Install

```bash
yarn add @gluwa/sc-web3-uikit-multisig-wallet -D
```

## Usage

```tsx
import React, { Component } from 'react'

import MyComponent from '@gluwa/sc-web3-uikit-multisig-wallet'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```
npm package: @gluwa/slack-ethers-events-reporting
Description: Reusable function to generate slack events reports
Author: Gluwa
Latest version: 0.0.1


[![license](https://img.shields.io/github/license/jamesisaac/react-native-background-task.svg)](https://opensource.org/licenses/MIT)
[![npm version](https://badge.fury.io/js/@gluwa/slack-ethers-events-reporting.svg)](https://badge.fury.io/js/@gluwa/slack-ethers-events-reporting)

# @gluwa/slack-ethers-events-reporting

```

    _            _               _   _                                              _                                        _   _             
    | |          | |             | | | |                                            | |                                      | | (_)            
 ___| | __ _  ___| | ________ ___| |_| |__   ___ _ __ ___ ______ _____   _____ _ __ | |_ ___ ______ _ __ ___ _ __   ___  _ __| |_ _ _ __   __ _ 
/ __| |/ _` |/ __| |/ /______/ _ \ __| '_  / _ \ '__/ __|______/ _ \ \ / / _ \ '_ \| __/ __|______| '__/ _ \ '_ \ / _ \| '__| __| | '_ \ / _` |
\__ \ | (_| | (__|   <      |  __/ |_| | | |  __/ |  \__ \     |  __/\ V /  __/ | | | |_\__ \      | | |  __/ |_) | (_) | |  | |_| | | | | (_| |
|___/_|\__,_|\___|_|\_\      \___|\__|_| |_|\___|_|  |___/      \___| \_/ \___|_| |_|\__|___/      |_|  \___| .__/ \___/|_|   \__|_|_| |_|\__, |
                                                                                                            | |                            __/ |
                                                                                                            |_|                           |___/ 

```

## Install @gluwa/slack-ethers-events-reporting
```
npm install @gluwa/slack-ethers-events-reporting
```
## Directories
 - [src/](./src/)

 - [.prettierrc](./.prettierrc)
 - [CONTRIBUTING.md](./CONTRIBUTING.md)
 - [package.json](./package.json)
 - [README.md](./README.md)
 - [tsconfig.json](./tsconfig.json)
 - [tslint.json](./tslint.json)


## Use @gluwa/slack-ethers-events-reporting

```
import queryAndReportEvents from '@gluwa/slack-ethers-events-reporting'

await queryAndReportEvents(
    contractName: string,
    contractAddress: string,
    contractAbi: JsonFragment[],
    rpcUrl: string,
    networkName: string,
    networkChainId: number,
    slackToken: string,
    slackConversationId: string,
    queryEventsTimeFrame = '24h' as string
)
```

## Directory Tree
```
@gluwa/slack-ethers-events-reporting/
│   .prettierrc
│   CONTRIBUTING.md
│   package.json
│   README.md
│   tsconfig.json
│   tslint.json
└─── src/
   │   index.ts
   │   README.md
   │   schema.ts
   │   types.ts
   │   utils.ts
```
## Don't hesitate to contribute to this project.
npm package: @gluwa/transaction-cancel-tool
Description: Tool to cancel transactions on a blockchain
Latest version: 0.0.1

[![license](https://img.shields.io/github/license/jamesisaac/react-native-background-task.svg)](https://opensource.org/licenses/MIT)

# Transaction-Retry Tool

This Hardhat plugin add task and function to cancel transaction

## Tasks

```
npx hardhat cancel
```

### Task: cancel

Usage: hardhat [GLOBAL OPTIONS] cancel --tx-hash <STRING> --signer-key 
<STRING>

OPTIONS:

- --tx-hash             The transaction hash of the transaction to cancel
- --signer-key          The signer private key (or type hardhat to use hardhat.config private key)
- --gas-price           Specify a gas price to cancel the transaction with (default: current network gas price) (default: "")

## Functions

Function allow you to use the transaction cancel tool

```
    const { transactionCancel } = require('hardhat');

    transactionCancel.cancel(
        txHash: string,
        signerKey: string,
        gasPrice?: string
    )

```
npm package: @gluwa/tron-contract-formatter
Description: Tool to format a contract to then be deployed on Tron network
Author: Gluwa
Latest version: 0.0.1

[![license](https://img.shields.io/github/license/jamesisaac/react-native-background-task.svg)](https://opensource.org/licenses/MIT)
[![npm version](https://badge.fury.io/js/tron-contract-formatter.svg)](https://badge.fury.io/js/tron-contract-formatter)

# Tron Contract Formatter

A Hardhat plugin that exports a task call format and takes a contract path and a output path. It flattens the contract and formats it to be deployed on the Tron network.

## Installation

To install the Tron Contract Formatter, run the following command in your terminal:

## How to install this package

### 1. Install this package

With NPM

```shell
npm install tron-contract-formatter --save-dev
```

Or with Yarn

```shell
yarn add tron-contract-formatter --save-dev
```

### 2. Import/Require this package in your hardhat.config.js/.ts

Inside inside hardhat.config.js

```shell
require("tron-contract-formatter");
```

or inside hardhat.config.ts (Typescript)

```shell
import 'tron-contract-formatter'
```

### Other option

<details>

<summary>Clone this repository and create a symlink</summary>

```shell
git clone https://github.com/marc-aurele-besner/tron-contract-formatter

cd tron-contract-formatter

npm install

npm run build

npm link
```

in the hardhat project, you want to use this plugin

```shell
npm link tron-contract-formatter
```

</details>

## Tasks

```shell
npx hardhat format
```

### Task: deploy-contract

Usage: hardhat [GLOBAL OPTIONS] format [--contract <STRING>] [--output <STRING>]

OPTIONS:

--contract The contract to format (default: "contracts/MyContract.sol")
--output The output formatted contract (default: "Formatted.sol")

## Functions

Function to format the contract

```shell
    const { tronContractFormatter } = require('hardhat');

    tronContractFormatter.format(
        contract: string,
        output: string
    )
```
npm package: @gluwa/validator-rewards
Description: CLI to list unpaid staking eras (in points) for a validator stash; works across legacy and paged-rewards runtimes.
Latest version: 0.3.0

# @gluwa/validator-rewards

List **unpaid staking eras (in points)** for a validator on Creditcoin/Substrate runtimes.  
Works across **legacy** and **paged-rewards** staking runtimes and tells you how many **pages** remain to claim for each era.

> This is a read-only tool: it queries chain state; it doesn’t hold keys or submit transactions.

---

## Features

- **Interactive network picker:** Mainnet / Testnet / Custom
- **Validator stash** prompt (or pass via `--stash`)
- **Runtime-aware logic**
    - New (paged) staking: uses `claimedRewards` and `erasStakersOverview.pageCount`
    - Old (legacy) staking: falls back to `staking.ledger` legacy claimed list
- **Output columns:** `era`, `points`, `pagesClaimed`, `pagesToClaim`, `totalPages`

---

## Quick start

Run without installing:

```bash
npx @gluwa/validator-rewards
```

### Global install:

```bash
npm i -g @gluwa/validator-rewards
validator-rewards
```

### Building from source:

```bash
git clone https://github.com/gluwa/validator-rewards.git
cd validator-rewards
npm i
npm run exec
```

You’ll be asked to select a network:

- Mainnet → `wss://mainnet3.creditcoin.network/ws`

- Testnet → `wss://rpc.cc3-testnet.creditcoin.network/ws`

- Custom → type any `ws://` or `wss://` network URL (prefilled from `.env` if present)

Then enter a validator stash (SS58). You’ll see a table like:

```perl
┌─────────┬──────┬────────┬──────────────┬─────────────┬────────────┐
│ (index) │ era  │ points │ pagesClaimed │ pagesToClaim│ totalPages │
├─────────┼──────┼────────┼──────────────┼─────────────┼────────────┤
│    0    │ 578  │  1234  │   '0'        │     1       │     2      │
│    1    │ 579  │  987   │   '—'        │     1       │     1      │
└─────────┴──────┴────────┴──────────────┴─────────────┴────────────┘
```
### CLI usage
```bash
validator-rewards [--stash <SS58>]
```
### Flags
 ```
 --stash — provide a validator stash up front (skips stash prompt).
  ```

### Environment
If you choose Custom network, the prompt is prefilled from .env (if present):

```dotenv
WS_URL=wss://your-node.example/ws
```