Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jerryjappinen/nativefier-tools
Wrapper build script in JS for projects using Nativefier
https://github.com/jerryjappinen/nativefier-tools
Last synced: about 2 months ago
JSON representation
Wrapper build script in JS for projects using Nativefier
- Host: GitHub
- URL: https://github.com/jerryjappinen/nativefier-tools
- Owner: jerryjappinen
- Created: 2019-05-01T10:59:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-01T12:14:09.000Z (over 5 years ago)
- Last Synced: 2024-11-28T14:48:07.867Z (about 2 months ago)
- Language: JavaScript
- Size: 175 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nativefier tools
Wrapper build script for projects using [Nativefier](https://github.com/jiahaog/nativefier).
## Installation
```sh
npm install --save-dev nativefier-tools
```## Usage
In your project, create a script file that you can execute with Node. You can import this library and use the build command to execute Nativefier.
The build command accepts the [Nativefier config](https://github.com/jiahaog/nativefier/blob/master/docs/api.md#programmatic-api) as a parameter:
```js
const nativefierTools = require('./nativefier-tools')nativefierTools.build({
// Nativefier config here
name: 'MyApp',
// ...// Extra options
appVersion, // Default: 1.0.0
filenameSuffix: ' Foo' // Optional
})
```