-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
115 lines (115 loc) · 2.74 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@sebastianwessel/quickjs",
"version": "1.3.0",
"description": "A typescript package to execute JavaScript and TypeScript code in a webassembly quickjs sandbox",
"type": "module",
"engines": {
"node": ">=18.0.0"
},
"keywords": [
"typescript",
"quickjs",
"runtime",
"wasm",
"webassembly",
"bun",
"hono",
"example",
"worker",
"pool",
"package",
"library"
],
"files": [
"dist"
],
"tshy": {
"exclude": [
"src/**/*.test.ts",
"vendor"
],
"dialects": [
"esm",
"commonjs"
],
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
}
},
"scripts": {
"start": "bun run --watch example/server/server.ts",
"build": "bun run build:vendor && tshy && bun run build:copy",
"build:vendor": "bun vendor.ts",
"build:copy": "cp -r ./src/modules/build/ ./dist/esm/modules/build && cp -r ./src/modules/build/ ./dist/commonjs/modules/build",
"test": "bun test",
"test:dev": "bun test --watch",
"lint": "bunx @biomejs/biome check",
"lint:fix": "bunx @biomejs/biome check --write",
"postpublish": "npx jsr publish",
"example:basic": "bun example/basic/server.ts",
"example:server": "bun example/server/server.ts",
"example:tests": "bun example/run-tests/index.ts",
"example:module": "bun example/custom-module/index.ts"
},
"author": {
"name": "Sebastian Wessel",
"url": "https://sebastianwessel.de"
},
"homepage": "https://github.com/sebastianwessel/quickjs#readme",
"bugs": {
"url": "https://github.com/sebastianwessel/quickjs/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/sebastianwessel/quickjs.git"
},
"license": "ISC",
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@hono/swagger-ui": "^0.3.0",
"@hono/zod-openapi": "^0.14.9",
"@types/autocannon": "^7.12.5",
"@types/bun": "^1.1.6",
"@types/node": "^20.14.10",
"autocannon": "^7.15.0",
"chai": "^5.1.1",
"hono": "^4.4.13",
"poolifier-web-worker": "^0.4.14",
"quickjs-emscripten": "^0.29.2",
"tshy": "^1.18.0",
"typescript": "^5.5.3"
},
"dependencies": {
"@jitl/quickjs-ng-wasmfile-release-sync": "^0.29.2",
"memfs": "^4.9.3",
"quickjs-emscripten-core": "^0.29.2",
"rate-limiter-flexible": "^5.0.3"
},
"peerDependencies": {
"typescript": ">= 5.5.3"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"source": "./src/index.ts",
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"source": "./src/index.ts",
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
"main": "./dist/commonjs/index.js",
"types": "./dist/commonjs/index.d.ts",
"module": "./dist/esm/index.js"
}