-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
59 lines (59 loc) · 1.76 KB
/
package.json
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
{
"name": "worker-swarmer",
"version": "2.3.0",
"description": "A lib that allows spawning a worker implementation into many. This is essentially a worker pooler with simple API surface.",
"main": "./dist/umd/index.js",
"module": "./dist/esm/index.js",
"exports": {
"import": "./dist/esm/index.js",
"node": "./dist/umd/index.js",
"require": "./dist/umd/index.js",
"default": "./dist/esm/index.js"
},
"types": "./dist/esm/index.d.ts",
"scripts": {
"build": "npm run build:pre && npm run build:umd && npm run build:esm && npm run build:post",
"build:dev": "webpack --mode=development",
"build:umd": "webpack --mode=production --node-env=production",
"build:esm": "tsc -p tsconfig.esm.json",
"build:pre": "rm -rf dist",
"build:post": "./fixup.js",
"watch": "webpack --watch",
"format": "prettier --write \"src/**/*.ts\"",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"prepack": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ZheyangSong/worker-swarmer.git"
},
"files": [
"/dist"
],
"keywords": [
"web worker",
"thread pool",
"worker scheduler",
"typescript",
"javascript"
],
"author": "Zheyang Song <[email protected]> (https://github.com/ZheyangSong)",
"license": "MIT",
"bugs": {
"url": "https://github.com/ZheyangSong/worker-swarmer/issues"
},
"homepage": "https://github.com/ZheyangSong/worker-swarmer#readme",
"devDependencies": {
"prettier": "^2.8.1",
"ts-jest": "^29.0.5",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.4",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"nanoid": "^4.0.0"
}
}