89 lines
2.3 KiB
JSON
89 lines
2.3 KiB
JSON
{
|
|
"name": "merkletreejs",
|
|
"version": "0.2.20",
|
|
"description": "Construct Merkle Trees and verify proofs",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"merkletree.js"
|
|
],
|
|
"scripts": {
|
|
"test": "tape test/*.js",
|
|
"clean": "rimraf dist",
|
|
"build": "npm run clean && tsc && npm run build:browser",
|
|
"build:browser": "browserify -t [ babelify --presets [ @babel/preset-env ] ] dist/index.js | uglifyjs > merkletree.js",
|
|
"lint": "standardx --fix src/*.ts test/*.js",
|
|
"docs": "rimraf docs/ && typedoc --plugin typedoc-plugin-markdown --hideSources --theme markdown --hideGenerator --excludeExternals --excludePrivate --out docs index.ts",
|
|
"prepare": "npm run lint && npm run build"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/miguelmota/merkletreejs"
|
|
},
|
|
"keywords": [
|
|
"merkle",
|
|
"tree",
|
|
"hash",
|
|
"algorithm",
|
|
"crypto",
|
|
"bitcoin",
|
|
"ethereum",
|
|
"proof"
|
|
],
|
|
"author": {
|
|
"name": "Miguel Mota",
|
|
"email": "hello@miguelmota.com",
|
|
"url": "https://miguelmota.com/"
|
|
},
|
|
"license": {
|
|
"type": "MIT",
|
|
"url": "https://github.com/miguelmota/merkletreejs/blob/master/LICENSE"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/miguelmota/merkletreejs/issues"
|
|
},
|
|
"homepage": "https://github.com/miguelmota/merkletreejs",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.10.2",
|
|
"@babel/preset-env": "^7.10.2",
|
|
"@types/node": "^11.12.1",
|
|
"@typescript-eslint/eslint-plugin": "^3.0.2",
|
|
"@typescript-eslint/parser": "^3.0.2",
|
|
"babelify": "^10.0.0",
|
|
"browserify": "^16.5.1",
|
|
"crypto": "0.0.3",
|
|
"ethereumjs-util": "^7.0.9",
|
|
"rimraf": "^2.6.3",
|
|
"sha1": "^1.1.1",
|
|
"standard": "^14.3.4",
|
|
"standardx": "^5.0.0",
|
|
"tape": "^4.9.2",
|
|
"typedoc": "^0.17.7",
|
|
"typedoc-plugin-markdown": "^2.3.1",
|
|
"typescript": "^3.4.1"
|
|
},
|
|
"engines": {
|
|
"node": ">= 7.6.0"
|
|
},
|
|
"dependencies": {
|
|
"bignumber.js": "^9.0.1",
|
|
"buffer-reverse": "^1.0.1",
|
|
"crypto-js": "^3.1.9-1",
|
|
"treeify": "^1.1.0",
|
|
"web3-utils": "^1.3.4"
|
|
},
|
|
"eslintConfig": {
|
|
"rules": {
|
|
"no-unused-vars": "off",
|
|
"@typescript-eslint/no-unused-vars": "error"
|
|
}
|
|
},
|
|
"standardx": {
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": [
|
|
"@typescript-eslint/eslint-plugin"
|
|
]
|
|
}
|
|
}
|