mirror of
https://github.com/zhigang1992/wallet.git
synced 2026-01-12 22:53:27 +08:00
354 lines
12 KiB
JSON
354 lines
12 KiB
JSON
{
|
|
"name": "@stacks/wallet-web",
|
|
"description": "The Hiro Wallet is browser extension for interacting with Stacks apps.",
|
|
"private": true,
|
|
"version": "3.13.5",
|
|
"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: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": "yarn lint:eslint && yarn lint:prettier && yarn lint:unused-exports && yarn lint:deps && yarn lint:remote-wallet-config",
|
|
"lint:eslint": "eslint \"src/**/*.{ts,tsx}\"",
|
|
"lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix",
|
|
"lint:prettier": "prettier --check \"{src,tests}/**/*.{ts,tsx}\" \"*.{js,json}\"",
|
|
"lint:prettier:fix": "prettier --write \"{src,tests}/**/*.{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/integration/*",
|
|
"test:integration:ci": "jest --config=./jest.integration.config.js --testPathPattern=./tests/integration/*",
|
|
"test:integration-api": "jest --config=./jest.integration.config.js --verbose=true --runInBand --testPathPattern=./tests/test-api/*",
|
|
"test:integration-api:ci": "jest --config=./jest.integration.config.js --testPathPattern=./tests/test-api/*",
|
|
"test:unit": "cross-env TEST_ENV=true jest --forceExit --testPathIgnorePatterns=./tests/integration/*",
|
|
"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",
|
|
"prettier": "@stacks/prettier-config",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:hirosystems/stacks-wallet-web.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": {
|
|
"@coinbase/cbpay-js": "1.0.2",
|
|
"@emotion/core": "11.0.0",
|
|
"@emotion/css": "11.7.1",
|
|
"@emotion/react": "11.7.1",
|
|
"@emotion/styled": "11.6.0",
|
|
"@ledgerhq/hw-transport-webusb": "6.24.1",
|
|
"@noble/secp256k1": "1.5.5",
|
|
"@reach/alert": "0.15.3",
|
|
"@reach/auto-id": "0.15.3",
|
|
"@reach/rect": "0.15.3",
|
|
"@reach/utils": "0.15.3",
|
|
"@reach/visually-hidden": "0.15.2",
|
|
"@reduxjs/toolkit": "1.7.1",
|
|
"@segment/analytics-next": "1.31.1",
|
|
"@sentry/react": "6.16.1",
|
|
"@sentry/tracing": "6.16.1",
|
|
"@stacks/auth": "4.3.1",
|
|
"@stacks/blockchain-api-client": "4.0.1",
|
|
"@stacks/common": "4.3.0",
|
|
"@stacks/connect": "6.9.0",
|
|
"@stacks/connect-ui": "5.5.2",
|
|
"@stacks/encryption": "4.3.1",
|
|
"@stacks/network": "4.3.0",
|
|
"@stacks/rpc-client": "1.0.3",
|
|
"@stacks/storage": "4.3.1",
|
|
"@stacks/transactions": "4.3.1",
|
|
"@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": "4.3.1",
|
|
"@styled-system/theme-get": "5.1.2",
|
|
"@tippyjs/react": "4.2.6",
|
|
"@vkontakte/vk-qr": "2.0.13",
|
|
"@zondax/ledger-blockstack": "0.24.0",
|
|
"are-passive-events-supported": "1.1.1",
|
|
"argon2-browser": "1.18.0",
|
|
"assert": "2.0.0",
|
|
"base64url": "3.0.1",
|
|
"bignumber.js": "9.0.2",
|
|
"bitcoinjs-lib": "5.2.0",
|
|
"bn.js": "5.2.0",
|
|
"c32check": "1.1.3",
|
|
"capsize": "2.0.0",
|
|
"chroma-js": "2.1.2",
|
|
"compare-versions": "4.1.3",
|
|
"dayjs": "1.10.7",
|
|
"downshift": "6.1.7",
|
|
"ecdsa-sig-formatter": "1.0.11",
|
|
"fast-deep-equal": "3.1.3",
|
|
"formik": "2.2.9",
|
|
"jotai": "1.5.3",
|
|
"jsontokens": "3.0.0",
|
|
"limiter": "2.1.0",
|
|
"lodash.get": "4.4.2",
|
|
"mdi-react": "7.5.0",
|
|
"object-hash": "2.2.0",
|
|
"pino": "7.6.0",
|
|
"prismjs": "1.27.0",
|
|
"promise-memoize": "1.2.1",
|
|
"react": "17.0.2",
|
|
"react-async-hook": "4.0.0",
|
|
"react-dom": "17.0.2",
|
|
"react-hot-toast": "2.0.0",
|
|
"react-icons": "4.3.1",
|
|
"react-lottie": "1.2.3",
|
|
"react-query": "3.34.14",
|
|
"react-redux": "7.2.6",
|
|
"react-router-dom": "6.2.1",
|
|
"react-virtuoso": "2.6.0",
|
|
"redux-persist": "6.0.0",
|
|
"sha.js": "2.4.11",
|
|
"ts-debounce": "4",
|
|
"use-events": "1.4.2",
|
|
"use-latest": "1.2.0",
|
|
"valid-url": "1.0.9",
|
|
"webextension-polyfill": "0.9.0",
|
|
"yup": "0.32.11",
|
|
"zxcvbn": "4.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"@actions/core": "1.6.0",
|
|
"@babel/core": "7.16.5",
|
|
"@babel/plugin-proposal-class-properties": "7.16.5",
|
|
"@babel/plugin-transform-regenerator": "7.16.5",
|
|
"@babel/plugin-transform-runtime": "7.16.5",
|
|
"@babel/preset-env": "7.16.5",
|
|
"@babel/preset-react": "7.16.5",
|
|
"@babel/preset-typescript": "7.16.5",
|
|
"@babel/runtime": "7.16.5",
|
|
"@emotion/babel-preset-css-prop": "11.2.0",
|
|
"@emotion/cache": "11.7.1",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.4",
|
|
"@schemastore/web-manifest": "0.0.5",
|
|
"@stacks/connect-react": "18.0.0",
|
|
"@stacks/eslint-config": "1.0.10",
|
|
"@stacks/prettier-config": "0.0.10",
|
|
"@stacks/stacks-blockchain-api-types": "0.65.0",
|
|
"@swc-node/jest": "1.4.1",
|
|
"@testing-library/react": "12.0.0",
|
|
"@testing-library/react-hooks": "7.0.1",
|
|
"@testing-library/user-event": "13.1.9",
|
|
"@types/argon2-browser": "1.18.1",
|
|
"@types/chroma-js": "2.1.3",
|
|
"@types/chrome": "0.0.171",
|
|
"@types/copy-webpack-plugin": "10.1.0",
|
|
"@types/download": "8.0.1",
|
|
"@types/expect-puppeteer": "4.4.7",
|
|
"@types/html-webpack-plugin": "3.2.6",
|
|
"@types/jest": "27.0.3",
|
|
"@types/jest-dev-server": "5.0.0",
|
|
"@types/jsdom": "16.2.14",
|
|
"@types/just-debounce-it": "1.5.0",
|
|
"@types/lodash.get": "4.4.6",
|
|
"@types/node": "17.0.2",
|
|
"@types/object-hash": "2.2.1",
|
|
"@types/prismjs": "1.16.6",
|
|
"@types/promise-memoize": "1.2.1",
|
|
"@types/qrcode.react": "1.0.2",
|
|
"@types/react": "17.0.37",
|
|
"@types/react-dom": "17.0.11",
|
|
"@types/react-lottie": "1.2.6",
|
|
"@types/react-router-dom": "5.3.2",
|
|
"@types/react-test-renderer": "17.0.1",
|
|
"@types/redux-persist": "4.3.1",
|
|
"@types/remote-redux-devtools": "0.5.5",
|
|
"@types/segment-analytics": "0.0.34",
|
|
"@types/styled-system__theme-get": "5.0.2",
|
|
"@types/valid-url": "1.0.3",
|
|
"@types/webextension-polyfill": "0.9.0",
|
|
"@types/webpack": "5.28.0",
|
|
"@types/webpack-dev-server": "4.5.0",
|
|
"@types/zxcvbn": "4.4.1",
|
|
"audit-ci": "6.3.0",
|
|
"babel-loader": "8.2.3",
|
|
"base64-loader": "1.0.0",
|
|
"bip39": "3.0.4",
|
|
"blns": "2.0.4",
|
|
"browserslist": "4.19.1",
|
|
"chrome-webstore-upload-cli": "1.2.1",
|
|
"clean-webpack-plugin": "4.0.0",
|
|
"concurrently": "6.5.1",
|
|
"copy-webpack-plugin": "10.2.0",
|
|
"cross-env": "7.0.3",
|
|
"crypto-browserify": "3.12.0",
|
|
"deepmerge": "4.2.2",
|
|
"dependency-cruiser": "11.11.0",
|
|
"dotenv": "10.0.0",
|
|
"dotenv-webpack": "8.0.0",
|
|
"esbuild": "0.14.7",
|
|
"esbuild-loader": "2.18.0",
|
|
"eslint-plugin-deprecation": "1.2.1",
|
|
"eslint-plugin-react-hooks": "4.3.0",
|
|
"file-loader": "6.2.0",
|
|
"generate-json-webpack-plugin": "2.0.0",
|
|
"glob-parent": "6.0.2",
|
|
"html-webpack-plugin": "5.5.0",
|
|
"jest": "26.6.3",
|
|
"jest-chrome": "0.7.2",
|
|
"jest-circus": "27.3.1",
|
|
"jest-dev-server": "6.0.0",
|
|
"jest-junit": "13.0.0",
|
|
"msw": "0.31.0",
|
|
"playwright": "1.17.1",
|
|
"playwright-chromium": "1.17.1",
|
|
"playwright-core": "1.17.1",
|
|
"process": "0.11.10",
|
|
"progress-bar-webpack-plugin": "2.1.0",
|
|
"react-dev-utils": "12.0.0",
|
|
"react-refresh": "0.11.0",
|
|
"react-test-renderer": "17.0.2",
|
|
"redux-devtools-extension": "2.13.9",
|
|
"remote-redux-devtools": "0.5.16",
|
|
"schema-inspector": "2.0.1",
|
|
"speed-measure-webpack-plugin": "1.5.0",
|
|
"standard-version": "9.3.0",
|
|
"stream-browserify": "3.0.0",
|
|
"svg-url-loader": "7.1.1",
|
|
"ts-jest": "27.0.7",
|
|
"ts-loader": "9.2.6",
|
|
"ts-node": "10.4",
|
|
"ts-unused-exports": "7.0.3",
|
|
"tsconfig-paths-webpack-plugin": "3.5.2",
|
|
"typescript": "4.5.4",
|
|
"vm-browserify": "1.1.2",
|
|
"web-ext": "7.1.0",
|
|
"web-ext-submit": "7.1.0",
|
|
"webpack": "5.65.0",
|
|
"webpack-bundle-analyzer": "4.5.0",
|
|
"webpack-cli": "4.10.0",
|
|
"webpack-dev-server": "4.7.0",
|
|
"webpack-hot-middleware": "2.25.1"
|
|
},
|
|
"resolutions": {
|
|
"**/**/prismjs": "1.27.0",
|
|
"**/**/xmldom": "github:xmldom/xmldom#0.7.0",
|
|
"@redux-devtools/cli/**/tar": "4.4.18",
|
|
"@types/react": "17.0.37",
|
|
"@types/react-dom": "17.0.11",
|
|
"**/**/@stacks/transactions": "4.3.1",
|
|
"async": "2.6.4",
|
|
"bn.js": "5.2.0",
|
|
"buffer": "6.0.3",
|
|
"dot-prop": "6.0.1",
|
|
"hosted-git-info": "4.0.2",
|
|
"immer": "9.0.6",
|
|
"minimist": "npm:minimist-lite@2.2.0",
|
|
"mixme": "0.5.2",
|
|
"node-fetch": "2.6.7",
|
|
"node-forge": "1.3.0",
|
|
"normalize-url": "4.5.1",
|
|
"trim-newlines": "3.0.1",
|
|
"schema-inspector": "2.0.1",
|
|
"set-value": "4.1.0",
|
|
"follow-redirects": "1.14.7",
|
|
"ssri": "8.0.1",
|
|
"ws": "7.4.6"
|
|
},
|
|
"keywords": [
|
|
"blockstack",
|
|
"decentralized",
|
|
"react",
|
|
"emotion",
|
|
"stacks",
|
|
"stx",
|
|
"web3"
|
|
]
|
|
}
|