forked from MetaMask/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.18 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
{
"name": "@xops.net/metamask-controllers-base",
"version": "0.0.0-development",
"description": "Collection of platform-agnostic base controllers from @metamask/controllers.",
"license": "MIT",
"files": [
"build/"
],
"main": "./build/src/index.js",
"publishConfig": {
"access": "public"
},
"scripts": {
"lint": "eslint --ext .ts .",
"test": "jest --coverage",
"format": "prettier **/*.ts --write --ignore-path=.gitignore",
"build": "rm -rf dist && tsc",
"build:watch": "npm run build && tsc -w",
"doc": "typedoc src/ && touch docs/.nojekyll"
},
"homepage": "https://github.com/xops/metamask-controllers-base#readme",
"repository": {
"type": "git",
"url": "https://github.com/xops/metamask-controllers-base"
},
"keywords": [
"MetaMask",
"BaseControllers"
],
"bugs": {
"url": "https://github.com/xops/metamask-controllers-base/issues"
},
"dependencies": {},
"devDependencies": {
"@metamask/eslint-config": "^3.0.0",
"@types/jest": "^22.2.3",
"@types/node": "^10.1.4",
"@types/sinon": "^4.3.3",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"eslint": "^6.8.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^23.6.0",
"jest": "^26.4.2",
"jsdom": "11.11.0",
"lint-staged": "^6.1.0",
"prettier": "^2.1.1",
"sinon": "^7.4.1",
"ts-jest": "^26.3.0",
"typedoc": "^0.15.0",
"typescript": "^4.0.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"ts",
"json",
"node"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testMatch": [
"**/*.test.ts"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"tests/"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"setupFiles": []
},
"prettier": {
"arrowParens": "always",
"parser": "typescript",
"printWidth": 120,
"singleQuote": true,
"trailingComma": "all"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"npm run lint",
"git add"
]
}
}