-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
155 lines (155 loc) · 5.74 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
150
151
152
153
154
155
{
"name": "@freshgum/typedi",
"version": "0.7.2",
"description": "Elegant Dependency Injection in JavaScript and TypeScript.",
"homepage": "https://typedi.js.org",
"main": "./build/esm5/entry/index.mjs",
"maintainers": [
"freshgum"
],
"author": "freshgum",
"license": "MIT",
"private": false,
"sideEffects": false,
"unpkg": "./build/bundles/typedi.umd.min.js",
"types": "./build/types/index.d.mts",
"repository": {
"type": "git",
"url": "https://github.com/freshgum-bubbles/typedi.git"
},
"exports": {
".": {
"types": "./build/esm5/entry/index.d.mts",
"import": "./build/esm5/entry/index.mjs",
"node": "./build/esm5/entry/index.mjs",
"bun": "./src/index.mts",
"default": "./build/esm5/entry/index.mjs"
},
"./contrib/es": {
"types": "./build/esm5/contrib/es/index.d.mts",
"import": "./build/esm5/contrib/es/index.mjs",
"node": "./build/esm5/contrib/es/index.mjs",
"bun": "./src/contrib/es/index.mts",
"default": "./build/esm5/contrib/es/index.mjs"
},
"./contrib/transient-ref": {
"types": "./build/esm5/contrib/transient-ref/index.d.mts",
"import": "./build/esm5/contrib/transient-ref/index.mjs",
"node": "./build/esm5/contrib/transient-ref/index.mjs",
"bun": "./src/contrib/transient-ref/index.mts",
"default": "./build/esm5/contrib/transient-ref/index.mjs"
},
"./contrib/util/synchronous-disposable": {
"types": "./build/esm5/contrib/util/synchronous-disposable.class.d.mts",
"import": "./build/esm5/contrib/util/synchronous-disposable.class.mjs",
"node": "./build/esm5/contrib/util/synchronous-disposable.class.mjs",
"bun": "./src/contrib/util/synchronous-disposable.class.mts",
"default": "./build/esm5/contrib/util/synchronous-disposable.class.mjs"
},
"./contrib/util/get-service-identifier-type": {
"types": "./build/esm5/contrib/util/get-service-identifier-type.util.d.mts",
"import": "./build/esm5/contrib/util/get-service-identifier-type.util.mjs",
"node": "./build/esm5/contrib/util/get-service-identifier-type.util.mjs",
"bun": "./src/contrib/util/get-service-identifier-type.util.mts",
"default": "./build/esm5/contrib/util/get-service-identifier-type.util.mjs"
}
},
"engines": {
"node": ">=v15.3.0"
},
"tags": [
"di",
"container",
"di-container",
"typescript",
"typescript-di",
"dependency-injection",
"typescript"
],
"scripts": {
"build": "npm run build:esm5 && npm run build:rollup && npm run build:umd && npm run build:types",
"build:clean": "rimraf build",
"build:clean-bundles": "rimraf ./build/bundles",
"build:clean-esm5": "rimraf ./build/esm5",
"build:clean-cjs": "rimraf ./build/cjs",
"build:esm5": "npm run build:clean-esm5 && tsc --project ./scripts/tsconfig/tsconfig.prod.esm5.json",
"build:cjs": "npm run build:clean-cjs && tsc --project ./scripts/tsconfig/tsconfig.prod.cjs.json",
"build:rollup": "npm run build:esm5 && npm run build:clean-bundles && rollup --config ./scripts/rollup/rollup.config.mts --configPlugin @rollup/plugin-typescript",
"build:umd": "npm run build:esm5",
"build:types": "tsc --project ./scripts/tsconfig/tsconfig.prod.types.json",
"docs:website": "pushd website && npm run build && popd",
"docs:website-prod": "node ./scripts/publishDocs.mjs",
"prettier:fix": "prettier --write \"**/*.{ts,md,mts,mjs,js,cjs}\"",
"prettier:check": "prettier --check \"**/*.{ts,md,mts,mjs,js,cjs}\"",
"lint:fix": "eslint --max-warnings 0 --fix --ext .mts src/",
"lint:check": "eslint --max-warnings 0 --ext .mts src/",
"lint:package-json": "npm run build && publint",
"docs:api-reference": "rimraf website/build/api-reference && typedoc",
"test": "jest",
"test:coverage": "jest --coverage --verbose",
"test:watch": "jest --watch",
"test:ci": "jest --runInBand --coverage --verbose",
"prepare": "husky install",
"prepublishOnly": "npm test && npm run build:cjs && npm run build:umd && npm run build:types",
"website:start": "pushd website && npm run start && popd",
"website:build": "pushd website && npm run build && popd",
"version": "auto-changelog -p && git add CHANGELOG.md"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "pnpm exec commitlint --edit ${1}"
}
},
"lint-staged": {
"*.md": [
"npm run prettier:fix"
],
"*.ts": [
"npm run prettier:fix"
]
},
"dependencies": {
"type-fest": "4.7.1"
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-angular": "^17.7.0",
"@mxssfd/typedoc-theme": "^1.1.3",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "^25.0.5",
"@rollup/plugin-node-resolve": "^15.2.2",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@rollup/plugin-virtual": "^3.0.2",
"@types/deepmerge": "^2.2.0",
"@types/jest": "^29.5.12",
"@types/node": "^20.8.3",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"camelcase": "^8.0.0",
"deepmerge": "^4.3.1",
"dotenv": "^16.3.1",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jest": "^27.6.0",
"execa": "^8.0.1",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.0.1",
"prettier": "^3.0.3",
"publint": "^0.2.7",
"rimraf": "5.0.5",
"rollup": "^4.0.2",
"runtypes": "^6.7.0",
"ts-functional-pipe": "^3.1.2",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.1",
"typedoc": "^0.25.2",
"typedoc-github-wiki-theme": "^1.1.0",
"typedoc-plugin-markdown": "^3.16.0",
"typescript": "^5.2.2",
"yn": "^5.0.0"
}
}