|
24 | 24 | "ganache": "ganache-cli",
|
25 | 25 | "prepublishOnly": "run-s test build",
|
26 | 26 | "release": "standard-version",
|
27 |
| - "test": "jest --config ./jest.config.js" |
| 27 | + "test": "jest --config ./jest.config.js", |
| 28 | + "prepare": "husky install" |
28 | 29 | },
|
29 | 30 | "dependencies": {
|
30 | 31 | "@babel/runtime": "^7.15.4",
|
31 | 32 | "axios": "^0.21.0",
|
32 | 33 | "iframe": "^1.0.0",
|
33 | 34 | "js-sha3": "^0.8.0",
|
34 |
| - "multihashes": "0.4.14" |
| 35 | + "multihashes": "0.4.14", |
| 36 | + "v8-sandbox": "^2.2.2" |
35 | 37 | },
|
36 | 38 | "peerDependencies": {
|
37 | 39 | "web3": "^1.3.6"
|
|
43 | 45 | "@babel/plugin-transform-runtime": "^7.12.1",
|
44 | 46 | "@babel/preset-env": "^7.12.1",
|
45 | 47 | "assert": "^2.0.0",
|
| 48 | + "babel-eslint": "^10.1.0", |
46 | 49 | "babel-jest": "^26.6.1",
|
47 | 50 | "electron": "^13.1.6",
|
48 | 51 | "esdoc": "^1.1.0",
|
49 | 52 | "esdoc-ecmascript-proposal-plugin": "^1.0.0",
|
50 | 53 | "esdoc-standard-plugin": "^1.0.0",
|
| 54 | + "eslint": "^7.32.0", |
| 55 | + "eslint-config-prettier": "^8.3.0", |
| 56 | + "eslint-plugin-import": "^2.22.1", |
| 57 | + "eslint-plugin-prettier": "^3.4.0", |
51 | 58 | "ganache-cli": "^6.12.1",
|
52 | 59 | "ganache-core": "^2.13.2",
|
| 60 | + "husky": ">=6", |
53 | 61 | "jest": "^26.6.1",
|
54 | 62 | "jest-cli": "^26.6.1",
|
| 63 | + "lint-staged": ">=10", |
55 | 64 | "nock": "^13.0.4",
|
56 | 65 | "npm-run-all": "^4.1.5",
|
57 | 66 | "os-browserify": "^0.3.0",
|
| 67 | + "prettier": "2.2.1", |
| 68 | + "prettier-config-standard": "^4.0.0", |
58 | 69 | "solc": "0.4.25",
|
59 | 70 | "standard-version": "^9.0.0",
|
60 | 71 | "url": "^0.11.0",
|
61 | 72 | "util": "^0.12.3"
|
62 | 73 | },
|
63 | 74 | "volta": {
|
64 | 75 | "node": "14.17.3"
|
| 76 | + }, |
| 77 | + "lint-staged": { |
| 78 | + "*.js": "eslint --cache --fix" |
65 | 79 | }
|
66 | 80 | }
|
0 commit comments