Skip to content

Commit

Permalink
Merge pull request #25 from stealjs/update-demo
Browse files Browse the repository at this point in the history
Update demo application
  • Loading branch information
Manuel Mujica authored Aug 3, 2017
2 parents dcb038e + 41a6105 commit 63f10cf
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 20 deletions.
5 changes: 3 additions & 2 deletions demo/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ var stealElectron = require("../lib/main");
var stealTools = require("steal-tools");

var electronOptions = {
buildDir: './build',
platforms: ['darwin'],
buildDir: "./build",
platforms: ["darwin"],
main: "electron-main.js",
files: ["dist/**/*", "production.html"]
};

Expand Down
2 changes: 1 addition & 1 deletion demo/hello.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
var $ = require("jquery");

$("#app").html("Hello World!");
$("#app").html("<h1>Hello, World!</h1>");
37 changes: 20 additions & 17 deletions demo/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
{
"name": "hello-world",
"version": "0.0.1",
"main": "electron-main.js",
"dependencies": {
"jquery": "^2.1.4",
"steal": "1.2.10"
},
"devDependencies": {
"electron": "^1.4.1",
"steal-tools": "^1.0.0"
},
"steal": {
"main": "hello.js",
"electron": {
"main": "electron-main.js"
"name": "hello-world",
"version": "0.0.1",
"main": "electron-main.js",
"scripts": {
"start": "electron production.html"
},
"dependencies": {
"jquery": "^3.2.1",
"steal": "^1.5.6"
},
"devDependencies": {
"electron": "^1.6.11",
"steal-tools": "^1.7.0"
},
"steal": {
"main": "hello.js",
"electron": {
"main": "electron-main.js"
}
}
}
}
}

0 comments on commit 63f10cf

Please sign in to comment.