Export some components as npm package

This commit is contained in:
Brian Li 2021-04-18 21:48:22 -07:00
parent abdca319ed
commit bb71360374
13 changed files with 5700 additions and 5685 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
.vscode
/index.js
Tornado_flat.sol
# Created by .ignore support plugin (hsz.mobi)

6
.npmignore Normal file
View File

@ -0,0 +1,6 @@
build
circuits
docs
migrations
node_modules
test

View File

@ -917,7 +917,7 @@
}
},
"schemaVersion": "3.3.4",
"updatedAt": "2021-04-05T02:45:55.202Z",
"updatedAt": "2021-04-19T04:55:01.719Z",
"networkType": "ethereum",
"devdoc": {
"methods": {

File diff suppressed because one or more lines are too long

View File

@ -3490,7 +3490,8 @@
}
},
"schemaVersion": "3.3.4",
"updatedAt": "2021-04-18T15:21:30.804Z",
"updatedAt": "2021-04-19T04:55:01.718Z",
"networkType": "ethereum",
"devdoc": {
"methods": {}
},

View File

@ -51,5 +51,6 @@
}
},
"schemaVersion": "3.3.4",
"updatedAt": "2021-04-18T15:21:30.822Z"
"updatedAt": "2021-04-19T04:55:01.719Z",
"networkType": "ethereum"
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1480,7 +1480,7 @@
}
},
"schemaVersion": "3.3.4",
"updatedAt": "2021-04-05T02:45:55.202Z",
"updatedAt": "2021-04-19T04:55:01.720Z",
"networkType": "ethereum",
"devdoc": {
"methods": {}

File diff suppressed because it is too large Load Diff

View File

@ -29924,7 +29924,7 @@
}
},
"schemaVersion": "3.3.4",
"updatedAt": "2021-04-05T02:45:55.188Z",
"updatedAt": "2021-04-19T04:55:01.710Z",
"networkType": "ethereum",
"devdoc": {
"methods": {}

7
index.js Normal file
View File

@ -0,0 +1,7 @@
const utils = require('../src/utils')
const Account = require('../src/account')
module.exports = {
utils,
Account
}

View File

@ -1,5 +1,5 @@
{
"name": "circuits",
"name": "@poofcash/poof-core",
"version": "1.0.0",
"description": "",
"main": "index.js",