mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
70 lines
2.4 KiB
JSON
70 lines
2.4 KiB
JSON
{
|
|
"name": "@cosmjs/crypto",
|
|
"version": "0.21.0",
|
|
"description": "Cryptography resources for blockchain projects",
|
|
"contributors": [
|
|
"IOV SAS <admin@iov.one>",
|
|
"Simon Warta"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"main": "build/index.js",
|
|
"types": "types/index.d.ts",
|
|
"files": [
|
|
"build/",
|
|
"types/",
|
|
"*.md",
|
|
"!*.spec.*",
|
|
"!**/testdata/"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/crypto"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"docs": "shx rm -rf docs && typedoc --options typedoc.js",
|
|
"lint": "eslint --max-warnings 0 \"**/*.{js,ts}\"",
|
|
"lint-fix": "eslint --max-warnings 0 \"**/*.{js,ts}\" --fix",
|
|
"format": "prettier --write --loglevel warn \"./src/**/*.ts\"",
|
|
"format-text": "prettier --write --prose-wrap always --print-width 80 \"./*.md\"",
|
|
"test-node": "node jasmine-testrunner.js",
|
|
"test-edge": "yarn pack-web && karma start --single-run --browsers Edge",
|
|
"test-firefox": "yarn pack-web && karma start --single-run --browsers Firefox",
|
|
"test-chrome": "yarn pack-web && karma start --single-run --browsers ChromeHeadless",
|
|
"test-safari": "yarn pack-web && karma start --single-run --browsers Safari",
|
|
"test": "yarn build-or-skip && yarn test-node",
|
|
"coverage": "nyc --reporter=text --reporter=lcov yarn test --quiet",
|
|
"move-types": "shx rm -r ./types/* && shx mv build/types/* ./types && rm -rf ./types/testdata && shx rm -f ./types/*.spec.d.ts",
|
|
"format-types": "prettier --write --loglevel warn \"./types/**/*.d.ts\"",
|
|
"build": "shx rm -rf ./build && tsc && yarn move-types && yarn format-types",
|
|
"build-or-skip": "[ -n \"$SKIP_BUILD\" ] || yarn build",
|
|
"pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js"
|
|
},
|
|
"dependencies": {
|
|
"@cosmjs/encoding": "^0.21.0",
|
|
"@cosmjs/math": "^0.21.0",
|
|
"@cosmjs/utils": "^0.21.0",
|
|
"bip39": "^3.0.2",
|
|
"bn.js": "^4.11.8",
|
|
"elliptic": "^6.4.0",
|
|
"js-sha3": "^0.8.0",
|
|
"libsodium-wrappers": "^0.7.6",
|
|
"pbkdf2": "^3.0.16",
|
|
"ripemd160": "^2.0.2",
|
|
"sha.js": "^2.4.11",
|
|
"type-tagger": "^1.0.0",
|
|
"unorm": "^1.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bn.js": "^4.11.6",
|
|
"@types/elliptic": "^6.4.12",
|
|
"@types/libsodium-wrappers": "^0.7.7",
|
|
"@types/pbkdf2": "^3.0.0",
|
|
"@types/ripemd160": "^2.0.0",
|
|
"@types/sha.js": "^2.4.0",
|
|
"@types/unorm": "^1.3.27"
|
|
}
|
|
}
|