UNPKG

@massalabs/massa-web3

Version:
110 lines 4.27 kB
{ "name": "@massalabs/massa-web3", "version": "5.2.0", "description": "massa's web3 sdk client", "main": "dist/cmd/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "scripts": { "prepare": "npx is-ci || husky install", "lint": "eslint . && npm run check-types", "lint:fix": "eslint . --fix && npm run check-types", "prettier": "prettier --check .", "prettier:fix": "prettier --write .", "fmt": "npm run lint:fix && npm run prettier:fix", "fmt:check": "npm run lint && npm run prettier", "up": "npm update", "check": "npm outdated", "upgrade": "npm run up && npm run check && npm run build", "clean-dist": "rimraf dist/*", "build-esm": "tsc --project tsconfig.esm.json", "build-commonjs": "tsc --project tsconfig.commonjs.json", "build": "npm-run-all clean-dist build-*", "generate:types": "npx open-rpc-typings --output-ts src/generated --name-ts client-types -d 'https://raw.githubusercontent.com/massalabs/massa/refs/heads/mainnet_2_3/massa-node/base_config/openrpc.json'", "generate:test": "ts-interface-builder -o test/generated src/generated/client-types.ts", "generate:deployer": "ts-node scripts/deployerGeneration/generate-deployer.ts", "generate": "npm-run-all generate:*", "test": "jest --detectOpenHandles --forceExit ./test/unit", "test:watch": "jest --watch ./test/unit", "test:browser": "jest --config=jest.browser.config.js", "test:cov": "jest --detectOpenHandles --coverage --coveragePathIgnorePatterns [\"/node_modules/\",\"<rootDir>/src/generated/\"] --forceExit ./test/unit", "test:cov:watch": "jest --detectOpenHandles --coverage --watch", "test:integration": "jest --detectOpenHandles --forceExit --runInBand ./test/integration", "test:all": "npm run test && npm run test:integration", "test:watch:all": "jest --watchAll", "check-types": "tsc --noEmit", "doc": "typedoc src/index.ts --name massa-web3 --out docs/documentation/html --tsconfig tsconfig.json" }, "author": "Massa Labs <info@massa.net>", "contributors": [ "Gregory Libert", "Benjamin Reynes", "Thomas Senechal " ], "license": "MIT", "homepage": "https://github.com/massalabs/massa-web3", "repository": { "type": "git", "url": "git+https://github.com/massalabs/massa-web3" }, "keywords": [ "web3", "ts", "sdk", "massa" ], "files": [ "dist", "bundle.js", "bundle.min.js" ], "dependencies": { "@noble/ed25519": "^1.7.3", "@noble/hashes": "^1.2.0", "bs58check": "^4.0.0", "decimal.js": "^10.4.3", "dotenv": "^16.0.3", "eventemitter3": "^5.0.1", "lodash.isequal": "^4.5.0", "secure-random": "^1.1.2", "tslib": "^2.8.0", "varint": "^6.0.0" }, "devDependencies": { "@babel/preset-env": "^7.22.15", "@open-rpc/typings": "^1.12.4", "@types/jest": "^29.5.12", "@types/node": "^20.12.13", "@types/varint": "^6.0.3", "@typescript-eslint/eslint-plugin": "^7.8.0", "@typescript-eslint/parser": "^7.8.0", "babel-jest": "^29.7.0", "eslint": "^8.57.0", "eslint-config-google": "^0.14.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jsdoc": "^48.0.4", "eslint-plugin-prettier": "^5.1.3", "husky": "^9.0.11", "is-ci": "^3.0.1", "jest": "^29.5.0", "jest-puppeteer": "^10.0.1", "js-yaml": "^4.1.0", "lint-staged": "^15.0.1", "npm-run-all": "^4.1.5", "prettier": "^3.2.4", "puppeteer": "^22.6.3", "rimraf": "^5.0.1", "ts-interface-builder": "^0.3.3", "ts-interface-checker": "^1.0.2", "ts-jest": "^29.1.0", "ts-node": "^10.9.1", "typedoc": "^0.25.7", "typescript": "^5.4.5", "typescript-eslint": "^7.8.0", "wait-for-expect": "^3.0.2" }, "optionalDependencies": { "bufferutil": "^4.0.7", "utf-8-validate": "^6.0.2" } }