Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds appjs main module + managing to generate platform specific modules.
- Loading branch information
Showing
5 changed files
with
84 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
'targets': [ | ||
{ | ||
'target_name': 'add-dependencies', | ||
'type':'none', | ||
'actions':[ | ||
{ | ||
'action_name':'npm', | ||
'inputs':[''], | ||
'outputs':[''], | ||
'action':['npm','install','appjs-<(OS)'] | ||
}, | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = require('appjs-' + process.platform); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"name": "appjs", | ||
"description": "AppJS is a SDK on top of nodejs to develop desktop applications using HTML/CSS/JS", | ||
"version": "0.0.13", | ||
"keywords": [ | ||
"cef", | ||
"webkit", | ||
"browser", | ||
"canvas", | ||
"html5", | ||
"desktop", | ||
"native", | ||
"gtk", | ||
"ui", | ||
"sdk" | ||
], | ||
"target":"mac", | ||
"homepage": "http://appjs.org", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/milani/appjs" | ||
}, | ||
"author": { | ||
"name": "Morteza Milani", | ||
"email": "mrtz.milani@gmail.com" | ||
}, | ||
"directories": {}, | ||
"main": "./index.js", | ||
"engines": { | ||
"node": "0.6 || 0.8" | ||
}, | ||
"scripts": { | ||
"install":"node-gyp rebuild" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": {}, | ||
"optionalDependencies": {}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "https://github.com/milani/appjs/blob/master/LICENSE" | ||
} | ||
] | ||
} |