GithubHelp home page GithubHelp logo

radiant-js's Introduction

Radiant.JS

Gitter Dependencies img img Known Vulnerabilities XO code style Unix Status Windows Status

Motivation

To create a game editor utilizing Javascript and Electron; building ontop of the shoulders of giants.

Completed / Planned Feature List

  • Electron Installation and Setup
  • Mithril Framework w/JSX support
  • Babel w/ES6 + 7 support
  • Spectron (Electron Functional Testing)
  • Ava (Concurrent Test Runner)
  • Windows Releases Automated (Appveyor CI)
  • Unix (Linux / OSX) Releases Automated (Travis CI)
  • Yeoman Scaffolding Support (On Hold)
  • Webpack Integration
  • Winston Logger Support

Developing

The below should over a no bullshit setup experience if followed; otherwise open an issue and let me know what you encountered.

First Time Setup

The below are global tools that must be installed to build / package this application

NodeJS :: version must be >= 6.6.0

Electron Setup :: npm install -g electron

Ava :: npm install -g ava

Run-All :: npm install -g npm-run-all

Project Setup :: npm install

Build Scripts

Start application in prod mode :: npm start

Start application in dev mode :: npm run-script start-dev

Build application :: npm run-script build

Deploy application :: npm run-script deploy

Patterns and Practices

Below are the basic towards how the project is setup and in general just how things work.

Project Directory Structure Overview

All test scripts are to go to tests/** and be suffixed with .test.js ie. FooBar.test.js

Anything related to UI for the application goes into app/renderer/**

Anything related to just general purpose work goes into app/main/**

Branching / Merging is Gitflow with two defined core branches

  • master :: Stable Release (Build that passed everything)

  • stable :: Nightly Release (Build that passed automated tests)

  • latest :: Unstable Release (Purely staged work; might work, might not)

Application "Main" is at app/index.js

Application routing is configured at app/renderer/editor-routes.js

Known Issues

Warning like: MaxListenersExceededWarning: Possible EventEmitter memory leak detected. is displayed

  • To fix the above issue update NPM to >= 4.4.4 can be done by doing npm update -g npm

radiant-js's People

Contributors

apolaskey avatar

Watchers

Andrew Kidoo avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.