-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.83 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 1.83 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
{
"name": "nodebox",
"version": "0.1.0",
"description": "Browser-native Node.js runtime — run real Node.js code in the browser",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./vite": {
"types": "./dist/vite-plugin.d.ts",
"import": "./dist/vite-plugin.mjs"
},
"./middleware": {
"types": "./dist/middleware.d.ts",
"import": "./dist/middleware.mjs"
}
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"workspaces": [
"packages/*"
],
"scripts": {
"build:wasm": "cd crates/runtime && wasm-pack build --target web --release --out-dir ../../packages/nodebox-core/src/wasm",
"build:core": "npm run build:wasm && npm run build -w nodebox-core",
"build:js": "vite build",
"build:types": "tsc --emitDeclarationOnly",
"build": "npm run build:core && npm run build:js",
"release": "npm run typecheck && npm run build:core && npm run build:js && npm run build:types",
"prepublishOnly": "npm run release",
"dev": "vite --host",
"demo": "vite serve demo --host --port 3287 --config vite.config.demo.ts",
"test": "vitest",
"test:run": "vitest run",
"test:e2e": "playwright test",
"bench": "vitest bench",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@playwright/test": "^1.50.0",
"terser": "^5.46.1",
"typescript": "^5.7.0",
"vite": "^6.0.0",
"vite-plugin-wasm": "^3.4.0",
"vitest": "^3.0.0"
},
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "https://github.com/nodebox/nodebox"
},
"dependencies": {
"esbuild-wasm": "^0.27.4",
"nodebox-core": "workspace:*"
}
}