@webosbrew/webos-packager-plugin
TypeScript icon, indicating that this package has built-in type declarations

2.0.4 • Public • Published

@webosbrew/webos-packager-plugin

Pack applications to IPK on the fly.

Example

HOC
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
import { WebOSPackagerPlugin } from '@webosbrew/webos-packager-plugin';

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

Readme

Keywords

none

Package Sidebar

Install

npm i @webosbrew/webos-packager-plugin

Weekly Downloads

1

Version

2.0.4

License

MIT

Unpacked Size

16.9 kB

Total Files

15

Last publish

Collaborators

  • mariotaku