-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
135 lines (135 loc) · 4.08 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "@provenanceio/wallet-utils",
"version": "0.0.0-development",
"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"
}
}
}