merkle-reference
Version:
This is a TS library implementing [merkle reference] specification.
54 lines • 1.21 kB
JSON
{
"name": "merkle-reference",
"version": "2.2.0",
"description": "",
"type": "module",
"keywords": [
"merkle",
"reference",
"hash",
"data",
"ipld"
],
"files": [
"src",
"dist/src"
],
"exports": {
".": {
"types": "./dist/src/lib.d.ts",
"import": "./src/lib.js",
"default": "./src/lib.js"
},
"./json": {
"types": "./dist/src/json.d.ts",
"import": "./src/json.js",
"default": "./src/json.js"
}
},
"dependencies": {
"@noble/hashes": "1.3.3",
"multiformats": "^13.0.0"
},
"devDependencies": {
"entail": "3.0.1",
"c8": "^9.1.0",
"playwright-test": "^14.1.1",
"prettier": "^3.2.5",
"typescript": "^5.7.3"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true
},
"scripts": {
"build": "tsc --build",
"test:web": "playwright-test --runner entail 'test/**/*.spec.js'",
"test:node": "c8 entail 'test/*.spec.js'",
"test": "npm run test:node && npm run test:web",
"coverage": "c8 --reporter=html mocha test/**/*.spec.js && npm_config_yes=true npx st -d coverage -p 8080",
"check": "tsc --build"
}
}