-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
54 lines (54 loc) · 1.38 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
{
"name": "depsi",
"version": "1.0.2",
"description": "",
"main": "dist/cjs/index.js",
"types": "dist/cjs/index.d.ts",
"module": "dist/esm/index.js",
"files": [
"./dist"
],
"exports": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"type": "module",
"scripts": {
"clean": "rm -rf dist",
"build:cjs": "tsc -p tsconfig.cjs.json && cp package.cjs.json dist/cjs/package.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build": "npm run clean && npm run build:cjs && npm run build:esm",
"prepublishOnly": "npm run build",
"dev": "nodemon --exec node --no-warnings=ExperimentalWarning --loader ts-node/esm ./src/playground/app.ts",
"start": "node --no-warnings=ExperimentalWarning --loader ts-node/esm ./src/playground/app.ts"
},
"keywords": [
"express.js",
"typescript",
"dependency injection"
],
"author": "Jun Guo",
"repository": {
"type": "git",
"url": "git+https://github.com/deligenius/depsi.git"
},
"license": "MIT",
"peerDependencies": {
"express": "*"
},
"dependencies": {
"reflect-metadata": "^0.2.2"
},
"devDependencies": {
"@types/express": "^4.17.21",
"nodemon": "^3.1.4",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
}
}