From eff4ac305626569a5cc0498b7cfc663598ff7823 Mon Sep 17 00:00:00 2001 From: jdescottes Date: Wed, 9 Dec 2015 23:02:44 +0100 Subject: [PATCH] chore : update nw builder, fix desktop build --- Gruntfile.js | 6 +++--- package.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index d0f20f58..7919cad5 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -275,7 +275,7 @@ module.exports = function(grunt) { * DESKTOP BUILDS */ - nodewebkit: { + nwjs: { windows : { options: { version : "0.11.5", @@ -322,8 +322,8 @@ module.exports = function(grunt) { grunt.registerTask('default', ['lint', 'build']); // Build stand alone app with nodewebkit - grunt.registerTask('desktop', ['clean:desktop', 'default', 'nodewebkit:windows']); - grunt.registerTask('desktop-mac', ['clean:desktop', 'default', 'nodewebkit:macos']); + grunt.registerTask('desktop', ['clean:desktop', 'default', 'nwjs:windows']); + grunt.registerTask('desktop-mac', ['clean:desktop', 'default', 'nwjs:macos']); // Start webserver and watch for changes grunt.registerTask('serve', ['build', 'connect:prod', 'open:prod', 'watch:prod']); diff --git a/package.json b/package.json index f1215717..aa82ad50 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "author": "Julian Descottes, Vincent Renaudin", "name": "piskel", - "main": "./dest/index.html", + "main": "./dest/prod/index.html", "description": "Web based 2d animations editor", "version": "0.6.0-SNAPSHOT", "homepage": "http://github.com/juliandescottes/piskel", @@ -28,7 +28,7 @@ "grunt-jscs": "2.5.0", "grunt-karma": "0.12.1", "grunt-leading-indent": "0.2.0", - "grunt-node-webkit-builder": "1.0.2", + "grunt-nw-builder": "2.0.0", "grunt-open": "0.2.3", "grunt-replace": "0.11.0", "grunt-spritesmith": "6.1.0",