/
package.json
72 lines (72 loc) · 1.78 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
{
"name": "ditox-react",
"version": "2.3.1",
"description": "Dependency injection container for React.js",
"publishConfig": {
"access": "public"
},
"license": "MIT",
"author": "Mikhail Nasyrov <mikhail@mnasyrov.com> (https://github.com/mnasyrov)",
"homepage": "https://github.com/mnasyrov/ditox",
"bugs": "https://github.com/mnasyrov/ditox/issues",
"repository": {
"type": "git",
"url": "https://github.com/mnasyrov/ditox.git"
},
"keywords": [
"react",
"react.js",
"dependency container",
"dependency injection",
"typescript",
"javascript",
"npm",
"dependency",
"injection",
"container",
"module",
"ioc",
"di"
],
"engines": {
"node": ">=12"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"jsnext:main": "dist/esm/index.js",
"unpkg": "dist/umd/index.js",
"umd:main": "dist/umd/index.js",
"browser": "dist/browser/index.js",
"react-native": "dist/browser/index.js",
"types": "dist/esm/index.d.ts",
"source": "src/index.ts",
"sideEffects": false,
"files": [
"dist",
"docs",
"src",
"LICENSE",
"README.md"
],
"scripts": {
"clean": "shx rm -rf dist lib",
"build": "npm run build:cjs && npm run build:esm && npm run build:rollup",
"build:cjs": "tsc -p tsconfig.build.json --outDir dist/cjs --module commonjs",
"build:esm": "tsc -p tsconfig.build.json --outDir dist/esm --module es2015",
"build:rollup": "rollup -c",
"typedoc": "typedoc"
},
"dependencies": {
"ditox": "2.3.1"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@testing-library/react": "13.4.0",
"@types/react": "18.0.26",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-test-renderer": "18.2.0"
}
}