/
deno.json
23 lines (21 loc) · 1021 Bytes
/
deno.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"name": "@gfx/canvas",
"github": "https://github.com/DjDeveloperr/skia_canvas",
"version": "0.5.6",
"exports": "./mod.ts",
"tasks": {
"build": "cd native/build && CC=clang CXX=clang++ cmake .. && cmake --build . --config Release",
"build-win": "rm -rf native/build && mkdir native/build && cd native/build && cmake .. -G \"Visual Studio 17 2022\" -T ClangCL && cmake --build . --config Release",
"test": "deno run -A --unstable-ffi ./test/test.ts",
"test-prebuilt": "deno run -A --unstable-ffi --import-map=./test/import_map.json ./test/test.ts",
"test-pdf": "deno run -A --unstable-ffi ./test/pdf.ts",
"test-svg": "deno run -A --unstable-ffi ./test/svg.ts",
"bench-deno": "deno bench -A --unstable-ffi bench/deno.js",
"bench-node": "node bench/node.mjs",
"bench": "deno run -A --unstable-ffi bench/main.js",
"build-skia": "deno run -A --unstable-ffi scripts/build_skia.ts"
},
"fmt": {
"exclude": ["skia", "bench/node_modules", "build", "native/build"]
}
}