@provenanceio/wallet-utils
Version:
Typescript Utilities for Provenance Blockchain Wallet
136 lines (135 loc) • 4.16 kB
JSON
{
"name": "@provenanceio/wallet-utils",
"version": "2.12.0",
"description": "Typescript Utilities for Provenance Blockchain Wallet",
"main": "lib/index.js",
"module": "esm/index.js",
"publishConfig": {
"access": "public"
},
"private": false,
"sideEffects": false,
"files": [
"lib",
"esm"
],
"scripts": {
"build": "npm run clean && npm run build:protos && npm run build:schemas && npm run build:commonjs && npm run build:esm && npm run tsc:esm && npm run tsc:commonjs",
"build:esm": "BABEL_ENV=esm babel src -d esm --extensions \".js,.jsx,.ts,.tsx\" --copy-files --ignore \"src/**/*.d.ts\"",
"build:commonjs": "BABEL_ENV=cjs babel ./src --extensions \".js,.jsx,.ts,.tsx\" -d lib --copy-files --ignore \"src/**/*.d.ts\"",
"build:docs": "npx typedoc src/index.ts",
"build:protos": "bash ./scripts/build_protos.sh",
"build:schemas": "json2ts -i third_party/schema -o src/types/schema/",
"clean": "rm -rf ./lib ./esm",
"commit": "npx cz",
"postbuild": "npm test && node ./scripts/checkCircularDeps.js",
"pull:protos": "bash ./scripts/pull_protos.sh v1.18.0-rc3",
"clean:protos": "rm -rf third_party/proto && rm -rf src/proto",
"prepare": "npm run build && husky install",
"tsc:esm": "tsc --module es2015 --outDir esm",
"tsc:commonjs": "tsc --module commonjs --outDir lib",
"semantic-release": "semantic-release",
"test": "jest"
},
"repository": {
"type": "git",
"url": "https://github.com/provenance-io/wallet-utils.git"
},
"keywords": [
"wallet",
"web3",
"blockchain",
"dapp",
"protoc",
"grpc",
"crypto",
"cryptocurrency"
],
"author": "Provenance Blockchain Foundation",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/provenance-io/wallet-utils/issues"
},
"homepage": "https://github.com/provenance-io/wallet-utils#readme",
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.17.12",
"@babel/plugin-proposal-class-properties": "^7.17.12",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.17.12",
"@babel/plugin-proposal-object-rest-spread": "^7.17.12",
"@babel/plugin-proposal-optional-chaining": "^7.17.12",
"@babel/plugin-transform-object-assign": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.17.12",
"@babel/preset-env": "^7.17.12",
"@babel/preset-typescript": "^7.17.12",
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"@grpc/grpc-js": "^1.6.7",
"@types/create-hash": "^1.2.2",
"@types/google-protobuf": "3.15.6",
"@types/jest": "^29.4.0",
"@types/secp256k1": "^4.0.3",
"babel-loader": "^8.2.5",
"chalk": "^4.1.2",
"commitizen": "^4.2.5",
"cz-conventional-changelog": "^3.3.0",
"dedent": "^0.7.0",
"eslint": "^8.15.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"grpc_tools_node_protoc_ts": "^5.3.2",
"husky": "^8.0.1",
"jest": "^29.4.3",
"jest-environment-jsdom": "^29.7.0",
"json-schema-to-typescript": "10.1.5",
"lint-staged": "^12.4.1",
"madge": "^5.0.1",
"prettier": "^2.6.2",
"protoc-gen-grpc-web": "1.4.0",
"regenerator-runtime": "^0.13.11",
"semantic-release": "^19.0.2",
"ts-jest": "^29.0.5",
"typedoc": "^0.22.15",
"typescript": "^4.6.4"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"prettier"
]
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx,jsx,css}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
},
"dependencies": {
"@tendermint/belt": "0.3.0",
"@tendermint/sig": "0.6.0",
"date-fns": "^2.29.3",
"google-protobuf": "^3.21.2",
"grpc-web": "1.2.0",
"secp256k1": "4.0.3",
"ts-pattern": "^4.0.5"
},
"release": {
"branches": [
"main"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}