forked from sebastianwessel/quickjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
141 lines (141 loc) · 3.67 KB
/
package.json
File metadata and controls
141 lines (141 loc) · 3.67 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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "@sebastianwessel/quickjs",
"version": "3.0.0",
"description": "A typescript package to execute JavaScript and TypeScript code in a WebAssembly QuickJS sandbox",
"engines": {
"node": ">=18.0.0"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"typescript",
"quickjs",
"runtime",
"wasm",
"webassembly",
"bun",
"hono",
"example",
"worker",
"pool",
"package",
"library"
],
"files": [
"dist"
],
"tshy": {
"exclude": [
"src/**/*.test.ts",
"vendor",
"example",
"docs",
"vendor.ts",
"node_modules"
],
"dialects": [
"esm",
"commonjs"
],
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
}
},
"type": "module",
"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": "tsc --noEmit && bun test",
"test:dev": "bun test --watch",
"lint": "bunx @biomejs/biome check",
"lint:fix": "bunx @biomejs/biome check --write",
"postpublish": "npx jsr publish",
"example:ai": "bun example/ai/index.ts",
"example:async": "bun example/async/index.ts",
"example:basic": "bun example/basic/index.ts",
"example:function": "bun example/function-call/index.ts",
"example:server": "bun example/server/server.ts",
"example:tests": "bun example/run-tests/index.ts",
"example:timer": "bun example/timer/index.ts",
"example:typescript": "bun example/typescript/index.ts",
"example:module": "bun example/custom-module/index.ts",
"example:user": "bun example/user-code/index.ts",
"knip": "knip",
"release": "bun run build && bun run lint:fix && np",
"docs:dev": "vitepress dev website",
"docs:build": "git-cliff > CHANGELOG.md && typedoc --options typedoc.json && vitepress build website",
"docs:preview": "vitepress preview website"
},
"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": "git+https://github.com/sebastianwessel/quickjs.git"
},
"license": "ISC",
"devDependencies": {
"@biomejs/biome": "^2.1.2",
"@hono/swagger-ui": "^0.5.2",
"@hono/zod-openapi": "^1.0.2",
"@jitl/quickjs-ng-wasmfile-debug-sync": "^0.31.0",
"@jitl/quickjs-ng-wasmfile-release-asyncify": "^0.31.0",
"@jitl/quickjs-ng-wasmfile-release-sync": "^0.31.0",
"@types/autocannon": "^7.12.7",
"@types/bun": "^1.2.19",
"@types/node": "^24.1.0",
"autocannon": "^8.0.0",
"chai": "^5.2.1",
"git-cliff": "^2.9.1",
"hono": "^4.8.9",
"knip": "^5.62.0",
"np": "^10.2.0",
"openai": "^5.10.2",
"poolifier-web-worker": "^0.5.7",
"tshy": "^3.0.2",
"typedoc": "^0.28.7",
"typedoc-plugin-markdown": "^4.7.1",
"typescript": "^5.8.3",
"vitepress": "^2.0.0-alpha.8",
"vitepress-sidebar": "^1.33.0",
"vue": "^3.5.18"
},
"dependencies": {
"memfs": "^4.20.0",
"quickjs-emscripten-core": "^0.31.0",
"rate-limiter-flexible": "^7.1.1"
},
"peerDependencies": {
"typescript": ">= 5.5.4"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"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"
}