-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.33 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.33 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
{
"name": "nodeswarm",
"version": "2.1.0",
"description": "Lightweight library for managing worker threads and parallel execution of tasks in Node.js.",
"type": "commonjs",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/types/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md",
"SECURITY.md"
],
"repository": "git@github.com:dwekat/nodeswarm.git",
"bugs": {
"url": "https://github.com/dwekat/nodeswarm/issues"
},
"homepage": "https://github.com/dwekat/nodeswarm#readme",
"scripts": {
"build": "npm run build:clean && npm run build:cjs && npm run build:fix-cjs && npm run build:esm && npm run build:types && npm run build:hints",
"build:clean": "rimraf dist",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:fix-cjs": "node scripts/fix-cjs-imports.js",
"build:esm": "tsc -p tsconfig.esm.json",
"build:types": "tsc -p tsconfig.types.json",
"build:hints": "node scripts/create-package-hints.js",
"build:benchmark": "tsc -p benchmark/tsconfig.json",
"pretest": "rimraf test_tmp && tsc -p tsconfig.worker.json",
"posttest": "rimraf test_tmp",
"test": "vitest run",
"test:compat": "node test/cjs-compat.test.cjs && node test/esm-compat.test.mjs",
"benchmark": "npm run build && npm run build:benchmark && node benchmark/dist/index.js",
"benchmark:compare": "npm run build && npm run build:benchmark && node benchmark/dist/compare.js",
"prepublishOnly": "npm run build",
"changeset": "changeset",
"version": "changeset version",
"release": "changeset publish"
},
"keywords": [
"thread",
"worker",
"parallel",
"concurrency",
"pool",
"task"
],
"author": "Mustafa Dwaikat <mudwekat@gmail.com>",
"license": "MIT",
"devDependencies": {
"@changesets/cli": "^2.30.0",
"@types/node": "^25.6.0",
"piscina": "^5.1.4",
"prettier": "^3.8.2",
"rimraf": "^6.1.3",
"tinypool": "^2.1.0",
"typescript": "^5.9.3",
"vitest": "^4.1.4",
"workerpool": "^10.0.1"
}
}