UNPKG

canonify

Version:

**NOTE: This is effictively a fork of [@truestamp/canonify](https://www.npmjs.com/package/@truestamp/canonify) to fix an issue with exporting types. Since a repo could not be found, a fork/PR was not possible. All copyrights/attribution has been left in p

77 lines (76 loc) 1.85 kB
{ "name": "canonify", "version": "2.1.1", "private": false, "source": "./src/index.ts", "main": "./dist/index.js", "types": "./dist/index.d.ts", "module": "./dist/index.mjs", "exports": { "require": "./dist/index.js", "import": "./dist/index.mjs", "node": "./dist/index.js", "default": "./dist/index.mjs", "types": "./dist/index.d.ts" }, "license": "MIT License", "author": "Truestamp <support@truestamp.com>", "files": [ "README.md", "LICENSE", "package.json", "/src", "/dist", "/examples", "/tests" ], "keywords": [ "authenticity", "blockchain", "crypto", "cryptography", "data", "hash function", "hash", "hashing", "integrity", "Merkle tree", "Merkle", "proof", "provenance", "timestamp", "Truestamp", "verification", "verify" ], "repository": { "type": "git", "url": "git+https://github.com/GalaxyPay/canonify.git" }, "bugs": { "url": "https://github.com/GalaxyPay/canonify/issues" }, "devDependencies": { "@skypack/package-check": "^0.2.2", "@stablelib/hex": "^1.0.1", "@stablelib/utf8": "^1.0.1", "@types/jsonfile": "^6.1.1", "jsonfile": "^6.1.0", "to-hex": "^0.0.18", "tsup": "^6.5.0", "typescript": "^4.8.4", "eslint-config-base": "0.0.0", "tsconfig": "0.0.0" }, "scripts": { "build": "tsup src/index.ts --format esm,cjs --dts-resolve", "dev": "pnpm run build --watch", "clean": "rm -rf dist", "package-check": "npx package-check", "test": "vitest --run --coverage --passWithNoTests", "test:watch": "vitest --coverage --passWithNoTests", "lint": "eslint \"src/**/*.ts*\"", "examples:deno": "cd examples/deno && deno run ./index.ts", "examples:nodejs": "cd examples/nodejs && node ./index.cjs" } }