lifehash
Version:
TypeScript/JavaScript implementation of LifeHash, a visual hash algorithm
63 lines • 2.34 kB
JSON
{
"name": "lifehash",
"version": "0.0.2",
"description": "TypeScript/JavaScript implementation of LifeHash, a visual hash algorithm",
"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 -c .eslintrc.js --ext .ts ./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": "ts-node 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"
},
"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": {
"create-hash": "1.2.0"
},
"devDependencies": {
"@types/create-hash": "^1.2.2",
"@types/node": "^18.7.14",
"@types/tape": "^4.13.2",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/eslint-plugin-tslint": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"eslint": "^8.23.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.3.6",
"eslint-plugin-prefer-arrow": "^1.2.3",
"nyc": "^15.1.0",
"prettier": "^2.7.1",
"tape": "^5.6.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.2"
}
}