UNPKG

@klayr/validator

Version:
70 lines (69 loc) 1.99 kB
{ "name": "@klayr/validator", "version": "0.9.1", "description": "Validation library according to the Klayr protocol", "author": "Klayr Labs <admin@klayr.xyz>, Lisk Foundation <admin@lisk.com>, lightcurve GmbH <admin@lightcurve.io>", "license": "Apache-2.0", "keywords": [ "klayr", "blockchain", "validation" ], "homepage": "https://github.com/Klayrhq/klayr-sdk/tree/master/elements/validator#readme", "repository": { "type": "git", "url": "git+https://github.com/Klayrhq/klayr-sdk.git" }, "bugs": { "url": "https://github.com/Klayrhq/klayr-sdk/issues" }, "engines": { "node": ">=18.12.0 <=18", "npm": ">=8.1.0" }, "main": "dist-node/index.js", "scripts": { "clean": "./scripts/clean.sh", "format": "prettier --write '**/*'", "lint": "eslint --ext .ts .", "lint:fix": "eslint --fix --ext .js,.ts .", "test": "jest", "test:coverage": "jest --coverage=true --coverage-reporters=text", "test:ci": "jest --coverage=true --coverage-reporters=json", "test:watch": "npm test -- --watch", "prebuild": "rm -r dist-node/* || mkdir dist-node || true", "build": "tsc", "build:check": "node -e \"require('./dist-node')\"" }, "dependencies": { "@klayr/cryptography": "^4.1.1", "ajv": "8.1.0", "ajv-formats": "2.1.1", "debug": "4.3.4", "semver": "7.5.2", "validator": "13.7.0" }, "devDependencies": { "@types/jest": "29.2.3", "@types/jest-when": "3.5.2", "@types/node": "18.15.3", "@types/semver": "7.3.13", "@types/validator": "13.7.10", "@typescript-eslint/eslint-plugin": "5.44.0", "@typescript-eslint/parser": "5.44.0", "eslint": "8.28.0", "eslint-config-klayr-base": "2.0.1", "eslint-plugin-import": "2.26.0", "eslint-plugin-jest": "27.1.6", "jest": "29.3.1", "jest-extended": "3.2.0", "jest-when": "3.5.2", "lodash.clonedeep": "4.5.0", "prettier": "2.8.0", "source-map-support": "0.5.21", "ts-jest": "29.0.3", "ts-node": "10.9.1", "tsconfig-paths": "4.1.0", "typescript": "5.0.2" } }