UNPKG

@dioxide-js/web3.js

Version:

dioxide javascript API

100 lines (99 loc) 3 kB
{ "name": "@dioxide-js/web3.js", "version": "0.0.14", "description": "dioxide javascript API", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", "browser": "./dist/main.bundle.js", "typings": "./lib/types/index.d.ts", "keywords": [ "dioxide", "web3", "blockchain" ], "exports": { ".": { "types": "./lib/types/index.d.ts", "import": "./lib/esm/index.js", "require": "./lib/commonjs/index.js", "browser": "./dist/main.bundle.js" }, "./lib/esm/index.js": { "import": "./lib/esm/index.js" }, "./lib/esm/web3": { "import": "./lib/esm/web3/index.js" }, "./lib/commonjs/index.js": { "require": "./lib/commonjs/index.js" } }, "engines": { "node": ">=18.16.0" }, "files": [ "lib/**/*", "src/**/*", "dist/**/*" ], "scripts": { "build": "concurrently --kill-others-on-fail \"yarn:build:*(!check) \"", "build:pre": "node ./prebuild", "build:cjs": "tsc --build tsconfig.cjs.json && node ./cjspkg", "build:esm": "tsc --build tsconfig.esm.json && node ./esmpkg", "build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs && node ./browserpkg", "build:types": "tsc --build tsconfig.types.json", "build:check": "node -e \"require('./lib')\"", "lint": "eslint --cache --cache-strategy content --ext .ts .", "lint:fix": "eslint --fix --ext .js,.ts .", "test": "jest --clearCache && jest --config ./test/unit/jest.config.js", "watch": "onchange \"src/**/*\" -e \"src/constants/version.ts\" -- yarn build" }, "author": "dioxide", "license": "MIT", "devDependencies": { "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.1", "@types/jest": "^29.5.14", "@typescript-eslint/eslint-plugin": "^8.13.0", "@typescript-eslint/parser": "^8.13.0", "concurrently": "^9.0.1", "eslint": "8", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "jest": "^29.7.0", "jest-extended": "^4.0.2", "onchange": "^7.1.0", "prettier": "^3.3.3", "rollup": "^4.39.0", "rollup-plugin-node-polyfills": "^0.2.1", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.36.0", "ts-jest": "^29.3.1", "typescript": "^5.8.3" }, "dependencies": { "@noble/ed25519": "1.6.0", "@types/json-bigint": "^1.0.4", "@types/node-fetch": "^2.6.11", "@types/sha256": "^0.2.2", "base32-decode": "1.0.0", "base32-encode": "1", "base64-arraybuffer": "1.0.2", "buffer": "^6.0.3", "crc-32": "1.2.2", "crypto-browserify": "^3.12.1", "dotenv": "^16.4.5", "js-sha256": "0.10.1", "js-sha512": "0.8.0", "json-bigint": "1.0.0", "node-fetch": "2", "path-browserify": "^1.0.1", "query-string": "7.1.1", "sha256": "0.2.0", "stream-browserify": "^3.0.0", "ts-loader": "^9.5.2", "vm-browserify": "^1.1.2" } }