package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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 -rf dist/*",
  23. "prebuild": "rm -rf ../assets/*.js",
  24. "build": "webpack --mode production && yarn postbuild",
  25. "postbuild": "mv dist/*.js ../assets/",
  26. "build-dev": "webpack --mode development"
  27. },
  28. "resolutions": {
  29. "@polkadot/api": "^9.13.2",
  30. "@polkadot/rpc-provider": "^9.13.2",
  31. "@polkadot/types": "^9.13.2",
  32. "@polkadot/types-create": "^9.13.2",
  33. "@polkadot/types-codec": "^9.13.2",
  34. "@polkadot/util": "^10.2.1",
  35. "@polkadot/util-crypto": "^10.2.1",
  36. "@polkadot/keyring": "^10.2.1",
  37. "bn.js": "4.12.0",
  38. "ethers": "^5.6.8"
  39. },
  40. "dependencies": {
  41. "@metamask/jazzicon": "^2.0.0",
  42. "@polkadot/api": "^9.13.2",
  43. "@polkadot/extension-dapp": "^0.43.2",
  44. "@polkadot/ui-shared": "^2.2.1",
  45. "@polkawallet/bridge": "^0.0.5-18",
  46. "@walletconnect/client": "^1.8.0",
  47. "assert": "^2.0.0",
  48. "axios": "^0.27.2",
  49. "bn.js": "^5.1.2",
  50. "eth-sig-util": "^3.0.1",
  51. "ethers": "^5.6.8",
  52. "oo7-substrate": "^0.8.0",
  53. "process": "^0.11.10",
  54. "secp256k1": "^3.8.0",
  55. "web3": "^1.8.0"
  56. },
  57. "devDependencies": {
  58. "@babel/core": "^7.14.8",
  59. "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
  60. "@babel/plugin-transform-runtime": "^7.14.5",
  61. "@babel/preset-env": "^7.14.8",
  62. "@babel/preset-typescript": "^7.14.5",
  63. "babel-loader": "^8.0.6",
  64. "crypto-browserify": "^3.12.0",
  65. "eslint": "^6.8.0",
  66. "eslint-config-prettier": "^6.9.0",
  67. "eslint-plugin-prettier": "^3.1.2",
  68. "prettier": "^1.19.1",
  69. "source-map-loader": "^3.0.1",
  70. "stream-browserify": "^3.0.0",
  71. "typescript": "^4.9.4",
  72. "webpack": "^5.88.2",
  73. "webpack-cli": "^5.1.4"
  74. },
  75. "browserslist": {
  76. "production": [
  77. "chrome >= 67",
  78. "edge >= 79",
  79. "firefox >= 68",
  80. "opera >= 54",
  81. "safari >= 13",
  82. "android >= 56",
  83. "ios_saf >= 13"
  84. ],
  85. "development": [
  86. "last 1 chrome version",
  87. "last 1 firefox version",
  88. "last 1 safari version"
  89. ]
  90. },
  91. "packageManager": "yarn@3.2.1"
  92. }