@adimm/x-injection 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +319 -0
- package/dist/index.cjs +531 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +831 -0
- package/dist/index.d.ts +831 -0
- package/dist/index.js +501 -0
- package/dist/index.js.map +1 -0
- package/package.json +73 -0
package/package.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@adimm/x-injection",
|
|
3
|
+
"description": "Powerful IoC library built on-top of InversifyJS inspired by NestJS's DI.",
|
|
4
|
+
"version": "0.3.1",
|
|
5
|
+
"author": "Adi-Marian Mutu",
|
|
6
|
+
"homepage": "https://github.com/AdiMarianMutu/x-injection#readme",
|
|
7
|
+
"bugs": "https://github.com/AdiMarianMutu/x-injection/issues",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"inversion of control",
|
|
10
|
+
"ioc",
|
|
11
|
+
"di",
|
|
12
|
+
"dependency injection"
|
|
13
|
+
],
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "tsup --config ./config/tsup.config.ts",
|
|
17
|
+
"docs:build": "typedoc --options ./config/typedoc.json",
|
|
18
|
+
"docs:serve": "npm run docs:build && http-server ./docs --cors -p 8080 -c-1",
|
|
19
|
+
"lint": "eslint \"src/**/*.ts\" --config ./config/.eslintrc.cjs",
|
|
20
|
+
"lint:fix": "npm run lint -- --fix",
|
|
21
|
+
"prebuild": "rimraf dist",
|
|
22
|
+
"prepare": "husky install",
|
|
23
|
+
"pretest": "rimraf coverage",
|
|
24
|
+
"prettier:format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\" \"config/**/*\" --config config/.prettierrc.cjs",
|
|
25
|
+
"start": "npm run build && node dist/index.js",
|
|
26
|
+
"start:watch": "tsup src/index.ts --config ./config/tsup.config.ts --watch --onSuccess 'node dist/index.js'",
|
|
27
|
+
"test": "jest --config ./config/jest.config.ts",
|
|
28
|
+
"test:coverage": "npm run test && http-server ./coverage/lcov-report --cors -p 8081 -c-1",
|
|
29
|
+
"v:bump-patch": "npm version patch -m \"chore: upgrade to %s\"",
|
|
30
|
+
"v:bump-minor": "npm version minor -m \"chore: upgrade to %s\"",
|
|
31
|
+
"v:bump-major": "npm version major -m \"chore: upgrade to %s\""
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"inversify": "^7.5.1",
|
|
35
|
+
"reflect-metadata": "^0.2.2"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
|
|
39
|
+
"@swc/core": "^1.11.24",
|
|
40
|
+
"@tsconfig/node18": "^18.2.4",
|
|
41
|
+
"@types/jest": "^29.5.14",
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
43
|
+
"eslint": "^8.57.1",
|
|
44
|
+
"eslint-config-prettier": "^9.1.0",
|
|
45
|
+
"eslint-plugin-import": "^2.31.0",
|
|
46
|
+
"eslint-plugin-prettier": "^5.3.1",
|
|
47
|
+
"http-server": "^14.1.1",
|
|
48
|
+
"husky": "^9.1.7",
|
|
49
|
+
"jest": "^29.7.0",
|
|
50
|
+
"node-notifier": "^10.0.1",
|
|
51
|
+
"prettier": "3.2.4",
|
|
52
|
+
"rimraf": "^5.0.10",
|
|
53
|
+
"terser": "^5.39.0",
|
|
54
|
+
"ts-jest": "^29.3.2",
|
|
55
|
+
"ts-node": "^10.9.2",
|
|
56
|
+
"tsup": "^8.4.0",
|
|
57
|
+
"type-fest": "^4.40.1",
|
|
58
|
+
"typedoc": "^0.28.4",
|
|
59
|
+
"typedoc-theme-hierarchy": "^6.0.0",
|
|
60
|
+
"typescript": "^5.8.3"
|
|
61
|
+
},
|
|
62
|
+
"engines": {
|
|
63
|
+
"node": ">=18.0.0"
|
|
64
|
+
},
|
|
65
|
+
"files": [
|
|
66
|
+
"dist"
|
|
67
|
+
],
|
|
68
|
+
"type": "module",
|
|
69
|
+
"main": "./dist/index.cjs",
|
|
70
|
+
"module": "./dist/index.js",
|
|
71
|
+
"types": "./dist/index.d.ts",
|
|
72
|
+
"sideEffects": false
|
|
73
|
+
}
|