-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
149 lines (149 loc) · 4.59 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"name": "@wessberg/di-compiler",
"version": "4.0.2",
"description": "A Custom Transformer for Typescript that enables compile-time Dependency Injection",
"scripts": {
"generate:sandhog": "sandhog all --yes",
"generate:changelog": "standard-changelog --first-release",
"generate:all": "pnpm run generate:sandhog && pnpm run generate:changelog",
"clean": "rimraf dist",
"lint": "tsc --noEmit && eslint \"src/**/*.ts\" --color",
"prettier": "prettier --write \"{src,test,documentation}/**/*.{js,ts,json,html,xml,css,md}\"",
"test": "node --import tsx --test \"./test/**/*.test.ts\"",
"prebuild": "pnpm run clean",
"build": "pnpm run clean && pnpm run build:esm && pnpm run build:cjs",
"build:esm": "tsup --entry=\"src/index.ts\" --entry=\"src/loader/esm/loader.ts\" --entry=\"src/loader/esm/hooks/index.ts\" --sourcemap --dts --format esm",
"build:cjs": "tsup --entry=\"src/index.ts\" --entry=\"src/loader/cjs/loader.ts\" --sourcemap --splitting --dts --format cjs",
"preversion": "pnpm run lint && pnpm run build",
"version": "pnpm run preversion && pnpm run generate:all && git add .",
"release": "np --no-cleanup --no-yarn",
"update:check": "pnpx npm-check-updates -x typescript-* --dep dev,prod",
"update:commit": "pnpx npm-check-updates -u -x typescript-* --dep dev,prod && pnpm update && pnpm install"
},
"keywords": [
"DI",
"dependency injection",
"ioc",
"inversion",
"service",
"container",
"newable",
"reflection",
"singleton",
"transient",
"compiler"
],
"files": [
"dist/**/*.*",
"loader.*"
],
"contributors": [
{
"name": "Frederik Wessberg",
"email": "frederikwessberg@hotmail.com",
"url": "https://github.com/wessberg",
"imageUrl": "https://avatars2.githubusercontent.com/u/20454213?s=460&v=4",
"role": "Lead Developer",
"twitter": "FredWessberg",
"github": "wessberg"
}
],
"license": "MIT",
"devDependencies": {
"@prettier/sync": "0.5.2",
"@types/node": "^22.7.5",
"@types/semver": "^7.5.8",
"@wessberg/prettier-config": "^1.0.0",
"@wessberg/ts-config": "^5.0.20",
"@eslint/js": "9.12.0",
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsdoc": "^50.3.1",
"eslint-plugin-prettier": "^5.2.1",
"typescript-eslint": "^8.8.1",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"np": "^10.0.7",
"npm-check-updates": "^17.1.3",
"pnpm": "^9.12.1",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"sandhog": "^3.0.1",
"semver": "^7.6.3",
"standard-changelog": "^6.0.0",
"tsup": "^8.3.0",
"tsx": "^4.19.1",
"typescript": "^5.6.3",
"typescript-3-4-1": "npm:typescript@3.4.1",
"typescript-3-5-1": "npm:typescript@3.5.1",
"typescript-3-6-2": "npm:typescript@3.6.2",
"typescript-3-7-2": "npm:typescript@3.7.2",
"typescript-3-8-3": "npm:typescript@3.8.3",
"typescript-3-9-2": "npm:typescript@3.9.2",
"typescript-4-0-3": "npm:typescript@4.0.3",
"typescript-4-1-2": "npm:typescript@4.1.2",
"typescript-4-2-4": "npm:typescript@4.2.4",
"typescript-4-3-5": "npm:typescript@4.3.5",
"typescript-4-4-2": "npm:typescript@4.4.2",
"typescript-4-5-4": "npm:typescript@4.5.4",
"typescript-4-6-4": "npm:typescript@4.6.4",
"typescript-4-7-2": "npm:typescript@4.7.2",
"typescript-4-8-2": "npm:typescript@4.8.2",
"typescript-4-9-4": "npm:typescript@4.9.4",
"typescript-5-0-4": "npm:typescript@5.0.4",
"typescript-5-1-6": "npm:typescript@5.1.6",
"typescript-5-2-2": "npm:typescript@5.2.2",
"typescript-5-3-3": "npm:typescript@5.3.3",
"typescript-5-4-5": "npm:typescript@5.4.5",
"typescript-5-5-4": "npm:typescript@5.5.4",
"typescript-5-6-2": "npm:typescript@5.6.2"
},
"dependencies": {
"compatfactory": "^4.0.2",
"crosspath": "^2.0.0",
"get-tsconfig": "^4.8.1",
"helpertypes": "^0.0.19",
"ts-evaluator": "^2.0.0"
},
"peerDependencies": {
"pirates": ">=4.x",
"typescript": ">=3.x || >= 4.x || >= 5.x"
},
"peerDependenciesMeta": {
"pirates": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "https://github.com/wessberg/di-compiler.git"
},
"bugs": {
"url": "https://github.com/wessberg/di-compiler/issues"
},
"exports": {
"./loader": {
"import": "./dist/loader/esm/loader.js",
"require": "./dist/loader/cjs/loader.cjs"
},
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"type": "module",
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"funding": {
"type": "github",
"url": "https://github.com/wessberg/di-compiler?sponsor=1"
},
"engines": {
"node": ">=18.20.0"
},
"lint-staged": {
"*": "prettier --ignore-unknown --write"
},
"prettier": "@wessberg/prettier-config"
}