-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.23 KB
/
Copy pathpackage.json
File metadata and controls
86 lines (86 loc) · 2.23 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
{
"name": "billiards",
"version": "0.1.0-alpha.0",
"description": "A small TypeScript task pool for async work with keyed concurrency.",
"type": "module",
"license": "MIT",
"author": "zsumz <shawn@zsumz.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/zsumz/billiards.git"
},
"bugs": {
"url": "https://github.com/zsumz/billiards/issues"
},
"homepage": "https://github.com/zsumz/billiards",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"keywords": [
"async",
"pool",
"task-pool",
"concurrency",
"queue",
"typescript",
"keyed-concurrency",
"promise",
"backpressure",
"abortsignal",
"retry",
"timeout",
"async-iterable",
"keyed-queue"
],
"engines": {
"node": ">=20.19"
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"types": "./dist/index.d.ts",
"files": [
"dist",
"USAGE.md",
"API.md",
"logo.svg"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "rm -rf dist coverage",
"clean:dist": "rm -rf dist",
"build": "tsdown",
"lint": "npm run build && eslint .",
"typecheck": "tsc -p tsconfig.json",
"typecheck:types": "npm run build && tsc -p tsconfig.types.json",
"test": "npm run build && vitest run",
"test:watch": "vitest",
"coverage": "npm run build && vitest run --coverage",
"smoke": "smoque run smoke/ --ci",
"smoke:list": "smoque list smoke/",
"prepack": "npm run build",
"prepublishOnly": "node -e \"if ((process.env.npm_package_version ?? '').includes('-') && process.env.npm_config_tag !== 'alpha') { console.error('Publish prereleases with --tag alpha.'); process.exit(1); }\"",
"publish:alpha": "npm publish --tag alpha --access public"
},
"devDependencies": {
"@types/node": "^26.1.0",
"@vitest/coverage-v8": "^3.2.6",
"eslint": "^10.6.0",
"eslint-config-rubric": "^0.1.0-alpha.0",
"smoque": "^0.1.0-alpha.1",
"tsdown": "^0.12.9",
"typescript": "^5.8.3",
"vitest": "^3.2.6"
}
}