|
16 | 16 | "deploy": "gh-pages -d build -m '[ci skip] Updates'" |
17 | 17 | }, |
18 | 18 | "dependencies": { |
19 | | - "@polkadot/api": "^3.9.3", |
20 | | - "@polkadot/extension-dapp": "^0.37.1", |
21 | | - "@polkadot/keyring": "^5.6.3", |
22 | | - "@polkadot/networks": "^5.6.3", |
23 | | - "@polkadot/types": "^3.9.3", |
24 | | - "@polkadot/ui-keyring": "^0.69.1", |
25 | | - "@polkadot/ui-settings": "^0.69.1", |
26 | | - "@polkadot/util": "^5.6.3", |
27 | | - "@polkadot/util-crypto": "^5.6.3", |
| 19 | + "@polkadot/api": "^4.8.1", |
| 20 | + "@polkadot/extension-dapp": "^0.38.1", |
| 21 | + "@polkadot/keyring": "^6.3.1", |
| 22 | + "@polkadot/networks": "^6.3.1", |
| 23 | + "@polkadot/types": "^4.8.1", |
| 24 | + "@polkadot/ui-keyring": "^0.75.1", |
| 25 | + "@polkadot/ui-settings": "^0.75.1", |
| 26 | + "@polkadot/util": "^6.3.1", |
| 27 | + "@polkadot/util-crypto": "^6.3.1", |
28 | 28 | "prop-types": "^15.7.2", |
29 | 29 | "query-string": "^6.13.5", |
30 | 30 | "react": "^16.14.0", |
31 | 31 | "react-copy-to-clipboard": "^5.0.3", |
32 | 32 | "react-dom": "^16.14.0", |
33 | | - "react-scripts": "^4.0.2", |
| 33 | + "react-scripts": "^4.0.3", |
34 | 34 | "semantic-ui-css": "^2.4.1", |
35 | 35 | "semantic-ui-react": "^2.0.3" |
36 | 36 | }, |
37 | 37 | "devDependencies": { |
| 38 | + "@babel/core": "^7.14.3", |
| 39 | + "babel-preset-env": "^1.7.0", |
38 | 40 | "eslint": "^7.20.0", |
39 | 41 | "eslint-config-semistandard": "^15.0.1", |
40 | 42 | "eslint-config-standard": "^16.0.2", |
|
80 | 82 | "substrate", |
81 | 83 | "substrate-ui", |
82 | 84 | "polkadot-js" |
83 | | - ] |
| 85 | + ], |
| 86 | + "jest": { |
| 87 | + "modulePathIgnorePatterns": [ |
| 88 | + "<rootDir>/src/__tests__/mock.js" |
| 89 | + ], |
| 90 | + "moduleNameMapper": { |
| 91 | + "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/__mocks__/fileMock.js", |
| 92 | + "\\.(css|less)$": "<rootDir>/src/__tests__/mock.js" |
| 93 | + } |
| 94 | + } |
84 | 95 | } |
0 commit comments