Coder Social home page Coder Social logo

electron-typescript-base's Introduction

Electron / TypeScript base application

This is meant as a starting point to writing an Electron application using TypeScript. Clone it, and you can start writing TypeScript

Here's what it handles for you:

  • npm package configuration in package.json which installs all dependencies (dev & production) with npm install.
  • bare-bones hello-world interface showing Node access in Electron.

Note: This branch now uses TypeScript 2.0, which can make use of type definition files in the npm @types namespace automatically. If you want to stick with TypeScript 1.8, see the typescript-1.8 branch.

Running

  • Clone the repo.
  • npm install
  • npm start

Starting your project

  • Delete this README.md and replace it with your own.
  • Update package.json with your application name, version, and author.

Development

npm start assumes you've already compiled your TypeScript files into javascript. If you're using an IDE that supports the compileOnSave option in tsconfig.json, then that should all happen automatically. Otherwise, run tsc -w to auto-build.

TODO

  • npm scripts for building distributable apps.
  • Better Electron sample code. (Meanwhile, see: electron-quick-start)

electron-typescript-base's People

Contributors

nfnitloop avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

dylanmeeus

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.