lifehash
Version:
TypeScript/JavaScript implementation of LifeHash, a visual hash algorithm
63 lines (62 loc) • 2.13 kB
JSON
{
"name": "lifehash",
"version": "1.0.0",
"description": "TypeScript/JavaScript implementation of LifeHash, a visual hash algorithm",
"type": "module",
"main": "src/index.js",
"types": "./types/index.d.ts",
"scripts": {
"build": "tsc -p ./tsconfig.json",
"coverage-report": "npm run build && npm run nobuild:coverage-report",
"coverage": "npm run build && npm run nobuild:coverage",
"format": "npm run prettier -- --write",
"format:ci": "npm run prettier -- --check",
"gitdiff:ci": "npm run build && git diff --exit-code",
"lint": "eslint ./ts_src/",
"nobuild:coverage-report": "nyc report --reporter=lcov",
"nobuild:coverage": "nyc --check-coverage --lines 5 --branches 5 --functions 5 npm run nobuild:unit",
"nobuild:unit": "tsx --tsconfig tsconfig.test.json node_modules/tape/bin/tape test/**/*.spec.ts",
"prettier": "prettier 'ts_src/**/*.ts' 'examples/**/*.ts' 'test/**/*.ts' --ignore-path ./.prettierignore",
"test": "npm run build && npm run format:ci && npm run nobuild:coverage",
"unit": "npm run build && npm run nobuild:unit",
"build:docs": "npm run build && esbuild src/index.js --bundle --format=esm --outfile=docs/lifehash.bundle.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AndreasGassmann/lifehash.git"
},
"keywords": [
"bitcoin",
"lifehash",
"mnemonic",
"identicon",
"game-of-life"
],
"author": "Andreas Gassmann",
"license": "MIT",
"files": [
"src",
"types"
],
"bugs": {
"url": "https://github.com/AndreasGassmann/lifehash/issues"
},
"homepage": "https://github.com/AndreasGassmann/lifehash#readme",
"dependencies": {
"@noble/hashes": "2.0.1"
},
"devDependencies": {
"@types/node": "25.5.0",
"@types/tape": "5.8.1",
"@typescript-eslint/eslint-plugin": "8.57.1",
"@typescript-eslint/parser": "8.57.1",
"eslint": "10.0.3",
"eslint-plugin-jsdoc": "62.8.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"nyc": "18.0.0",
"prettier": "3.8.1",
"tape": "5.9.0",
"tsx": "4.21.0",
"typescript": "5.9.3"
}
}