-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
105 lines (105 loc) 路 2.17 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
{
"version": "1.5.0",
"license": "MIT",
"name": "mui-modal-provider",
"author": "Quernest",
"repository": {
"type": "git",
"url": "https://github.com/Quernest/mui-modal-provider"
},
"keywords": [
"context",
"context-api",
"context-api-react",
"react",
"reactjs",
"react-component",
"react-modal",
"react-hooks",
"react-typescript",
"react-modal-component",
"react-modal-dialog",
"react-material-ui",
"material-ui",
"material-ui-components",
"material-ui-react",
"modal",
"mui",
"hooks",
"typescript",
"dialog"
],
"module": "dist/modal.esm.js",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"test:coverage": "yarn test --coverage",
"lint": "tsdx lint",
"prepare": "tsdx build"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "./coverage",
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!src/test-utils/*",
"!src/index.ts"
],
"coverageReporters": [
"json",
"text"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"verbose": true,
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
}
},
"peerDependencies": {
"@types/react": "^16.8.6 || ^17.0.0",
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"devDependencies": {
"@testing-library/react": "^11.2.7",
"@testing-library/react-hooks": "^6.0.0",
"@types/jest": "^26.0.23",
"@types/react": "^17.0.6",
"@types/react-dom": "^17.0.5",
"husky": "^4.2.5",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"tsdx": "^0.13.3",
"tslib": "^2.1.0",
"typescript": "^4.0.2"
}
}