Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
npm-asmjs/ | 07-Sep-2024 | - | 587 | 477 | ||
npm-wasm/ | 07-Sep-2024 | - | 588 | 477 | ||
perf/ | 07-Sep-2024 | - | 705 | 568 | ||
tests/ | 07-Sep-2024 | - | 30,457 | 30,243 | ||
.gitignore | D | 07-Sep-2024 | 38 | 3 | 3 | |
CHANGELOG.md | D | 07-Sep-2024 | 1 KiB | 43 | 27 | |
Makefile | D | 07-Sep-2024 | 5.6 KiB | 146 | 112 | |
README.md | D | 07-Sep-2024 | 847 | 31 | 19 | |
chaining.js | D | 07-Sep-2024 | 6.1 KiB | 188 | 132 | |
compile.sh | D | 07-Sep-2024 | 3.8 KiB | 129 | 91 | |
externs.js | D | 07-Sep-2024 | 4.5 KiB | 150 | 78 | |
helper.js | D | 07-Sep-2024 | 3.7 KiB | 109 | 60 | |
karma.bench.conf.js | D | 07-Sep-2024 | 2.9 KiB | 97 | 55 | |
karma.conf.js | D | 07-Sep-2024 | 3 KiB | 99 | 57 | |
package-lock.json | D | 07-Sep-2024 | 71.5 KiB | 1,908 | 1,907 | |
package.json | D | 07-Sep-2024 | 502 | 23 | 22 | |
pathkit_wasm_bindings.cpp | D | 07-Sep-2024 | 23.4 KiB | 630 | 428 |
README.md
1PathKit WASM API 2================ 3 4This library lets you use Skia's feature-rich PathOps API in the browser. 5 6 7Compiling the source 8-------------------- 9 10Download the [Enscriptem SDK](https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html). 11 12Set the EMSDK environment variable to the directory you installed it to. 13 14Run `./compile.sh` to compile a production, WASM build to `$SKIA_HOME/out/pathkit`. 15Add "--help" for more options. 16 17 18Deploying to npm 19---------------- 20 21 # Build all 3 versions (release, test, debug) for both asmjs and WASM 22 # These binaries will be placed in the proper places of npm-*/bin 23 # This takes 5-10 minutes. 24 make npm 25 26 # Update the package.json files of both npm-asmjs and npm-wasm 27 make update-patch # or update-minor or update-major 28 29 # Publish both repos 30 make publish 31