12.0.0 • Published 3 years ago

grunt-electron v12.0.0

Weekly downloads
407
License
MIT
Repository
github
Last release
3 years ago

grunt-electron (CI)

Package Electron apps using electron-packager

Issues should be reported on the electron-packager issue tracker.

Please think hard if you really need grunt for this. A simple vanilla node build script would probably be better.

This is mostly intended for those that have an existing grunt setup and want to integrate Electron app packaging.

Install

$ npm install --save-dev grunt-electron

Usage

require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks

grunt.initConfig({
	electron: {
		macosBuild: {
			options: {
				name: 'Fixture',
				dir: 'app',
				out: 'dist',
				version: '1.3.5',
				platform: 'darwin',
				arch: 'x64'
			}
		}
	}
});

grunt.registerTask('default', ['electron']);

Options

See the electron-packager options.

In addition you need to supply the name of your app and the dir where your app is located.

License

MIT © Sindre Sorhus

12.0.0

3 years ago

11.0.0

5 years ago

10.0.0

5 years ago

9.0.1

6 years ago

9.0.0

6 years ago

8.0.0

6 years ago

7.0.0

6 years ago

6.0.0

7 years ago

5.0.0

8 years ago

4.0.0

8 years ago

3.0.0

8 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.0.0

9 years ago