mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
chore : update nw builder, fix desktop build
This commit is contained in:
parent
22e876c844
commit
eff4ac3056
@ -275,7 +275,7 @@ module.exports = function(grunt) {
|
|||||||
* DESKTOP BUILDS
|
* DESKTOP BUILDS
|
||||||
*/
|
*/
|
||||||
|
|
||||||
nodewebkit: {
|
nwjs: {
|
||||||
windows : {
|
windows : {
|
||||||
options: {
|
options: {
|
||||||
version : "0.11.5",
|
version : "0.11.5",
|
||||||
@ -322,8 +322,8 @@ module.exports = function(grunt) {
|
|||||||
grunt.registerTask('default', ['lint', 'build']);
|
grunt.registerTask('default', ['lint', 'build']);
|
||||||
|
|
||||||
// Build stand alone app with nodewebkit
|
// Build stand alone app with nodewebkit
|
||||||
grunt.registerTask('desktop', ['clean:desktop', 'default', 'nodewebkit:windows']);
|
grunt.registerTask('desktop', ['clean:desktop', 'default', 'nwjs:windows']);
|
||||||
grunt.registerTask('desktop-mac', ['clean:desktop', 'default', 'nodewebkit:macos']);
|
grunt.registerTask('desktop-mac', ['clean:desktop', 'default', 'nwjs:macos']);
|
||||||
|
|
||||||
// Start webserver and watch for changes
|
// Start webserver and watch for changes
|
||||||
grunt.registerTask('serve', ['build', 'connect:prod', 'open:prod', 'watch:prod']);
|
grunt.registerTask('serve', ['build', 'connect:prod', 'open:prod', 'watch:prod']);
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"author": "Julian Descottes, Vincent Renaudin",
|
"author": "Julian Descottes, Vincent Renaudin",
|
||||||
"name": "piskel",
|
"name": "piskel",
|
||||||
"main": "./dest/index.html",
|
"main": "./dest/prod/index.html",
|
||||||
"description": "Web based 2d animations editor",
|
"description": "Web based 2d animations editor",
|
||||||
"version": "0.6.0-SNAPSHOT",
|
"version": "0.6.0-SNAPSHOT",
|
||||||
"homepage": "http://github.com/juliandescottes/piskel",
|
"homepage": "http://github.com/juliandescottes/piskel",
|
||||||
@ -28,7 +28,7 @@
|
|||||||
"grunt-jscs": "2.5.0",
|
"grunt-jscs": "2.5.0",
|
||||||
"grunt-karma": "0.12.1",
|
"grunt-karma": "0.12.1",
|
||||||
"grunt-leading-indent": "0.2.0",
|
"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-open": "0.2.3",
|
||||||
"grunt-replace": "0.11.0",
|
"grunt-replace": "0.11.0",
|
||||||
"grunt-spritesmith": "6.1.0",
|
"grunt-spritesmith": "6.1.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user