All Projects â†’ railsware â†’ Bozon

railsware / Bozon

Licence: mit
🛠 Command line tool for building, testing and publishing modern Electron applications

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Bozon

Generate
A new command line tool and developer framework for scaffolding out GitHub projects. Generate offers the robustness and configurability of Yeoman, the expressiveness and simplicity of Slush, and more powerful flow control and composability than either.
Stars: ✭ 238 (-65.36%)
Mutual labels:  boilerplate, scaffold, scaffolding
React Starter Kit
React Starter Kit — front-end starter kit using React, Relay, GraphQL, and JAM stack architecture
Stars: ✭ 21,060 (+2965.5%)
Mutual labels:  webpack, boilerplate, scaffolding
Electron Nuxt
⚡ An Electron & Nuxt.js / Vue.js quick start boilerplate with vue-cli scaffolding, electron-builder, unit/e2e testing, vue-devtools
Stars: ✭ 452 (-34.21%)
Mutual labels:  electron-builder, boilerplate, scaffolding
React Cool Starter
😎 🐣 A starter boilerplate for a universal web app with the best development experience and a focus on performance and best practices.
Stars: ✭ 1,083 (+57.64%)
Mutual labels:  webpack, boilerplate, scaffolding
Alpha
Craft your own web-based chatbot
Stars: ✭ 113 (-83.55%)
Mutual labels:  webpack, boilerplate, scaffolding
Baumeister
👷 The aim of this project is to help you to build your things. From Bootstrap themes over static websites to single page applications.
Stars: ✭ 171 (-75.11%)
Mutual labels:  webpack, boilerplate, scaffold
Create Elm App
🍃 Create Elm apps with zero configuration
Stars: ✭ 1,650 (+140.17%)
Mutual labels:  webpack, boilerplate, scaffolding
Electron Vue
An Electron & Vue.js quick start boilerplate with vue-cli scaffolding, common Vue plugins, electron-packager/electron-builder, unit/e2e testing, vue-devtools, and webpack.
Stars: ✭ 14,610 (+2026.64%)
Mutual labels:  webpack, electron-builder, boilerplate
React Mobx Typescript Boilerplate
A bare minimum frontend boilerplate with React 16.7, Typescript 3.2 and Webpack 4
Stars: ✭ 378 (-44.98%)
Mutual labels:  webpack, boilerplate
Preact Starter
Webpack3 boilerplate for building SPA / PWA / offline front-end apps with Preact
Stars: ✭ 384 (-44.1%)
Mutual labels:  webpack, boilerplate
X Build
🖖 Customizable front-end engineering scaffolding tools
Stars: ✭ 436 (-36.54%)
Mutual labels:  webpack, scaffolding
Wxapp Boilerplate
使用 webpack, babel, scss 开发的微信/支付宝小程序项目脚手架
Stars: ✭ 367 (-46.58%)
Mutual labels:  webpack, boilerplate
Js Library Boilerplate Basic
Javascript Minimal Starter Boilerplate - Webpack 5 🚀, Babel 7, UMD, Unit Testing
Stars: ✭ 354 (-48.47%)
Mutual labels:  webpack, boilerplate
Webpack Boilerplate
A minimal webpack 5 boilerplate with only Babel, SASS and lodash (optional) on board
Stars: ✭ 404 (-41.19%)
Mutual labels:  webpack, boilerplate
Pwa
An opinionated progressive web app boilerplate
Stars: ✭ 353 (-48.62%)
Mutual labels:  webpack, boilerplate
Chrome Extension React Typescript Boilerplate
🔨 A boilerplate project to quickly build a Chrome extension using TypeScript and React (built using webpack).
Stars: ✭ 347 (-49.49%)
Mutual labels:  webpack, boilerplate
Delon
Delon is a set of essential modules for ng-alain. https://github.com/ng-alain/ng-alain/issues
Stars: ✭ 586 (-14.7%)
Mutual labels:  scaffold, scaffolding
Webpack React Redux
A boilerplate for playing around with react, redux and react-router with the help of webpack.
Stars: ✭ 612 (-10.92%)
Mutual labels:  webpack, boilerplate
Vue Crud
Vue.js based REST-ful CRUD system
Stars: ✭ 629 (-8.44%)
Mutual labels:  webpack, boilerplate
Secure Electron Template
The best way to build Electron apps with security in mind.
Stars: ✭ 623 (-9.32%)
Mutual labels:  webpack, boilerplate

bozon

Command line tool for building, testing and publishing modern Electron applications

npm version img

Bozon is a simple, easy to use tool that unifies the existing build tools for Electron development. Simplify building, compiling, running, testing, and packaging your Electron applications.

Features

  • Scaffolding - Generate ready to use project structure for your new Electron application.
  • Running - Run your electron application with Hot Reload in development environment.
  • Testing - Build Application for test env and run feature tests for your Electron application.
  • Packaging - Build, package and publish your Electron app for Mac, Windows and Linux platforms.

Bozon uses Webpack to bundle source code for main and renderer processes as well as preload script. It adds webpack.config.js file to your project so that you can further configure webpack, add new rules, loaders etc. Jest along with Spectron are used to run your unit and feature tests within real Electron application. For packaging and publishing applications bozon uses electron-builder under the hood.

img

Installation

npm install -g bozon

Bozon tool should be installed globally in order to be used for all your electron apps.

Scaffolding

Then generate your new project:

bozon new [name]

This will create a new directory [name] produce the following file structure:

  • Use --skip-install option if you want to skip running npm install
  |--config/
  |--resources/
  |--src/
  |  |--main/
  |  |  |--index.js
  |  |--preload/
  |  |  |--index.js
  |  |--renderer/git 
  |  |  |--index.html
  |  |  |--images/
  |  |  |--stylesheets/
  |  |  |--javascripts/
  |  |  |  |--index.js
  |--test/
  |--package.json

Starting an application

bozon start

This will compile Application source code to ./builds/development directory and run your application from it.

Configuration

Bozon provides a way to define environment specific and platform specific configuration options. These multiple config files are being merged into one single config object during build. This config object is accessible via CONFIG variable in main process files of your application, so that you can use it in your code.

  |--config/
  |  |--settings.json
  |  |--environments/
  |  |  |--development.json
  |  |  |--production.json
  |  |  |--test.json
  |  |--platforms/
  |  |  |--mac.json
  |  |  |--linux.json
  |  |  |--windows.json

Testing

Bozon is using Jest and Spectron for testing Electron applications. Both unit and integration tests should go to ./test directory. Simply execute for running tests:

bozon test

Packaging application

Packaging Electron application is done by electron-builder using settings in defined in package.json under build section. Application source code is being compiled to ./builds/production/ directory, and packaged versions for different platforms go to ./packages directory.

bozon package [mac|windows|linux]

License

MIT Š Alex Chaplinsky

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].