UNPKG

@0xtemple/client

Version:
157 lines 4.22 kB
{ "name": "@0xtemple/client", "version": "0.0.3", "description": "Tookit for interacting with vara eps framework", "keywords": [ "vara", "temples labs", "blockchain" ], "author": "team@temples.build", "homepage": "https://github.com/0xtempl/temples-engine/tree/main/packages/client#readme", "bugs": "https://github.com/0xtempl/temples-engine/issues", "repository": { "type": "git", "url": "https://github.com/0xtempl/temples-engine.git" }, "license": "Apache-2.0", "publishConfig": { "access": "public" }, "engines": { "node": ">=18" }, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "source": "./src/index.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" } }, "files": [ "dist", "src" ], "dependencies": { "@gear-js/api": "^0.36.5", "@noble/curves": "^1.2.0", "@noble/hashes": "^1.3.2", "@polkadot/api": "^10.11.2", "@polkadot/api-contract": "^10.11.2", "@polkadot/keyring": "^12.3.1", "@polkadot/types": "^10.11.2", "@polkadot/util": "^12.6.2", "@polkadot/util-crypto": "^12.6.2", "@scure/bip39": "^1.2.1", "assert": "^2.1.0", "colorts": "^0.1.63", "husky": "^8.0.3", "keccak256": "^1.0.6", "process": "^0.11.10", "rxjs": "^7.8.1", "superstruct": "^1.0.3", "tmp": "^0.2.1", "ts-retry-promise": "^0.7.1", "tweetnacl": "^1.0.3" }, "peerDependencies": { "@gear-js/api": "^0.36.5" }, "devDependencies": { "@commitlint/cli": "^18.0.0", "@commitlint/config-conventional": "^18.0.0", "@commitlint/prompt-cli": "^18.0.0", "@types/node": "^20.8.7", "@types/tmp": "^0.2.5", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", "dotenv": "^16.3.1", "eslint": "^8.52.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.1", "lint-staged": "^15.0.2", "prettier": "^2.8.8", "ts-node": "^10.9.1", "tsconfig-paths": "^4.2.0", "tsup": "^7.1.0", "typedoc": "^0.25.2", "typescript": "^5.0.4" }, "lint-staged": { "**/*.ts": [ "pnpm run format:fix", "pnpm run lint:fix" ], "**/*.json|md": [ "pnpm run format:fix" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "prettier": { "trailingComma": "es5", "tabWidth": 2, "semi": true, "singleQuote": true, "useTabs": false, "quoteProps": "as-needed", "bracketSpacing": true, "arrowParens": "always", "endOfLine": "lf" }, "eslintConfig": { "root": true, "env": { "browser": true, "node": true, "es2022": true }, "extends": [ "eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:prettier/recommended" ], "plugins": [ "@typescript-eslint", "prettier" ], "parser": "@typescript-eslint/parser", "rules": { "prettier/prettier": "warn", "@typescript-eslint/no-explicit-any": "off", "no-unused-vars": "off", "@typescript-eslint/no-unused-vars": [ "error", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_", "caughtErrorsIgnorePattern": "^_" } ] } }, "scripts": { "clean": "rm -rf tsconfig.tsbuildinfo ./dist", "build": "npm run build:types && npm run build:tsup", "build:tsup": "tsup ./src/index.ts --format esm,cjs --sourcemap", "build:types": "tsc --build", "watch:tsup": "tsup ./src/index.ts --format esm,cjs --clean --splitting --watch", "watch:types": "tsc --watch", "watch": "pnpm run clean & pnpm run watch:types & pnpm run watch:tsup", "test": "pnpm test:typecheck && pnpm test:unit", "test:typecheck": "tsc -p ./test", "format:fix": "prettier --ignore-path 'dist/* docs/*' --write '**/*.{ts,json,md}'", "lint:fix": "eslint . --ignore-pattern dist --ext .ts --fix", "commit": "commit", "doc": "typedoc --out docs src/index.ts", "chalk": "^5.0.1", "prettier": "^2.8.4", "prettier-plugin-rust": "^0.1.9" } }