Initial commit

This commit is contained in:
Ivan Danyliuk 2017-11-24 14:59:43 +02:00
commit f23e85af8e
No known key found for this signature in database
GPG Key ID: 97ED33CE024E1DBF
4 changed files with 1048 additions and 0 deletions

24
binding.gyp Normal file
View File

@ -0,0 +1,24 @@
{
"targets": [{
"target_name": "binding",
"sources": [
"./src/status.cpp"
],
"xcode_settings": {
"MACOSX_DEPLOYMENT_TARGET": "10.7"
},
"libraries": [
"<!(pwd)/bin/libstatus.a"
],
"conditions": [
["OS=='mac'", {
"libraries": [
"-framework IOKit",
"-framework CoreFoundation",
"-framework CoreServices",
"-framework Security"
]
}]
]
}]
}

1
index.js Normal file
View File

@ -0,0 +1 @@
module.exports = require('./build/Release/binding');

22
package.json Normal file
View File

@ -0,0 +1,22 @@
{
"name": "status-nodejs",
"version": "1.0.0",
"description": "This package provides a wrappers to [status-go](https://github.com/status-im/status-go) exported methods.",
"main": "index.js",
"gypfile": true,
"dependencies": {},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/status-im/status-nodejs.git"
},
"author": "Status",
"license": "ISC",
"bugs": {
"url": "https://github.com/status-im/status-nodejs/issues"
},
"homepage": "https://github.com/status-im/status-nodejs#readme"
}

1001
src/status.cpp Normal file

File diff suppressed because it is too large Load Diff