UNPKG

@arcblock/ipfs-only-hash

Version:

Just enough code to calculate the IPFS hash for some data

62 lines (61 loc) 1.53 kB
{ "name": "@arcblock/ipfs-only-hash", "version": "0.0.2", "description": "Just enough code to calculate the IPFS hash for some data", "publishConfig": { "access": "public" }, "files": [ "dist" ], "repository": { "type": "git", "url": "https://github.com/ArcBlock/ipfs-only-hash" }, "homepage": "https://github.com/ArcBlock/ipfs-only-hash", "main": "dist/index.js", "scripts": { "test": "vitest", "coverage": "vitest run --coverage", "lint": "eslint src tests", "lint:fix": "npm run lint -- --fix", "prebuild": "rm -fr dist", "build": "tsc", "verify": "npm run lint:fix && npm run coverage", "bump-version": "zx --quiet scripts/bump-version.mjs" }, "keywords": [ "ipfs", "hash", "cid" ], "author": { "name": "arcblock", "email": "blocklet@arcblock.io", "url": "https://github.com/blocklet" }, "license": "MIT", "devDependencies": { "@arcblock/eslint-config": "latest", "@arcblock/eslint-config-ts": "^0.2.4", "@types/node": "15.12.2", "@typescript-eslint/eslint-plugin": "^5.30.6", "@vitest/coverage-v8": "^1.1.0", "bumpp": "^9.2.1", "dayjs": "^1.11.10", "eslint": "^8.19.0", "fs-extra": "^11.2.0", "lodash": "^4.17.21", "prettier": "^2.7.1", "typescript": "^4.9.5", "vitest": "^1.1.0", "zx": "^7.2.3" }, "dependencies": { "ipfs-unixfs-importer": "9", "multiformats": "9" }, "bugs": { "url": "https://github.com/ArcBlock/ipfs-only-hash/issues" } }