package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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.6.5",
  30. "@acala-network/sdk": "^4.1.8-14",
  31. "@polkadot/api": "^10.9.1",
  32. "@polkadot/rpc-provider": "^10.9.1",
  33. "@polkadot/types": "^10.9.1",
  34. "@polkadot/types-create": "^10.9.1",
  35. "@polkadot/types-codec": "^10.9.1",
  36. "@polkadot/util": "^12.3.2",
  37. "@polkadot/util-crypto": "^12.3.2",
  38. "@polkadot/keyring": "^12.3.2",
  39. "@polkawallet/bridge": "^0.1.5-9",
  40. "bn.js": "4.12.0",
  41. "ethers": "^5.6.8"
  42. },
  43. "dependencies": {
  44. "@acala-network/eth-providers": "^2.6.5",
  45. "@acala-network/sdk": "^4.1.8-14",
  46. "@metamask/jazzicon": "^2.0.0",
  47. "@polkadot/api": "^10.9.1",
  48. "@polkadot/extension-dapp": "^0.43.2",
  49. "@polkadot/ui-shared": "^2.2.1",
  50. "@polkawallet/bridge": "^0.1.5-9",
  51. "@walletconnect/client": "^1.8.0",
  52. "@walletconnect/sign-client": "^2.9.0",
  53. "@walletconnect/utils": "^2.9.0",
  54. "assert": "^2.0.0",
  55. "axios": "^0.27.2",
  56. "bn.js": "^5.1.2",
  57. "core-js": "3",
  58. "eth-sig-util": "^3.0.1",
  59. "ethers": "^5.6.8",
  60. "oo7-substrate": "^0.8.0",
  61. "process": "^0.11.10",
  62. "secp256k1": "^3.8.0",
  63. "web3": "^1.8.0"
  64. },
  65. "devDependencies": {
  66. "@babel/core": "^7.14.8",
  67. "@babel/plugin-proposal-class-properties": "^7.14.5",
  68. "@babel/plugin-proposal-private-methods": "^7.14.5",
  69. "@babel/plugin-transform-runtime": "^7.14.5",
  70. "@babel/preset-env": "^7.14.8",
  71. "@babel/preset-typescript": "^7.14.5",
  72. "@walletconnect/types": "^2.4.6",
  73. "babel-loader": "^8.0.6",
  74. "crypto-browserify": "^3.12.0",
  75. "eslint": "^6.8.0",
  76. "eslint-config-prettier": "^6.9.0",
  77. "eslint-plugin-prettier": "^3.1.2",
  78. "prettier": "^1.19.1",
  79. "source-map-loader": "^3.0.1",
  80. "stream-browserify": "^3.0.0",
  81. "typescript": "^4.9.4",
  82. "webpack": "^5.65.0",
  83. "webpack-cli": "^4.9.2"
  84. },
  85. "browserslist": {
  86. "production": [
  87. "chrome >= 67",
  88. "edge >= 79",
  89. "firefox >= 68",
  90. "opera >= 54",
  91. "safari >= 13",
  92. "android >= 56",
  93. "ios_saf >= 13"
  94. ],
  95. "development": [
  96. "last 1 chrome version",
  97. "last 1 firefox version",
  98. "last 1 safari version"
  99. ]
  100. },
  101. "packageManager": "yarn@3.2.1"
  102. }