This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "electron-webpack-quick-start", | |
"version": "0.0.0", | |
"license": "MIT", | |
"scripts": { | |
"dev": "electron-webpack dev", | |
"compile": "electron-webpack", | |
"dist": "yarn compile && electron-builder", | |
"dist:dir": "yarn dist --dir -c.compression=store -c.mac.identity=null" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
import { app, BrowserWindow, Tray, nativeImage } from 'electron' | |
import * as path from 'path' | |
import { format as formatUrl } from 'url' | |
const isDevelopment = process.env.NODE_ENV !== 'production' | |
// global reference to mainWindow (necessary to prevent window from being garbage collected) | |
let mainWindow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Don't try to be vi compatible | |
set nocompatible | |
" Helps force plugins to load correctly when it is turned back on below | |
filetype off | |
" Turn on syntax highlighting | |
syntax on | |
" For plugins to load correctly |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" A minimal vimrc for new vim users to start with. | |
" | |
" Referenced here: http://www.benorenstein.com/blog/your-first-vimrc-should-be-nearly-empty/ | |
" Original Author: Bram Moolenaar <Bram@vim.org> | |
" Made more minimal by: Ben Orenstein | |
" Last change: 2012 Jan 20 | |
" | |
" To use it, copy it to | |
" for Unix and OS/2: ~/.vimrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<header> | |
<title></title> | |
<link rel="stylesheet" href="style.css"> | |
</header> | |
<body> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> | |
</body> | |
</html> |