-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
39 lines (39 loc) · 1.44 KB
/
Copy pathpackage.json
File metadata and controls
39 lines (39 loc) · 1.44 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
{
"name": "courvux-precompiler",
"version": "0.1.0",
"description": "Build-time expression precompiler for the Courvux reactive UI framework. Compiles template expressions to JS arrow functions so apps can ship without script-src 'unsafe-eval'.",
"author": "Vanjex",
"license": "MIT",
"repository": "github:vanjexdev/courvux-precompiler",
"homepage": "https://github.com/vanjexdev/courvux-precompiler",
"bugs": "https://github.com/vanjexdev/courvux-precompiler/issues",
"keywords": [
"courvux",
"compiler",
"template",
"csp",
"wasm",
"vite-plugin"
],
"main": "pkg/courvux_precompiler.js",
"types": "pkg/courvux_precompiler.d.ts",
"files": [
"pkg/courvux_precompiler.js",
"pkg/courvux_precompiler.d.ts",
"pkg/courvux_precompiler_bg.wasm",
"pkg/courvux_precompiler_bg.wasm.d.ts",
"pkg/package.json",
"README.md",
"LICENSE"
],
"scripts": {
"build": "wasm-pack build --target nodejs --release && rm -f pkg/.gitignore pkg/package.json pkg/README.md pkg/LICENSE",
"build:web": "wasm-pack build --target web --release && rm -f pkg/.gitignore pkg/package.json pkg/README.md pkg/LICENSE",
"test:rust": "cargo test --lib",
"test:node": "node test/smoke.mjs",
"test": "npm run test:rust && npm run build && npm run test:node"
},
"engines": {
"node": ">=18"
}
}