-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.87 KB
/
package.json
File metadata and controls
63 lines (63 loc) · 1.87 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
{
"name": "@cloudpss/worker",
"version": "0.1.11",
"description": "WebWorker and Node Worker Threads wrapper with better usability.",
"author": "OpportunityLiu <opportunity@live.in>",
"license": "MIT",
"packageManager": "pnpm@10.33.0",
"repository": {
"type": "git",
"url": "git+https://github.com/CloudPSS/worker.git"
},
"keywords": [
"webworker",
"worker-threads",
"node",
"browser",
"worker-pool"
],
"engines": {
"node": ">= 20"
},
"type": "module",
"exports": {
"./pool": "./dist/pool/index.js",
"./polyfill": "./dist/polyfill.js",
"./ponyfill": {
"browser": "./dist/ponyfill/browser.js",
"default": "./dist/ponyfill/node.js"
},
"./package.json": "./package.json"
},
"scripts": {
"clean": "rimraf dist",
"build": "pnpm clean && tsc",
"watch": "pnpm clean && tsc --watch",
"test": "NODE_OPTIONS=\"${NODE_OPTIONS:-} --experimental-vm-modules\" node --expose-gc node_modules/jest/bin/jest.js",
"prepare": "husky || echo Failed to initialize husky",
"format": "prettier --cache --cache-strategy content --write .",
"lint": "eslint --cache --cache-location node_modules/.cache/eslint/ --cache-strategy content"
},
"prettier": "@cloudpss/prettier-config",
"commitlint": {
"extends": "@cloudpss"
},
"devDependencies": {
"@cloudpss/commitlint-config": "^3.0.37",
"@cloudpss/eslint-config": "^3.0.37",
"@cloudpss/lint-staged-config": "^3.0.37",
"@cloudpss/prettier-config": "^3.0.37",
"@cloudpss/tsconfig": "^3.0.37",
"@jest/globals": "^30.3.0",
"@napi-ffi/ref-napi": "^3.0.7",
"@types/jest": "^30.0.0",
"@types/napi-ffi__ref-napi": "npm:@types/ref-napi@^3.0.12",
"@types/node": "^25.5.2",
"husky": "^9.1.7",
"jest": "^30.3.0",
"rimraf": "^6.1.3",
"ts-jest": "29.4.9",
"type-fest": "^5.5.0",
"typescript": "^6.0.2"
}
}