| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- {
- "name": "web3-validator",
- "version": "1.0.0",
- "description": "JSON-Schema compatible validator for web3",
- "main": "./lib/commonjs/index.js",
- "module": "./lib/esm/index.js",
- "exports": {
- ".": {
- "types": "./lib/types/index.d.ts",
- "import": "./lib/esm/index.js",
- "require": "./lib/commonjs/index.js"
- }
- },
- "browser": "./dist/web3-validator.min.js",
- "repository": "https://github.com/ChainSafe/web3.js",
- "author": "ChainSafe Systems",
- "license": "LGPL-3.0",
- "engines": {
- "node": ">=14",
- "npm": ">=6.12.0"
- },
- "files": [
- "lib/**/*",
- "src/**/*",
- "dist/**/*"
- ],
- "scripts": {
- "clean": "rimraf dist && rimraf lib",
- "prebuild": "yarn clean",
- "build": "yarn build:cjs & yarn build:esm & yarn build:types",
- "build:cjs": "tsc --build tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > ./lib/commonjs/package.json",
- "build:esm": "tsc --build tsconfig.esm.json && echo '{\"type\": \"module\"}' > ./lib/esm/package.json",
- "build:types": "tsc --build tsconfig.types.json",
- "build:web": "npx webpack",
- "build:check": "node -e \"require('./lib')\"",
- "lint": "eslint --ext .js,.ts .",
- "lint:fix": "eslint --fix --ext .js,.ts .",
- "format": "prettier --write '**/*'",
- "test": "jest --config=./test/unit/jest.config.js",
- "test:coverage:unit": "jest --config=./test/unit/jest.config.js --coverage=true --coverage-reporters=text",
- "test:coverage:integration": "jest --config=./test/integration/jest.config.js --passWithNoTests --coverage=true --coverage-reporters=text",
- "test:ci": "jest --coverage=true --coverage-reporters=json --verbose",
- "test:watch": "npm test -- --watch",
- "test:unit": "jest --config=./test/unit/jest.config.js",
- "test:integration": "jest --config=./test/integration/jest.config.js --passWithNoTests"
- },
- "dependencies": {
- "ethereum-cryptography": "^2.0.0",
- "is-my-json-valid": "^2.20.6",
- "util": "^0.12.5",
- "web3-errors": "^1.0.0",
- "web3-types": "^1.0.0"
- },
- "devDependencies": {
- "@types/jest": "^28.1.6",
- "@typescript-eslint/eslint-plugin": "^5.30.7",
- "@typescript-eslint/parser": "^5.30.7",
- "eslint": "^8.20.0",
- "eslint-config-prettier": "^8.5.0",
- "eslint-config-web3-base": "0.1.0",
- "eslint-plugin-import": "^2.26.0",
- "jest": "^28.1.3",
- "jest-extended": "^3.0.1",
- "prettier": "^2.7.1",
- "ts-jest": "^28.0.7",
- "typescript": "^4.7.4"
- },
- "gitHead": "5b5bf8765ab01946d8af215e5ecd343f321fbe2a"
- }
|