chore : update nw builder, fix desktop build

This commit is contained in:
jdescottes 2015-12-09 23:02:44 +01:00
parent 22e876c844
commit eff4ac3056
2 changed files with 5 additions and 5 deletions

View File

@ -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']);

View File

@ -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",