-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.81 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 2.81 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "lightning-pool",
"description": "Fastest generic Pool written with TypeScript",
"version": "4.12.0",
"author": "Panates",
"license": "MIT",
"dependencies": {
"doublylinked": "^2.5.6",
"putil-promisify": "^1.10.1",
"tslib": "^2.8.1"
},
"devDependencies": {
"@panates/eslint-config": "^2.0.6",
"@panates/eslint-config-ts": "^2.0.6",
"@panates/tsconfig": "^2.0.6",
"@swc-node/register": "^1.11.1",
"@swc/core": "^1.15.3",
"@swc/helpers": "^0.5.17",
"@types/mocha": "^10.0.10",
"@types/node": "^24.10.1",
"auto-changelog": "^2.5.0",
"c8": "^10.1.3",
"dotenv": "^17.2.3",
"expect": "^30.2.0",
"generic-pool": "^3.9.0",
"globals": "^16.5.0",
"madge": "^8.0.0",
"mocha": "^11.7.5",
"npm-run-path": "^6.0.0",
"prettier": "^3.7.4",
"rimraf": "^6.1.2",
"ts-cleanup": "^1.3.0",
"typescript": "^5.9.3"
},
"scripts": {
"compile": "tsc --noEmit",
"clean": "npm run clean:src && npm run clean:dist",
"clean:dist": "rimraf build coverage",
"clean:src": "ts-cleanup -s src --all | ts-cleanup -s test",
"prebuild": "npm run clean:dist && npm run lint",
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "tsc -b tsconfig-build-cjs.json && cp support/package.cjs.json ./build/cjs/package.json",
"build:esm": "tsc -b tsconfig-build-esm.json && cp support/package.esm.json ./build/esm/package.json",
"postbuild": "npm run postbuild:copyfiles && node ./support/postbuild.cjs",
"postbuild:copyfiles": "cp LICENSE README.md CHANGELOG.md ./build",
"lint": "eslint . --max-warnings=0",
"lint:fix": "eslint . --max-warnings=0 --fix",
"format": "prettier . --write --log-level=warn",
"check": "madge --circular src/**",
"test": "mocha",
"precitest": "rimraf coverage",
"citest": "c8 mocha",
"qc": "npm run lint && npm run check",
"version": "auto-changelog -p && git add CHANGELOG.md",
"benchmark": "TS_NODE_PROJECT=./benchmark-tests/tsconfig.json node --import @swc-node/register/esm-register ./benchmark-tests/index.ts"
},
"type": "module",
"exports": {
".": {
"import": {
"types": "./types/index.d.ts",
"default": "./esm/index.js"
},
"require": {
"types": "./types/index.d.cts",
"default": "./cjs/index.js"
},
"default": "./esm/index.js"
},
"./package.json": "./package.json"
},
"main": "./cjs/index.js",
"module": "./esm/index.js",
"types": "./types/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/panates/lightning-pool.git"
},
"contributors": [
"Eray Hanoglu <e.hanoglu@panates.com>"
],
"keywords": [
"pool",
"generic",
"generic-pool"
],
"files": [
"cjs/",
"esm/",
"types/",
"LICENSE",
"README.md"
]
}