-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
36 lines (36 loc) · 1.17 KB
/
package.json
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
{
"name": "wasm-prototyping",
"version": "1.0.0",
"description": "WebAssembly prototyping",
"main": "index.js",
"scripts": {
"build": "emcc src/hello.c -I src -Os -s WASM=1 -o library.wasm",
"cbuild": "rm -Rf build && npm run cmake-build && npm run make",
"cmake-build": "export EMSDK=~/bin/emsdk/emscripten/1.38.29 && cmake -H. -B./build -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=${EMSDK}/cmake/Modules/Platform/Emscripten.cmake",
"make": "cd build && make",
"http-server": "http-server",
"serve-build": "npm run http-server -- -p 3003",
"tbuild": "emcc -s USE_PTHREADS=1 -s PTHREAD_POOL_SIZE=2 -o threads.js src/threads.c"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jojanper/wasm-prototyping.git"
},
"keywords": [
"WebAssembly",
"Wasm",
"emscripten",
"C",
"C++",
"CMake"
],
"author": "Juha Ojanperä ([email protected])",
"license": "MIT",
"bugs": {
"url": "https://github.com/jojanper/wasm-prototyping/issues"
},
"homepage": "https://github.com/jojanper/wasm-prototyping#readme",
"devDependencies": {
"http-server": "latest"
}
}