Skip to content

Commit

Permalink
Create new package
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilwanner committed Jul 28, 2020
1 parent c97e59d commit df218df
Show file tree
Hide file tree
Showing 11 changed files with 6,974 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/gifsicle/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "../../.babelrc"
}
2 changes: 2 additions & 0 deletions packages/gifsicle/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
8 changes: 8 additions & 0 deletions packages/gifsicle/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "../../.eslintrc.json",
"rules": {
"import/no-unresolved": ["error", {
"ignore": ["/gifsicle$"]
}]
}
}
1 change: 1 addition & 0 deletions packages/gifsicle/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM trzeci/emscripten:1.39.18-upstream
21 changes: 21 additions & 0 deletions packages/gifsicle/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Cyril Wanner

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.
38 changes: 38 additions & 0 deletions packages/gifsicle/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# `@wasm-codecs/gifsicle` [![npm version](https://badgen.net/npm/v/@wasm-codecs/gifsicle)](https://www.npmjs.com/package/@wasm-codecs/gifsicle) [![license](https://badgen.net/github/license/cyrilwanner/wasm-codecs)](https://github.com/cyrilwanner/wasm-codecs/blob/master/LICENSE) [![downloads](https://badgen.net/npm/dt/@wasm-codecs/gifsicle)](https://www.npmjs.com/package/@wasm-codecs/gifsicle)

> Gifsicle WebAssembly Codec
## Table of contents

1. [Installation](#installation)
1. [Usage](#usage)
1. [API](#api)
1. [Examples](#examples)
1. [License](#license)

## Installation

```bash
npm install @wasm-codecs/gifsicle
```

**Requirements:**
- Node.js 10 or later

## Usage

> TODO
## API

> TODO
## Examples

> TODO
## License

Licensed under the [MIT](https://github.com/cyrilwanner/wasm-codecs/blob/master/LICENSE) license.

© Copyright Cyril Wanner
7 changes: 7 additions & 0 deletions packages/gifsicle/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

set -e

cd /build

echo "Building wasm-codecs-gifsicle.."
4 changes: 4 additions & 0 deletions packages/gifsicle/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
testEnvironment: 'node',
testMatch: ['**/__tests__/**/*.test.[jt]s?(x)'],
};
Loading

0 comments on commit df218df

Please sign in to comment.