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

https://github.com/webosbrew/webos-packager-plugin

Create IPK file from emitted files. Targeted to webOS devices.
https://github.com/webosbrew/webos-packager-plugin

Last synced: about 1 year ago
JSON representation

Create IPK file from emitted files. Targeted to webOS devices.

Awesome Lists containing this project

README

          

# @webosbrew/webos-packager-plugin

Pack applications to IPK on the fly.

### Example

##### HOC

```typescript
import { hoc } from '@webosbrew/webos-packager-plugin';

export default hoc({
id: 'org.acme.product',
version: '1.0.0',
options: {
// if you want to publish app in homebrew channel repo
emitManifest: true,
manifest: {
title: 'ACME Goods',
description: '',
iconUrl: '',
sourceUrl: '',
},
},
app: {
id: 'org.acme.product',
// ... webpack configuation
},
services: [
{
id: 'org.acme.product.service',
// ... webpack configuation
},
// ... extra services
],
});
```

##### Plugin

```typescript
import { WebOSPackagerPlugin } from '@webosbrew/webos-packager-plugin';

export default {
// ... webpack configuation
plugins: [
new WebOSPackagerPlugin({
id: 'com.example.app',
version: '1.0.0',
}),
],
};
```