Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.14 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 2.14 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "express-async-context",
"version": "2.0.0",
"description": "Context manager for Express routing lib",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./esm/index.js",
"require": "./lib/index.js",
"default": "./lib/index.js"
}
},
"files": [
"lib",
"esm",
"README.md",
"LICENSE"
],
"scripts": {
"test": "jest",
"test:express4": "node ./scripts/test-express4.mjs",
"lint": "eslint \"./src/**/*.ts\"",
"compile:cjs": "tsc --build tsconfig.cjs.json",
"compile:esm": "tsc",
"postcompile:cjs": "node -e \"require('node:fs').writeFileSync('lib/package.json', JSON.stringify({ type: 'commonjs' }, null, 2) + '\\n')\"",
"postcompile:esm": "node -e \"require('node:fs').writeFileSync('esm/package.json', JSON.stringify({ type: 'module' }, null, 2) + '\\n')\"",
"clean:lib": "rm -rf ./lib",
"clean:esm": "rm -rf ./esm",
"clean": "npm run clean:lib; npm run clean:esm",
"compile": "npm run clean; npm run compile:cjs; npm run compile:esm"
},
"keywords": [
"express",
"context",
"async",
"local",
"storage"
],
"author": "Dmitry Scheglov <dmitry.scheglov@gmail.com>",
"license": "MIT",
"devDependencies": {
"@eslint/js": "^9.39.4",
"@types/express": "^4.17.25",
"@types/jest": "^30.0.0",
"@types/node": "^20.17.6",
"@types/supertest": "2.0.11",
"eslint": "^9.39.4",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-jest": "^29.15.0",
"express": "^4.22.1",
"globals": "^17.4.0",
"jest": "^30.3.0",
"supertest": "^6.1.3",
"ts-jest": "^29.4.6",
"typescript": "^5.6.3",
"typescript-eslint": "^8.57.1"
},
"peerDependencies": {
"express": ">=4.17.1 <6"
},
"directories": {
"example": "example"
},
"repository": {
"type": "git",
"url": "git+https://github.com/DScheglov/express-async-context.git"
},
"bugs": {
"url": "https://github.com/DScheglov/express-async-context/issues"
},
"homepage": "https://github.com/DScheglov/express-async-context#readme",
"engines": {
"node": ">=20 <25"
}
}