forked from MetaMask/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 3.56 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "@metamask/controllers",
"version": "8.0.0",
"description": "Collection of platform-agnostic modules for creating secure data models for cryptocurrency wallets",
"license": "MIT",
"files": [
"dist/"
],
"engines": {
"node": ">=12.0.0"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"scripts": {
"prepublishOnly": "yarn build",
"lint:eslint": "eslint . --cache --ext js,ts",
"lint:json": "prettier '**/*.json' --ignore-path .gitignore",
"lint": "yarn lint:eslint && yarn lint:json --check",
"lint:fix": "yarn lint:eslint --fix && yarn lint:json --write",
"test": "jest --coverage",
"build": "rm -rf dist && tsc",
"build:watch": "yarn build && tsc -w",
"build:link": "yarn build && cd dist && yarn link && rm -rf node_modules && cd ..",
"doc": "typedoc && touch docs/.nojekyll"
},
"homepage": "https://github.com/MetaMask/controllers#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/MetaMask/controllers.git"
},
"keywords": [
"MetaMask",
"Ethereum"
],
"bugs": {
"url": "https://github.com/MetaMask/controllers/issues"
},
"dependencies": {
"@metamask/contract-metadata": "^1.25.0",
"@types/uuid": "^8.3.0",
"async-mutex": "^0.2.6",
"babel-runtime": "^6.26.0",
"eth-ens-namehash": "^2.0.8",
"eth-json-rpc-infura": "^5.1.0",
"eth-keyring-controller": "^6.1.0",
"eth-method-registry": "1.1.0",
"eth-phishing-detect": "^1.1.13",
"eth-query": "^2.1.2",
"eth-rpc-errors": "^4.0.0",
"eth-sig-util": "^3.0.0",
"ethereumjs-tx": "^1.3.7",
"ethereumjs-util": "^6.1.0",
"ethereumjs-wallet": "^1.0.1",
"ethjs-util": "^0.1.6",
"human-standard-collectible-abi": "^1.0.2",
"human-standard-token-abi": "^2.0.0",
"immer": "^8.0.1",
"isomorphic-fetch": "^3.0.0",
"jsonschema": "^1.2.4",
"nanoid": "^3.1.12",
"single-call-balance-checker-abi": "^1.0.0",
"uuid": "^8.3.2",
"web3": "^0.20.7",
"web3-provider-engine": "^16.0.1"
},
"devDependencies": {
"@metamask/eslint-config": "^6.0.0",
"@metamask/eslint-config-jest": "^6.0.0",
"@metamask/eslint-config-nodejs": "^6.0.0",
"@metamask/eslint-config-typescript": "^6.0.0",
"@types/jest": "^26.0.22",
"@types/node": "^14.14.31",
"@types/sinon": "^9.0.10",
"@types/web3": "^1.0.6",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"eslint": "^7.24.0",
"eslint-config-prettier": "^8.1.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.5",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"ethjs-provider-http": "^0.1.6",
"jest": "^26.4.2",
"jest-environment-jsdom": "^25.0.0",
"nock": "^13.0.7",
"prettier": "^2.2.1",
"sinon": "^9.2.4",
"ts-jest": "^26.5.2",
"typedoc": "^0.20.32",
"typescript": "~4.2.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"ts",
"json",
"node"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testMatch": [
"**/*.test.ts",
"**/*.test.js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"tests/"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"setupFiles": [
"./tests/setupTests.ts"
]
}
}