-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.27 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "tinylet",
"version": "0.2.0",
"description": "🎨 redlet() and greenlet() threading helpers for Node.js, Deno, and the browser",
"keywords": [],
"homepage": "https://github.com/tinylibs/tinylet#readme",
"bugs": "https://github.com/tinylibs/tinylet/issues",
"repository": "github:tinylibs/tinylet",
"license": "MIT",
"contributors": [
"Jacob Hummer <[email protected]> (https://jcbhmr.me/)"
],
"type": "module",
"imports": {
"#greenlet.js": {
"deno": "./src/greenlet-deno+default.js",
"bun": null,
"node": "./src/greenlet-node.js",
"default": "./src/greenlet-deno+default.js"
},
"#redlet.js": {
"deno": "./src/redlet.js",
"bun": null,
"node": "./src/redlet-node.js",
"default": "./src/redlet.js"
}
},
"exports": {
".": "./src/index.js",
"./greenlet.js": {
"deno": "./src/greenlet-deno+default.js",
"bun": null,
"node": "./src/greenlet-node.js",
"default": "./src/greenlet-deno+default.js"
},
"./redlet.js": {
"deno": "./src/redlet-denodeno+default.js",
"bun": null,
"node": "./src/redlet-node.js",
"default": "./src/redlet-denodeno+default.js"
}
},
"files": [
"src"
],
"scripts": {
"lint": "prettier --ignore-path .gitignore -w .",
"test": "npm run test:node && npm run test:deno && npm run bench",
"test:node": "node --test test/e2e.test-node.js",
"test:deno": "deno test -A test/e2e.test-deno.js",
"test:browser": "serve",
"bench": "npm run bench:node && npm run bench:deno",
"bench:node": "node test/async-to-sync-noop.bench.js; node test/async-to-sync-readFile.bench-node.js; node test/async-vs-sync-concat.bench-node.js",
"bench:deno": "deno run -A test/async-to-sync-readFile.bench-deno.js; deno run -A test/async-vs-sync-concat.bench-deno.js",
"bench:browser": "serve",
"postinstall": "patch-package"
},
"devDependencies": {
"@types/node": "^20.2.5",
"await-sync": "^1.0.3",
"cross-env": "^7.0.3",
"deasync": "^0.1.28",
"esmurl": "^0.5.0",
"is-odd": "^3.0.1",
"make-synchronous": "^1.0.0",
"patch-package": "^7.0.0",
"prettier": "^3.0.0",
"serve": "^14.2.0",
"synckit": "^0.8.5",
"tinybench": "^2.5.0",
"typescript": "^5.1.3"
}
}