# serverless-simple-parcel

> A Serverless plugin to bundle your functions and assets with Parcel Bundler

Latest version **2.0.2** (published 2019-01-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install serverless-simple-parcel
pnpm add serverless-simple-parcel
yarn add serverless-simple-parcel
bun add serverless-simple-parcel
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2019-01-30 |
| First published | 2018-12-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 8.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Alexander Wong |
| Maintainers | awwong1 |
| Keywords | serverless, serverless plugin, typescript, babel, parcel, aws lambda |

## Links

- npm: https://www.npmjs.com/package/serverless-simple-parcel
- Repository: https://github.com/awwong1/serverless-simple-parcel
- npm.io page: https://npm.io/package/serverless-simple-parcel

## Dependencies (1)

- [parcel-bundler](https://npm.io/package/parcel-bundler.md) ^1.10.3

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 2.0.2 (latest) — 2019-01-30
- 2.0.1 — 2019-01-02
- 2.0.0 — 2018-12-21

## README

# serverless-simple-parcel

[![Travis](https://shields.alexander-wong.com/travis/awwong1/serverless-simple-parcel.svg?style=flat-square)](https://travis-ci.org/awwong1/serverless-simple-parcel)
[![npm](https://shields.alexander-wong.com/npm/v/serverless-simple-parcel.svg?style=flat-square)](https://www.npmjs.com/package/serverless-simple-parcel)

Serverless plugin for zero-config [parcel.js](https://parceljs.org/) bundling.

## Install

```bash
# yarn
yarn add --dev serverless-simple-parcel
# npm
npm install --save-dev serverless-simple-parcel
```

Add the plugin to your `serverless.yml`:

```yml
plugins:
  - serverless-simple-parcel

custom:
  parcel:
    options:
      outDir: dist # options for all parcel entries
    entries:
      - file: src/public/index.html
        outDir: dist/src/public # entry specific options override global options
        minify: true
        target: browser
      - file: src/ssr.ts
        target: node
        outFile: handler.js
```

Supported serverless commands include:

```bash
$ serverless offline start # serverless-offline (watch)
$ serverless deploy
$ serverless invoke local 
```

A full list of options can be found on [parcel's api docs](https://parceljs.org/api.html)

## Acknowledgements

Forked from [johnagan/serverless-parcel](https://github.com/johnagan/serverless-parcel).

## License

This is [free software](https://www.gnu.org/philosophy/free-sw.en.html), licensed under [MIT License](LICENSE.md).

```text
The MIT License

Copyright (c) 2018 Alexander Wong

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
```

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