Commit 2b031ef2 authored by d11e9's avatar d11e9

re-add soljson.js and add version func

parent c28ac8b3
...@@ -6,5 +6,6 @@ compileJSON = soljson.cwrap("compileJSON", "string", ["string", "number"]); ...@@ -6,5 +6,6 @@ compileJSON = soljson.cwrap("compileJSON", "string", ["string", "number"]);
module.exports = { module.exports = {
compile: function(input, optimise){ compile: function(input, optimise){
return JSON.parse( compileJSON(input, optimise) ); return JSON.parse( compileJSON(input, optimise) );
} },
version: soljson.cwrap("version", "string", [])
} }
\ No newline at end of file
{ {
"name": "solc", "name": "solc",
"version": "0.1.3-1", "version": "0.1.3-2",
"description": "Solidity compiler", "description": "Solidity compiler",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment