mirror of
https://github.com/zhigang1992/wallet.git
synced 2026-01-12 17:53:19 +08:00
343 lines
12 KiB
JSON
343 lines
12 KiB
JSON
{
|
|
"name": "@stacks/wallet-web",
|
|
"description": "The Hiro Wallet is browser extension for interacting with Stacks apps",
|
|
"private": true,
|
|
"version": "4.22.0",
|
|
"author": "Hiro Systems PBC",
|
|
"scripts": {
|
|
"dev": "cross-env NODE_ENV=development concurrently --raw 'node webpack/dev-server.js' 'redux-devtools --hostname=localhost --port=8000'",
|
|
"dev:test-app": "webpack serve --config test-app/webpack/webpack.config.dev.js",
|
|
"build": "cross-env NODE_ENV=production EXT_ENV=prod webpack --config webpack/webpack.config.prod.js",
|
|
"build:analyze": "cross-env ANALYZE=true NODE_ENV=production EXT_ENV=prod webpack --config webpack/webpack.config.prod.js",
|
|
"build:dev": "cross-env NODE_ENV=development EXT_ENV=development webpack --config webpack/webpack.config.dev.js",
|
|
"build:ext:test": "cross-env NODE_ENV=production TEST_ENV=true EXT_ENV=prod webpack --config webpack/webpack.config.prod.js",
|
|
"build:ext:test:watch": "cross-env NODE_ENV=production TEST_ENV=true EXT_ENV=prod webpack --config webpack/webpack.config.prod.js --watch",
|
|
"build:test-app": "cross-env NODE_ENV=production EXT_ENV=prod webpack --config ./test-app/webpack/webpack.config.prod.js",
|
|
"build:test": "concurrently 'yarn build:ext:test' 'yarn build:test-app'",
|
|
"build:test-api": "concurrently 'yarn build:ext:test' 'yarn build:test-app'",
|
|
"build:test:watch": "cross-env NODE_ENV=test EXT_ENV=watch webpack --config webpack/webpack.config.prod.js",
|
|
"clean": "rm -rf ./dist",
|
|
"clean:all": "rm -rf ./dist && rm -rf ./coverage && rm -rf ./node_modules",
|
|
"lint": "concurrently -g 'yarn lint:prettier' 'yarn lint:unused-exports' 'yarn lint:deps' 'yarn lint:remote-wallet-config' 'yarn lint:eslint' 'yarn lint:filename'",
|
|
"lint:eslint": "eslint \"src/**/*.{ts,tsx}\"",
|
|
"lint:filename": "ls-lint",
|
|
"lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix",
|
|
"lint:prettier": "prettier --check \"{src,tests,tests-legacy}/**/*.{ts,tsx}\" \"*.{js,json}\"",
|
|
"lint:prettier:fix": "prettier --write \"{src,tests,tests-legacy}/**/*.{ts,tsx}\" *.js",
|
|
"lint:unused-exports": "ts-unused-exports tsconfig.json",
|
|
"lint:remote-wallet-config": "npx ajv-cli validate -s config/wallet-config.schema.json -d config/wallet-config.json",
|
|
"lint:deps": "dependency-cruise --config .dependency-cruiser.js \"src/**/*.{ts,tsx}\"",
|
|
"prod:ext": "yarn build",
|
|
"prod:analyze": "cross-env NODE_ENV=production ANALYZE=true webpack -p",
|
|
"test:integration": "jest --config=./jest.integration.config.js --verbose=true --runInBand --testPathPattern=./tests-legacy/integration/*",
|
|
"test:integration:ci": "jest --config=./jest.integration.config.js --testPathPattern=./tests-legacy/integration/*",
|
|
"test:integration-api": "jest --config=./jest.integration.config.js --verbose=true --runInBand --testPathPattern=./tests-legacy/test-api/*",
|
|
"test:integration-api:ci": "jest --config=./jest.integration.config.js --testPathPattern=./tests-legacy/test-api/*",
|
|
"test:unit": "vitest run",
|
|
"test": "NODE_ENV=test jest --verbose=true",
|
|
"test:coverage": "NODE_ENV=test jest --collect-coverage",
|
|
"test:watch": "NODE_ENV=test jest --watch",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:hirosystems/wallet.git"
|
|
},
|
|
"webExt": {
|
|
"sourceDir": "dist/"
|
|
},
|
|
"release": {
|
|
"branches": [
|
|
{
|
|
"name": "beta",
|
|
"prerelease": true
|
|
},
|
|
"main"
|
|
],
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
"releaseRules": [
|
|
{
|
|
"type": "refactor",
|
|
"release": "patch"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/release-notes-generator",
|
|
{
|
|
"preset": "conventionalcommits",
|
|
"parserOpts": {
|
|
"noteKeywords": [
|
|
"BREAKING CHANGE",
|
|
"BREAKING CHANGES",
|
|
"BREAKING"
|
|
]
|
|
},
|
|
"presetConfig": {
|
|
"types": [
|
|
{
|
|
"type": "feat",
|
|
"section": "Features"
|
|
},
|
|
{
|
|
"type": "fix",
|
|
"section": "Bug Fixes"
|
|
},
|
|
{
|
|
"type": "chore",
|
|
"section": "Internal",
|
|
"hidden": false
|
|
},
|
|
{
|
|
"type": "refactor",
|
|
"section": "Internal",
|
|
"hidden": false
|
|
},
|
|
{
|
|
"type": "perf",
|
|
"section": "Internal",
|
|
"hidden": false
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/npm",
|
|
{
|
|
"npmPublish": false
|
|
}
|
|
],
|
|
"@semantic-release/changelog",
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@bitcoinerlab/secp256k1": "1.0.2",
|
|
"@coinbase/cbpay-js": "1.0.2",
|
|
"@emotion/core": "11.0.0",
|
|
"@emotion/css": "11.10.5",
|
|
"@emotion/react": "11.10.5",
|
|
"@emotion/styled": "11.10.5",
|
|
"@fungible-systems/zone-file": "2.0.0",
|
|
"@hirosystems/token-metadata-api-client": "1.0.3",
|
|
"@ledgerhq/hw-transport-webusb": "6.27.10",
|
|
"@noble/hashes": "1.3.0",
|
|
"@noble/secp256k1": "1.7.1",
|
|
"@reduxjs/toolkit": "1.9.2",
|
|
"@scure/base": "1.1.1",
|
|
"@scure/bip32": "1.3.0",
|
|
"@scure/bip39": "1.2.0",
|
|
"@scure/btc-signer": "0.5.1",
|
|
"@segment/analytics-next": "1.51.5",
|
|
"@sentry/react": "7.35.0",
|
|
"@sentry/tracing": "7.35.0",
|
|
"@stacks/auth": "6.1.1",
|
|
"@stacks/blockchain-api-client": "6.3.4",
|
|
"@stacks/common": "6.0.0",
|
|
"@stacks/connect": "7.2.1",
|
|
"@stacks/connect-ui": "6.0.0",
|
|
"@stacks/encryption": "6.1.1",
|
|
"@stacks/network": "6.5.2",
|
|
"@stacks/profile": "6.1.1",
|
|
"@stacks/rpc-client": "1.0.3",
|
|
"@stacks/storage": "6.1.1",
|
|
"@stacks/transactions": "6.5.2",
|
|
"@stacks/ui": "7.10.0",
|
|
"@stacks/ui-core": "7.3.0",
|
|
"@stacks/ui-theme": "7.5.0",
|
|
"@stacks/ui-utils": "7.5.0",
|
|
"@stacks/wallet-sdk": "6.2.0",
|
|
"@styled-system/theme-get": "5.1.2",
|
|
"@tanstack/query-sync-storage-persister": "4.24.4",
|
|
"@tanstack/react-query": "4.24.4",
|
|
"@tanstack/react-query-devtools": "4.24.4",
|
|
"@tanstack/react-query-persist-client": "4.24.4",
|
|
"@tippyjs/react": "4.2.6",
|
|
"@typescript-eslint/eslint-plugin": "5.59.0",
|
|
"@vkontakte/vk-qr": "2.0.13",
|
|
"@zondax/ledger-stacks": "1.0.3",
|
|
"are-passive-events-supported": "1.1.1",
|
|
"argon2-browser": "1.18.0",
|
|
"assert": "2.0.0",
|
|
"base64url": "3.0.1",
|
|
"bignumber.js": "9.1.1",
|
|
"bitcoin-address-validation": "2.2.1",
|
|
"bitcoinjs-lib": "6.1.0",
|
|
"bn.js": "5.2.1",
|
|
"c32check": "2.0.0",
|
|
"chroma-js": "2.4.2",
|
|
"coinselect": "3.1.13",
|
|
"compare-versions": "4.1.3",
|
|
"dayjs": "1.11.7",
|
|
"dompurify": "3.0.1",
|
|
"downshift": "6.1.7",
|
|
"ecdsa-sig-formatter": "1.0.11",
|
|
"ecpair": "2.1.0",
|
|
"formik": "2.2.9",
|
|
"jotai": "1.13.1",
|
|
"jotai-redux": "0.1.0",
|
|
"jsontokens": "4.0.1",
|
|
"limiter": "2.1.0",
|
|
"lodash.get": "4.4.2",
|
|
"mdi-react": "7.5.0",
|
|
"micro-packed": "0.3.2",
|
|
"object-hash": "3.0.0",
|
|
"pino": "8.8.0",
|
|
"prismjs": "1.29.0",
|
|
"promise-memoize": "1.2.1",
|
|
"punycode": "2.3.0",
|
|
"react": "18.2.0",
|
|
"react-animate-height": "3.1.0",
|
|
"react-async-hook": "4.0.0",
|
|
"react-dom": "18.2.0",
|
|
"react-hot-toast": "2.4.0",
|
|
"react-icons": "4.7.1",
|
|
"react-lottie": "1.2.3",
|
|
"react-redux": "8.0.5",
|
|
"react-router-dom": "6.8.1",
|
|
"react-virtuoso": "4.0.8",
|
|
"redux-persist": "6.0.0",
|
|
"rxjs": "7.8.0",
|
|
"ts-debounce": "4.0.0",
|
|
"use-events": "1.4.2",
|
|
"use-latest": "1.2.1",
|
|
"valid-url": "1.0.9",
|
|
"varuint-bitcoin": "1.1.2",
|
|
"webextension-polyfill": "0.10.0",
|
|
"yup": "0.32.11",
|
|
"zxcvbn": "4.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"@actions/core": "1.10.0",
|
|
"@babel/core": "7.20.12",
|
|
"@babel/preset-react": "7.18.6",
|
|
"@babel/preset-typescript": "7.18.6",
|
|
"@btckit/types": "0.0.16",
|
|
"@emotion/babel-plugin": "11.10.5",
|
|
"@emotion/babel-preset-css-prop": "11.10.0",
|
|
"@emotion/cache": "11.10.5",
|
|
"@ls-lint/ls-lint": "1.11.2",
|
|
"@playwright/test": "1.30.0",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
|
|
"@redux-devtools/cli": "2.0.0",
|
|
"@redux-devtools/remote": "0.8.0",
|
|
"@schemastore/web-manifest": "0.0.5",
|
|
"@sentry/webpack-plugin": "1.20.0",
|
|
"@stacks/connect-react": "22.0.1",
|
|
"@stacks/prettier-config": "0.0.10",
|
|
"@stacks/stacks-blockchain-api-types": "6.3.4",
|
|
"@swc-node/jest": "1.5.6",
|
|
"@swc/core": "1.3.32",
|
|
"@trivago/prettier-plugin-sort-imports": "4.0.0",
|
|
"@types/argon2-browser": "1.18.1",
|
|
"@types/chroma-js": "2.1.4",
|
|
"@types/chrome": "0.0.211",
|
|
"@types/dompurify": "2.4.0",
|
|
"@types/download": "8.0.2",
|
|
"@types/expect-puppeteer": "5.0.2",
|
|
"@types/html-webpack-plugin": "3.2.6",
|
|
"@types/jest": "29.2.6",
|
|
"@types/jest-dev-server": "5.0.0",
|
|
"@types/jsdom": "20.0.1",
|
|
"@types/lodash.get": "4.4.7",
|
|
"@types/node": "18.11.18",
|
|
"@types/object-hash": "3.0.2",
|
|
"@types/prismjs": "1.26.0",
|
|
"@types/promise-memoize": "1.2.1",
|
|
"@types/punycode": "2.1.0",
|
|
"@types/qrcode.react": "1.0.2",
|
|
"@types/react": "18.0.27",
|
|
"@types/react-dom": "18.0.10",
|
|
"@types/react-lottie": "1.2.6",
|
|
"@types/react-router-dom": "5.3.3",
|
|
"@types/remote-redux-devtools": "0.5.5",
|
|
"@types/styled-system__theme-get": "5.0.2",
|
|
"@types/valid-url": "1.0.3",
|
|
"@types/webextension-polyfill": "0.10.0",
|
|
"@types/webpack": "5.28.0",
|
|
"@types/zxcvbn": "4.4.1",
|
|
"@typescript-eslint/parser": "5.59.0",
|
|
"@vitest/coverage-istanbul": "0.30.1",
|
|
"audit-ci": "6.6.1",
|
|
"babel-loader": "9.1.2",
|
|
"base64-loader": "1.0.0",
|
|
"bip32": "4.0.0",
|
|
"bip39": "3.1.0",
|
|
"blns": "2.0.4",
|
|
"browserslist": "4.21.5",
|
|
"chrome-webstore-upload-cli": "2.1.0",
|
|
"clean-webpack-plugin": "4.0.0",
|
|
"concurrently": "7.6.0",
|
|
"conventional-changelog-conventionalcommits": "5.0.0",
|
|
"copy-webpack-plugin": "11.0.0",
|
|
"cross-env": "7.0.3",
|
|
"crypto-browserify": "3.12.0",
|
|
"deepmerge": "4.2.2",
|
|
"dependency-cruiser": "12.7.0",
|
|
"dotenv-webpack": "8.0.1",
|
|
"esbuild": "0.17.5",
|
|
"esbuild-loader": "2.21.0",
|
|
"eslint-plugin-deprecation": "1.4.1",
|
|
"eslint-plugin-react": "7.32.2",
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
"file-loader": "6.2.0",
|
|
"generate-json-webpack-plugin": "2.0.0",
|
|
"html-webpack-plugin": "5.5.0",
|
|
"jest": "29.3.1",
|
|
"jest-chrome": "0.8.0",
|
|
"jest-circus": "29.3.1",
|
|
"jest-dev-server": "6.2.0",
|
|
"jsdom": "21.1.0",
|
|
"playwright": "1.30.0",
|
|
"prettier": "2.8.3",
|
|
"process": "0.11.10",
|
|
"progress-bar-webpack-plugin": "2.1.0",
|
|
"react-dev-utils": "12.0.1",
|
|
"react-refresh": "0.14.0",
|
|
"schema-inspector": "2.0.2",
|
|
"speed-measure-webpack-plugin": "1.5.0",
|
|
"stream-browserify": "3.0.0",
|
|
"svg-url-loader": "8.0.0",
|
|
"ts-jest": "29.0.5",
|
|
"ts-node": "10.9.1",
|
|
"ts-unused-exports": "7.0.3",
|
|
"tsconfig-paths-webpack-plugin": "4.0.0",
|
|
"typescript": "4.9.5",
|
|
"vitest": "0.30.1",
|
|
"vm-browserify": "1.1.2",
|
|
"web-ext": "7.4.0",
|
|
"web-ext-submit": "7.4.0",
|
|
"webpack": "5.75.0",
|
|
"webpack-bundle-analyzer": "4.7.0",
|
|
"webpack-cli": "5.0.1",
|
|
"webpack-dev-server": "4.11.1",
|
|
"webpack-hot-middleware": "2.25.3"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "17.0.2",
|
|
"@types/react-dom": "17.0.2",
|
|
"socket.io-parser": "4.2.2"
|
|
},
|
|
"keywords": [
|
|
"blockstack",
|
|
"decentralized",
|
|
"react",
|
|
"emotion",
|
|
"stacks",
|
|
"stx",
|
|
"web3"
|
|
]
|
|
}
|