-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
91 lines (91 loc) · 2.47 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
{
"name": "di-wise",
"packageManager": "[email protected]",
"version": "0.2.7",
"description": "Lightweight and flexible dependency injection library for JavaScript and TypeScript, w/wo ECMAScript decorators.",
"files": [
"dist",
"src",
"!src/__tests__"
],
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.mjs",
"types": "./dist/cjs/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/es/index.d.mts",
"default": "./dist/es/index.mjs"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"./middlewares": {
"import": {
"types": "./dist/es/middlewares.d.mts",
"default": "./dist/es/middlewares.mjs"
},
"require": {
"types": "./dist/cjs/middlewares.d.ts",
"default": "./dist/cjs/middlewares.js"
}
}
},
"sideEffects": false,
"scripts": {
"build": "tsc --noEmit && bunchee --sourcemap",
"test": "vitest --coverage \"$@\"",
"lint": "eslint . --fix --cache",
"lint:ci": "eslint . --max-warnings 0 --cache --cache-location ./node_modules/.cache/eslint/.eslintcache",
"format": "prettier \"**/*.{json,md,yml}\" --write --log-level warn --cache",
"format:check": "prettier \"**/*.{json,md,yml}\" --check --cache",
"typedoc": "typedoc src/index.ts src/middlewares/index.ts --includeVersion"
},
"repository": {
"type": "git",
"url": "git+https://github.com/exuanbo/di-wise.git"
},
"keywords": [
"di",
"ioc",
"dependency injection",
"inversion of control",
"ecmascript decorator",
"dependency",
"injection",
"injector",
"container",
"ecmascript",
"decorator",
"metadata"
],
"author": "exuanbo <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/exuanbo/di-wise/issues"
},
"homepage": "https://exuanbo.xyz/di-wise/",
"devDependencies": {
"@eslint/js": "^9.15.0",
"@stylistic/eslint-plugin": "^2.11.0",
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.10.0",
"@vitest/coverage-v8": "^2.1.6",
"@vitest/ui": "^2.1.6",
"bunchee": "^5.6.1",
"eslint": "^9.15.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^15.12.0",
"prettier": "^3.4.1",
"typedoc": "^0.27.0",
"typescript": "5.7.2",
"typescript-eslint": "^8.16.0",
"vitest": "^2.1.6"
},
"prettier": {
"printWidth": 100,
"bracketSpacing": false
}
}