2017-07-22 15:31:30 +08:00
|
|
|
{
|
2018-07-10 01:25:43 +08:00
|
|
|
"name": "merkletreejs",
|
2021-12-10 13:00:49 +08:00
|
|
|
"version": "0.2.27",
|
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": [
|
2020-06-07 05:05:16 +08:00
|
|
|
"dist",
|
|
|
|
"merkletree.js"
|
2020-06-01 14:31:19 +08:00
|
|
|
],
|
2017-07-22 15:31:30 +08:00
|
|
|
"scripts": {
|
2019-03-30 11:17:58 +08:00
|
|
|
"test": "tape test/*.js",
|
2021-04-02 11:37:56 +08:00
|
|
|
"clean": "rimraf dist",
|
2021-12-03 05:47:33 +08:00
|
|
|
"dev": "tsc -w",
|
2021-04-06 12:19:15 +08:00
|
|
|
"build": "npm run clean && tsc && npm run build:browser",
|
2020-06-07 04:52:26 +08:00
|
|
|
"build:browser": "browserify -t [ babelify --presets [ @babel/preset-env ] ] dist/index.js | uglifyjs > merkletree.js",
|
2020-12-08 06:33:26 +08:00
|
|
|
"lint": "standardx --fix src/*.ts test/*.js",
|
2021-07-04 14:14:20 +08:00
|
|
|
"lint:example": "standardx --fix example/*.js",
|
2021-12-10 12:51:15 +08:00
|
|
|
"docs": "rimraf docs/ && typedoc --plugin typedoc-plugin-markdown --hideSources --theme markdown --hideGenerator --excludeExternals --excludePrivate --out docs src/",
|
2020-06-07 05:01:39 +08:00
|
|
|
"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",
|
2021-04-01 10:18:01 +08:00
|
|
|
"ethereumjs-util": "^7.0.9",
|
2022-02-21 11:37:59 +08:00
|
|
|
"keccak256": "^1.0.6",
|
2021-04-02 11:37:56 +08:00
|
|
|
"rimraf": "^2.6.3",
|
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": {
|
2021-03-30 06:01:46 +08:00
|
|
|
"bignumber.js": "^9.0.1",
|
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",
|
2021-03-30 06:01:46 +08:00
|
|
|
"treeify": "^1.1.0",
|
|
|
|
"web3-utils": "^1.3.4"
|
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
|
|
|
}
|
|
|
|
}
|