Comparing version 0.0.35 to 0.0.36
{ | ||
"name": "web-ifc", | ||
"version": "0.0.35", | ||
"version": "0.0.36", | ||
"description": "ifc loading on the web", | ||
@@ -29,3 +29,3 @@ "main": "web-ifc-api-node.js", | ||
"scripts": { | ||
"gen-schema": "cd src/schema && node gen.js", | ||
"gen-schema": "cd src/schema && node gen_functional_types.js", | ||
"setup-env": "emsdk_env", | ||
@@ -35,6 +35,7 @@ "build-release": "npm run build-wasm-release && npm run build-api", | ||
"build-debug": "npm run build-wasm-debug && npm run build-api", | ||
"release_publish": "npm run set-version && npm run build-release-all && cd dist && npm publish", | ||
"publish-repo": "npm run set-version && cd dist && npm publish", | ||
"build-publish-repo": "npm run set-version && npm run build-release-all && cd dist && npm publish", | ||
"build-wasm-debug": "em++ --bind -O3 -gsource-map -std=c++17 --source-map-base http://localhost:5000/web-ifc-js/wasm-lib/ -flto -fno-exceptions./src/wasm/web-ifc-api.cpp -s ALLOW_MEMORY_GROWTH=1 -s MAXIMUM_MEMORY=4GB -s ASSERTIONS=1 -s FORCE_FILESYSTEM=1 -s EXPORT_NAME=WebIFCWasm -s MODULARIZE=1 -s EXPORTED_RUNTIME_METHODS=[\"FS\"] -O3 -o dist/web-ifc.js", | ||
"build-wasm-release": "em++ --bind -O3 -std=c++17 -flto --define-macro=REAL_T_IS_DOUBLE -I ./src/wasm/deps/godot-csg/ -I ./src/wasm/deps/godot-csg/platform/javascript/ ./src/wasm/web-ifc-api.cpp ./src/wasm/deps/godot-csg/csg.cpp ./src/wasm/deps/godot-csg/core/math/aabb.cpp ./src/wasm/deps/godot-csg/core/math/basis.cpp ./src/wasm/deps/godot-csg/core/math/math_funcs.cpp ./src/wasm/deps/godot-csg/core/os/memory.cpp ./src/wasm/deps/godot-csg/core/os/mutex.cpp ./src/wasm/deps/godot-csg/thirdparty/misc/pcg.cpp ./src/wasm/deps/godot-csg/core/math/plane.cpp ./src/wasm/deps/godot-csg/core/math/quaternion.cpp ./src/wasm/deps/godot-csg/core/math/random_pcg.cpp ./src/wasm/deps/godot-csg/core/math/transform_3d.cpp ./src/wasm/deps/godot-csg/core/math/vector2.cpp ./src/wasm/deps/godot-csg/core/math/vector3.cpp -s ALLOW_MEMORY_GROWTH=1 -s MAXIMUM_MEMORY=4GB -s FORCE_FILESYSTEM=1 -s EXPORT_NAME=WebIFCWasm -s MODULARIZE=1 -s USE_PTHREADS=0 -s EXPORTED_RUNTIME_METHODS=[\"FS\"] -O3 -o dist/web-ifc.js", | ||
"build-wasm-release-mt": "em++ --bind -O3 -std=c++17 -flto --define-macro=REAL_T_IS_DOUBLE -I ./src/wasm/deps/godot-csg/ -I ./src/wasm/deps/godot-csg/platform/javascript/ ./src/wasm/web-ifc-api.cpp ./src/wasm/deps/godot-csg/csg.cpp ./src/wasm/deps/godot-csg/core/math/aabb.cpp ./src/wasm/deps/godot-csg/core/math/basis.cpp ./src/wasm/deps/godot-csg/core/math/math_funcs.cpp ./src/wasm/deps/godot-csg/core/os/memory.cpp ./src/wasm/deps/godot-csg/core/os/mutex.cpp ./src/wasm/deps/godot-csg/thirdparty/misc/pcg.cpp ./src/wasm/deps/godot-csg/core/math/plane.cpp ./src/wasm/deps/godot-csg/core/math/quaternion.cpp ./src/wasm/deps/godot-csg/core/math/random_pcg.cpp ./src/wasm/deps/godot-csg/core/math/transform_3d.cpp ./src/wasm/deps/godot-csg/core/math/vector2.cpp ./src/wasm/deps/godot-csg/core/math/vector3.cpp -s ALLOW_MEMORY_GROWTH=1 -s MAXIMUM_MEMORY=4GB -s FORCE_FILESYSTEM=1 -s EXPORT_NAME=WebIFCWasm -s MODULARIZE=1 -s USE_PTHREADS=1 -s PTHREAD_POOL_SIZE=navigator.hardwareConcurrency -s EXPORTED_RUNTIME_METHODS=[\"FS\"] -O3 -o dist/web-ifc-mt.js", | ||
"build-wasm-release": "em++ --bind -O3 -std=c++17 -flto --define-macro=REAL_T_IS_DOUBLE -I ./src/wasm/deps/manifold/manifold/include/ -I ./src/wasm/deps/glm/ ./src/wasm/web-ifc-api.cpp ./src/wasm/deps/manifold/release/collider/libcollider.a ./src/wasm/deps/manifold/release/third_party/graphlite/libgraphlite.a ./src/wasm/deps/manifold/release/manifold/libmanifold.a ./src/wasm/deps/manifold/release/polygon/libpolygon.a -fexceptions -s ALLOW_MEMORY_GROWTH=1 -s MAXIMUM_MEMORY=4GB -s FORCE_FILESYSTEM=1 -s EXPORT_NAME=WebIFCWasm -s MODULARIZE=1 -s USE_PTHREADS=0 -s EXPORTED_RUNTIME_METHODS=[\"FS\"] -O3 -o dist/web-ifc.js", | ||
"build-wasm-release-mt": "em++ --bind -O3 -std=c++17 -flto --define-macro=REAL_T_IS_DOUBLE -I ./src/wasm/deps/manifold/manifold/include/ -I ./src/wasm/deps/glm/ ./src/wasm/web-ifc-api.cpp ./src/wasm/deps/manifold/release-mt/collider/libcollider.a ./src/wasm/deps/manifold/release-mt/third_party/graphlite/libgraphlite.a ./src/wasm/deps/manifold/release-mt/manifold/libmanifold.a ./src/wasm/deps/manifold/release-mt/polygon/libpolygon.a -fexceptions -s ALLOW_MEMORY_GROWTH=1 -s MAXIMUM_MEMORY=4GB -s FORCE_FILESYSTEM=1 -s EXPORT_NAME=WebIFCWasm -s MODULARIZE=1 -s USE_PTHREADS=1 -s PTHREAD_POOL_SIZE=navigator.hardwareConcurrency -s EXPORTED_RUNTIME_METHODS=[\"FS\"] -O3 -o dist/web-ifc-mt.js", | ||
"build-api": "cpy src/*.ts dist && cpy src/helpers/*.ts dist/helpers && npm run build-ts-api && npm run build-web-ifc-api-mjs && npm run build-web-ifc-api-browser && npm run build-web-ifc-api-node && npm run copy-to-dist", | ||
@@ -56,3 +57,5 @@ "build-ts-api": "tsc --emitDeclarationOnly && cpy dist/web-ifc-api.d.ts dist && cpy dist/web-ifc-api.d.ts dist --rename=web-ifc-api-node.d.ts", | ||
"docker-get-compiled-files": "docker cp web-ifc-container:/web-ifc-app/dist .", | ||
"test": "jest ./tests" | ||
"test": "jest ./tests", | ||
"regression-test-build": "esbuild tests/regression/src/index.js --bundle --minify --sourcemap --outfile=tests/regression/public/build/test.js", | ||
"regression-test": "npm run regression-test-build && http-server" | ||
}, | ||
@@ -80,2 +83,3 @@ "author": "tomvandig", | ||
"esbuild": "^0.12.15", | ||
"http-server": "^14.1.1", | ||
"jest": "^27.4.2", | ||
@@ -82,0 +86,0 @@ "monaco-editor": "^0.26.1", |
@@ -7,11 +7,11 @@ | ||
| | ||
<a href="https://tomvandig.github.io/web-ifc/examples/viewer/index.html">demo</a> | ||
<a href="https://ifcjs.github.io/web-ifc/examples/viewer/index.html">demo</a> | ||
| | ||
<a href="https://discord.gg/FXfyR4XrKT">discord</a> | ||
| | ||
<a href="https://github.com/tomvandig/web-ifc/tree/main/examples/usage/src">usage examples</a> | ||
<a href="https://github.com/ifcjs/web-ifc/tree/main/examples/usage/src">usage examples</a> | ||
| | ||
<a href="https://www.npmjs.com/package/web-ifc">npm package</a> | ||
| | ||
<a href="https://github.com/tomvandig/web-ifc/blob/main/contributing.md">contributing</a> | ||
<a href="https://github.com/ifcjs/web-ifc/blob/main/contributing.md">contributing</a> | ||
</p> | ||
@@ -66,3 +66,3 @@ | ||
The WASM library is built through emscripten, please see [the emscripten installation guide](https://emscripten.org/docs/getting_started/downloads.html) for information on how to set up emscripten. Afterwards both `setup-env` and `em++` need to be in your path. | ||
The WASM library is built through emscripten, please see [the emscripten installation guide](https://emscripten.org/docs/getting_started/downloads.html) for information on how to set up emscripten. Afterwards `emsdk_env` needs to be in your path. | ||
@@ -69,0 +69,0 @@ ### WASM library |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
8499622
186109
0
14