-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
74 lines (74 loc) · 1.93 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
{
"name": "react-service-locator",
"version": "1.4.3",
"description": "React implementation of the service locator pattern using Hooks, Context API, and Inversify",
"author": {
"name": "Carlos González",
"email": "[email protected]",
"url": "https://carlosgonzalez.dev"
},
"repository": "github:rhyek/react-service-locator",
"keywords": [
"react",
"inversify",
"service locator",
"dependency injection",
"inversion of control"
],
"license": "MIT",
"main": "dist/index.js",
"module": "dist/react-service-locator.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"scripts": {
"dev": "tsdx watch",
"build": "tsdx build --tsconfig ./tsconfig.build.json",
"test:types": "tsc -p tsconfig.type-tests.json",
"test": "npm run test:types && jest",
"lint": "eslint --max-warnings 0 --fix --ext .ts,.tsx src test",
"prepare": "husky install && tsdx build"
},
"dependencies": {
"inversify": "6.0.1",
"is-what": "4.1.7"
},
"peerDependencies": {
"react": ">=16.13 || >=17",
"reflect-metadata": "^0.1.13"
},
"devDependencies": {
"@testing-library/react": "^11.2.7",
"@types/jest": "^26.0.24",
"@types/react": "^17.0.6",
"@types/react-dom": "^17.0.5",
"@typescript-eslint/eslint-plugin": "^4.28.4",
"@typescript-eslint/parser": "^4.28.4",
"eslint": "^7.31.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"expect-type": "^0.11.0",
"husky": "^6.0.0",
"jest": "^27.0.6",
"prettier": "^2.3.2",
"react": ">=16.13",
"react-dom": ">=16.13",
"reflect-metadata": "^0.1.13",
"ts-jest": "^27.0.4",
"tsdx": "^0.14.1",
"tslib": "^2.2.0",
"typescript": "^4.3.0"
},
"pnpm": {
"overrides": {
"typescript": "^4.3.0"
}
}
}