2017-07-22 15:31:30 +08:00
|
|
|
{
|
2018-07-10 01:25:43 +08:00
|
|
|
"name": "merkletreejs",
|
2020-06-07 05:01:39 +08:00
|
|
|
"version": "0.2.5",
|
2017-08-08 11:29:54 +08:00
|
|
|
"description": "Construct Merkle Trees and verify proofs",
|
2019-03-30 10:53:32 +08:00
|
|
|
"main": "dist/index.js",
|
2020-02-14 05:28:05 +08:00
|
|
|
"types": "dist/index.d.ts",
|
2020-06-01 14:31:19 +08:00
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
2017-07-22 15:31:30 +08:00
|
|
|
"scripts": {
|
2019-03-30 11:17:58 +08:00
|
|
|
"test": "tape test/*.js",
|
2020-06-07 04:52:26 +08:00
|
|
|
"build": "rm -rf dist/ && tsc && npm run build:browser",
|
|
|
|
"build:browser": "browserify -t [ babelify --presets [ @babel/preset-env ] ] dist/index.js | uglifyjs > merkletree.js",
|
2020-06-01 14:31:19 +08:00
|
|
|
"lint": "standardx --fix index.ts test/*.js",
|
2020-06-07 05:01:39 +08:00
|
|
|
"docs": "rm -rf docs/ && typedoc --plugin typedoc-plugin-markdown -hideSources --theme markdown --hideGenerator --excludeExternals --excludePrivate --out docs index.ts",
|
|
|
|
"prepare": "npm run lint && npm run build"
|
2017-07-22 15:31:30 +08:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2018-08-03 07:30:11 +08:00
|
|
|
"url": "https://github.com/miguelmota/merkletreejs"
|
2017-07-22 15:31:30 +08:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"merkle",
|
|
|
|
"tree",
|
|
|
|
"hash",
|
|
|
|
"algorithm",
|
|
|
|
"crypto",
|
|
|
|
"bitcoin",
|
|
|
|
"ethereum",
|
|
|
|
"proof"
|
|
|
|
],
|
|
|
|
"author": {
|
|
|
|
"name": "Miguel Mota",
|
|
|
|
"email": "hello@miguelmota.com",
|
|
|
|
"url": "https://miguelmota.com/"
|
|
|
|
},
|
|
|
|
"license": {
|
|
|
|
"type": "MIT",
|
2018-10-23 14:44:17 +08:00
|
|
|
"url": "https://github.com/miguelmota/merkletreejs/blob/master/LICENSE"
|
2017-07-22 15:31:30 +08:00
|
|
|
},
|
|
|
|
"bugs": {
|
2018-08-03 07:30:11 +08:00
|
|
|
"url": "https://github.com/miguelmota/merkletreejs/issues"
|
2017-07-22 15:31:30 +08:00
|
|
|
},
|
2018-08-03 07:30:11 +08:00
|
|
|
"homepage": "https://github.com/miguelmota/merkletreejs",
|
2017-07-22 15:31:30 +08:00
|
|
|
"devDependencies": {
|
2020-06-07 04:52:26 +08:00
|
|
|
"@babel/core": "^7.10.2",
|
|
|
|
"@babel/preset-env": "^7.10.2",
|
2019-03-30 10:53:32 +08:00
|
|
|
"@types/node": "^11.12.1",
|
2020-06-01 14:31:19 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^3.0.2",
|
|
|
|
"@typescript-eslint/parser": "^3.0.2",
|
2020-06-07 04:52:26 +08:00
|
|
|
"babelify": "^10.0.0",
|
|
|
|
"browserify": "^16.5.1",
|
2017-07-22 15:31:30 +08:00
|
|
|
"crypto": "0.0.3",
|
2019-06-30 14:39:53 +08:00
|
|
|
"ethereumjs-util": "6.1.0",
|
2019-06-17 08:14:53 +08:00
|
|
|
"sha1": "^1.1.1",
|
2020-06-01 14:31:19 +08:00
|
|
|
"standard": "^14.3.4",
|
|
|
|
"standardx": "^5.0.0",
|
2019-03-30 11:16:04 +08:00
|
|
|
"tape": "^4.9.2",
|
2020-06-07 03:26:33 +08:00
|
|
|
"typedoc": "^0.17.7",
|
|
|
|
"typedoc-plugin-markdown": "^2.3.1",
|
2019-03-30 11:16:04 +08:00
|
|
|
"typescript": "^3.4.1"
|
2017-07-22 15:31:30 +08:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">= 7.6.0"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-08-03 08:46:06 +08:00
|
|
|
"buffer-reverse": "^1.0.1",
|
2018-10-27 04:09:38 +08:00
|
|
|
"crypto-js": "^3.1.9-1",
|
2018-12-10 11:10:43 +08:00
|
|
|
"is-buffer": "^2.0.3",
|
2019-06-07 15:29:42 +08:00
|
|
|
"merkle-lib": "^2.0.10",
|
2018-12-10 11:10:43 +08:00
|
|
|
"treeify": "^1.1.0"
|
2020-06-01 14:31:19 +08:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"rules": {
|
|
|
|
"no-unused-vars": "off",
|
|
|
|
"@typescript-eslint/no-unused-vars": "error"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"standardx": {
|
|
|
|
"parser": "@typescript-eslint/parser",
|
2020-06-07 03:26:33 +08:00
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint/eslint-plugin"
|
|
|
|
]
|
2017-07-22 15:31:30 +08:00
|
|
|
}
|
|
|
|
}
|