feat(js): Add support for JavaScript hosts

Refs: #90
This commit is contained in:
jeremiG 2019-01-07 14:35:34 -05:00 committed by Julien Eluard
parent 28cdda47b2
commit 2b33b0b549
2 changed files with 27 additions and 0 deletions

26
package.json Normal file
View File

@ -0,0 +1,26 @@
{
"name": "@status-im/pluto",
"version": "0.2.0",
"description": "A library for building status extensions",
"main": "npm/pluto.node.js",
"repository": {
"type": "git",
"url": "git+https://github.com/status-im/pluto.git"
},
"keywords": [
"status",
"pluto",
"clojure",
"clojurescript",
"dapp",
"ethereum",
"blockchain",
"decentralized"
],
"author": "jelurad",
"license": "MPL-2.0",
"bugs": {
"url": "https://github.com/status-im/pluto/issues"
},
"homepage": "https://github.com/status-im/pluto#readme"
}

1
scripts/npm.sh Executable file
View File

@ -0,0 +1 @@
clojure -m cljs.main -t node -d 'npm/lib' -o 'npm/pluto.node.js' -co '{:asset-path "npm/lib"}' -v true -c pluto.js