Code Monkey home page Code Monkey logo

nw-ninja's Introduction

nw-ninja

A minimalistic NW.js starter project for ninjas

npm install -g gulp
git clone https://github.com/kessler/nw-ninja
npm install && cd nwapp && npm install

develop

important: nw-ninja has moved to gulp@4 (for security reasons actually)

gulp run

use --debug=[true|false] (default: true)

build

gulp build

other tasks

preBuildClean

clean / delete files before build, to customize, edit preBuildCleanList.json. The paths are relative to ninjaConfig.appDir, this task is run before build task too

gulp preBuildClean

config

There are two configuration contexts, one for the nw-ninja envelope and one for the actual application.

The envelope configuration is just rc

nw-ninja's People

Contributors

kessler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nw-ninja's Issues

screenshots

where scrennshots your project , when it run on broweser?

Build error

Nice work.

Though when trying to build I get this ReferenceError: paths is not defined

Line 45 of gulpfile.js looks like it should be this...
return async.each(path, rimraf, cb)
instead of
return async.each(paths, rimraf, cb)

Update of dependencies?

Is this repository still active, because I would really appreciate an update of their dependencies and code.

Error running the app on Linux

Hey! Congrats for the project, very interesting.
I'm running the app for the first time and got this:

d3athmast3r@chaosfort:~/dev/js/nw-ninja/nwapp$ gulp run
[14:34:18] Working directory changed to ~/dev/js/nw-ninja
[14:34:19] Using gulpfile ~/dev/js/nw-ninja/gulpfile.js
[14:34:19] Starting 'run'...
[14:34:19] Using v0.11.5
[14:34:19] Create cache folder in /home/d3athmast3r/dev/js/nw-ninja/cache/0.11.5
[14:34:19] Using cache for: win32
[14:34:19] Create cache folder in /home/d3athmast3r/dev/js/nw-ninja/cache/0.11.5
[14:34:19] Using cache for: win64
[14:34:19] Create cache folder in /home/d3athmast3r/dev/js/nw-ninja/cache/0.11.5
[14:34:19] Using cache for: osx32
[14:34:19] Create cache folder in /home/d3athmast3r/dev/js/nw-ninja/cache/0.11.5
[14:34:19] Using cache for: osx64
[14:34:19] 'run' errored after 60 ms
[14:34:19] Error: true
    at formatError (/usr/lib/node_modules/gulp/bin/gulp.js:161:10)
    at Gulp.<anonymous> (/usr/lib/node_modules/gulp/bin/gulp.js:187:15)
    at Gulp.emit (events.js:95:17)
    at Gulp.Orchestrator._emitTaskDone (/home/d3athmast3r/dev/js/nw-ninja/node_modules/gulp/node_modules/orchestrator/index.js:264:8)
    at /home/d3athmast3r/dev/js/nw-ninja/node_modules/gulp/node_modules/orchestrator/index.js:275:23
    at finish (/home/d3athmast3r/dev/js/nw-ninja/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8)
    at cb (/home/d3athmast3r/dev/js/nw-ninja/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3)
    at NwBuilder.<anonymous> (/home/d3athmast3r/dev/js/nw-ninja/node_modules/node-webkit-builder/lib/index.js:139:17)
    at tryCatch1 (/home/d3athmast3r/dev/js/nw-ninja/node_modules/node-webkit-builder/node_modules/bluebird/js/main/util.js:63:19)
    at Promise$_callHandler [as _callHandler] (/home/d3athmast3r/dev/js/nw-ninja/node_modules/node-webkit-builder/node_modules/bluebird/js/main/promise.js:695:13)

I'm running on linux 64-bit.
I added 'linux' in the list of OSs in ninjaConfig.js, and got:

[15:11:22] Using cache for: linux32
[15:11:22] Create cache folder in /home/d3athmast3r/dev/js/nw-ninja/cache/0.11.5
[15:11:22] Using cache for: linux64
[15:11:22] Launching App
[15:11:22] App exited with code 127
[15:11:22] Finished 'run' after 80 ms

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.