This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
103 lines (103 loc) · 2.37 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
{
"name": "react-injection",
"version": "1.2.3",
"main": "./lib/index.js",
"license": "MIT",
"repository": "luvies/react-injection",
"peerDependencies": {
"inversify": "^5.0.1",
"react": "^16.8.3"
},
"devDependencies": {
"@luvies/take": "^0.0.9",
"@types/enzyme": "^3.10.3",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/jest": "^26.0.5",
"@types/node": "14.0.23",
"@types/react": "16.9.43",
"@types/react-dom": "^16.9.0",
"coveralls": "^3.0.6",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"identity-obj-proxy": "^3.0.0",
"inversify": "^5.0.1",
"jest": "^26.1.0",
"jsdom": "^16.3.0",
"react": "^16.9.0",
"react-app-polyfill": "^1.0.3",
"react-dom": "^16.9.0",
"react-native-web": "^0.13.3",
"reflect-metadata": "^0.1.13",
"ts-jest": "^26.1.3",
"tslib": "^2.0.0",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^5.0.0",
"typescript": "3.9.7"
},
"keywords": [
"react",
"dependency",
"injection",
"dependency-injection",
"hook",
"hooks",
"inversify"
],
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!**/*.d.ts"
],
"setupFiles": [
"react-app-polyfill/jsdom"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.(j|t)s?(x)",
"<rootDir>/src/**/?(*.)(spec|test).(j|t)s?(x)"
],
"testEnvironment": "jsdom",
"testURL": "http://localhost",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|ts|tsx)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web",
"^.+(\\.module)?\\.(css|sass|scss)$": "identity-obj-proxy",
"^components/(.*)": "<rootDir>/src/components/$1",
"^@/(.*)": "<rootDir>/src/$1"
},
"moduleFileExtensions": [
"web.ts",
"ts",
"web.tsx",
"tsx",
"web.js",
"js",
"web.jsx",
"jsx",
"json",
"node",
"mjs"
],
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.test.json"
}
},
"unmockedModulePathPatterns": [
"node_modules/react/",
"node_modules/react-dom/",
"node_modules/enzyme/"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}