# serverless-config-json

> Serverless plugin that copy a config file to a folder

Latest version **1.0.3** (published 2021-01-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install serverless-config-json
pnpm add serverless-config-json
yarn add serverless-config-json
bun add serverless-config-json
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2021-01-22 |
| First published | 2021-01-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jo Dybdal |
| Maintainers | dybbis |

## Links

- npm: https://www.npmjs.com/package/serverless-config-json
- Repository: https://github.com/dybbis/serverless-config-json
- Homepage: https://github.com/dybbis/serverless-config-json#readme
- Issues: https://github.com/dybbis/serverless-config-json/issues
- npm.io page: https://npm.io/package/serverless-config-json

## Recent versions

- 1.0.3 (latest) — 2021-01-22
- 1.0.2 — 2021-01-22
- 1.0.1 — 2021-01-22

## README

# serverless-config-json
Plugin to Serverless Framework that copy a config file to a folder after the resources are created.

Used in combination with `serverless-cloudfront-invalidate` and `serverless-s3-deploy`

## Install

Run `npm install` in your Serverless project.

```sh
$ npm install --save-dev serverless-config-json
```

## Setup

Add the plugin to your serverless.yml file

```yaml
plugins:
  - serverless-config-json
  - serverless-cloudfront-invalidate
  - serverless-s3-deploy
```

Add configuration to custom in your serverless.yml

```yaml
custom:
  configJson:
    from: 'config'
    to: 'dist'
```

This will copy the file `./config/[STAGE].json` to `./dist/config.json`

---
_Source: https://npm.io/package/serverless-config-json · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
