Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.5 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 1.5 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
{
"name": "@lojhan/resource-pool",
"version": "3.0.0",
"description": "A generic resource pool implementation for Node.js written in TypeScript.",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/Lojhan/resource-pool.git"
},
"license": "MIT",
"keywords": [
"resource pool",
"pool",
"pooling",
"generic pool",
"resource management",
"resource allocator",
"resource"
],
"files": [
"dist/src/**/*.js",
"dist/src/**/*.d.ts",
"dist/src/**/*.d.ts.map"
],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"default": "./dist/src/index.js"
}
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run build",
"format": "prettier . -w",
"lint": "prettier . --check",
"test": "tsx --test --expose-gc test/**/*.test.ts",
"test:basic": "tsx --test test/basic/*.test.ts",
"test:concurrency": "tsx --test test/concurrency/*.test.ts",
"test:features": "tsx --test test/features/*.test.ts",
"test:performance": "tsx --test --expose-gc test/performance/*.test.ts"
},
"devDependencies": {
"@types/node": "^25.2.2",
"prettier": "^3.6.2",
"tsx": "^4.21.0",
"typescript": "^5.9.2"
},
"prettier": {
"printWidth": 120,
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always"
}
}