-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.91 KB
/
Copy pathpackage.json
File metadata and controls
63 lines (63 loc) · 1.91 KB
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
{
"name": "@drunkcod/express-kit",
"type": "module",
"version": "0.0.26",
"description": "Express4 utility things",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/**/*",
"!lib/**/*.spec.*"
],
"exports": {
".": {
"import": {
"default": "./lib/index.js",
"types": "./lib/index.d.ts"
},
"require": {
"default": "./lib/cjs/index.js",
"types": "./lib/cjs/index.d.ts"
}
}
},
"scripts": {
"clean": "rimraf lib",
"compile": "tsc",
"pre-publish": "node ./scripts/pre-publish.ts ",
"cjs:compile": "tsc --module commonjs --outdir lib/cjs",
"cjs:fixup": "echo '{\"type\": \"commonjs\"}' > lib/cjs/package.json",
"test": "node --experimental-vm-modules --disable-warning=ExperimentalWarning node_modules/jest/bin/jest.js",
"test:all": "npm-run-all \"test --workspaces --include-workspace-root -- --verbose=false\" --silent",
"test:express4": "docker run -it --rm $(docker build -q --build-arg EXPRESS_VERSION=4 .)",
"test:express5": "docker run -it --rm $(docker build -q --build-arg EXPRESS_VERSION=5 .)",
"build": "npm-run-all clean -p compile cjs:compile -s cjs:fixup --silent",
"build:all": "npm-run-all \"build --workspaces --include-workspace-root\" --silent",
"build:release": "npm-run-all -s pre-publish -p test:express4 test:express5 -s build:all"
},
"keywords": [
"express"
],
"author": "Tobbe Gyllebring <tobbe@drunkcod.com>",
"license": "MIT",
"engines": {
"node": ">=22.10.0"
},
"workspaces": [
"packages/*"
],
"dependencies": {
"@drunkcod/argis": "^0.0.22",
"@drunkcod/express-async": "0.0.25"
},
"devDependencies": {
"@jest/globals": "^30.2.0",
"@swc/jest": "^0.2.39",
"@types/node": "^24.13.1",
"jest": "^30.4.2",
"npm-run-all2": "^8.0.4",
"rimraf": "^6.1.3",
"ts-jest": "^29.4.11",
"typescript": "^6.0.3"
}
}