package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "name": "@polkawallet/js-api",
  3. "version": "3.2.1",
  4. "main": "index.js",
  5. "license": "Apache-2.0",
  6. "keywords": [
  7. "Polkadot",
  8. "Polkawallet"
  9. ],
  10. "author": "Shawn yang <dhryxy@gmail.com>",
  11. "maintainers": [
  12. "Shawn Yang <dhryxy@gmail.com>"
  13. ],
  14. "repository": {
  15. "type": "git",
  16. "url": "git+https://github.com/polkawallet-io/js_api.git"
  17. },
  18. "bugs": {
  19. "url": "https://github.com/polkawallet-io/js_api/issues"
  20. },
  21. "scripts": {
  22. "clean": "rm -f dist/*",
  23. "prebuild": "rm -f ../assets/*.js",
  24. "build": "yarn prebuild && yarn clean && webpack --mode production && yarn postbuild",
  25. "postbuild": "mv dist/*.js ../assets/",
  26. "build-dev": "webpack --mode development"
  27. },
  28. "resolutions": {
  29. "@acala-network/eth-providers": "^2.7.19",
  30. "@acala-network/sdk": "^4.1.11",
  31. "@polkadot/api": "^12.4.2",
  32. "@polkadot/rpc-provider": "^12.4.2",
  33. "@polkadot/types": "^12.4.2",
  34. "@polkadot/types-create": "^12.4.2",
  35. "@polkadot/types-codec": "^12.4.2",
  36. "@polkadot/util": "^13.0.2",
  37. "@polkadot/util-crypto": "^13.0.2",
  38. "@polkadot/keyring": "^13.0.2",
  39. "ethers": "^5.6.8"
  40. },
  41. "dependencies": {
  42. "@acala-network/eth-providers": "^2.7.19",
  43. "@acala-network/sdk": "^4.1.11",
  44. "@metamask/jazzicon": "^2.0.0",
  45. "@polkadot/api": "^12.4.2",
  46. "@polkadot/extension-dapp": "^0.43.2",
  47. "@polkadot/ui-shared": "^2.12.1",
  48. "@polkawallet/bridge": "^0.1.7-11",
  49. "@walletconnect/client": "^1.8.0",
  50. "@walletconnect/sign-client": "^2.9.0",
  51. "@walletconnect/utils": "^2.9.0",
  52. "assert": "^2.1.0",
  53. "axios": "^0.27.2",
  54. "core-js": "^3.33.2",
  55. "eth-sig-util": "^3.0.1",
  56. "ethers": "^5.6.8",
  57. "oo7-substrate": "^0.8.0",
  58. "process": "^0.11.10",
  59. "secp256k1": "^3.8.0",
  60. "web3": "^1.10.3"
  61. },
  62. "devDependencies": {
  63. "@babel/core": "^7.23.3",
  64. "@babel/plugin-proposal-class-properties": "^7.14.5",
  65. "@babel/plugin-proposal-private-methods": "^7.14.5",
  66. "@babel/plugin-transform-runtime": "^7.23.3",
  67. "@babel/preset-env": "^7.23.3",
  68. "@babel/preset-typescript": "^7.23.3",
  69. "@walletconnect/types": "^2.4.6",
  70. "babel-loader": "^8.0.6",
  71. "crypto-browserify": "^3.12.0",
  72. "eslint": "^6.8.0",
  73. "eslint-config-prettier": "^6.9.0",
  74. "eslint-plugin-prettier": "^3.1.2",
  75. "prettier": "^1.19.1",
  76. "source-map-loader": "^3.0.1",
  77. "stream-browserify": "^3.0.0",
  78. "typescript": "^4.9.5",
  79. "webpack": "^5.89.0",
  80. "webpack-cli": "^5.1.4"
  81. },
  82. "browserslist": {
  83. "production": [
  84. "chrome >= 67",
  85. "edge >= 79",
  86. "firefox >= 68",
  87. "opera >= 54",
  88. "safari >= 13",
  89. "android >= 56",
  90. "ios_saf >= 13"
  91. ],
  92. "development": [
  93. "last 1 chrome version",
  94. "last 1 firefox version",
  95. "last 1 safari version"
  96. ]
  97. },
  98. "packageManager": "yarn@3.2.1"
  99. }