Comparing version 0.0.29 to 0.0.30
{ | ||
"name": "web-ifc", | ||
"version": "0.0.29", | ||
"version": "0.0.30", | ||
"description": "ifc loading on the web", | ||
@@ -31,3 +31,3 @@ "main": "web-ifc-api.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-api": "cpy src/*.ts dist && npm run build-ts-api && npm run build-web-ifc-api-mjs && npm run build-web-ifc-api-node && npm run copy-to-dist", | ||
"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-node && npm run copy-to-dist", | ||
"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", | ||
@@ -46,3 +46,4 @@ "build-web-ifc-api-mjs": "esbuild dist/web-ifc-api.ts --bundle --format=esm --external:path --external:fs --external:perf_hooks --outfile=./dist/web-ifc-api.js", | ||
"docker-run-container": "docker run --rm -d -p 3000:5000 --name web-ifc-container web-ifc", | ||
"docker-get-compiled-files": "docker cp web-ifc-container:/web-ifc-app/dist ." | ||
"docker-get-compiled-files": "docker cp web-ifc-container:/web-ifc-app/dist .", | ||
"test": "jest ./tests" | ||
}, | ||
@@ -61,2 +62,3 @@ "author": "tomvandig", | ||
"devDependencies": { | ||
"@types/jest": "^27.0.3", | ||
"@types/three": "^0.130.1", | ||
@@ -67,2 +69,3 @@ "concurrently": "^6.2.0", | ||
"esbuild": "^0.12.15", | ||
"jest": "^27.4.2", | ||
"monaco-editor": "^0.26.1", | ||
@@ -72,2 +75,3 @@ "npm-watch": "^0.10.0", | ||
"three": "^0.130.1", | ||
"ts-jest": "^27.0.7", | ||
"typescript": "^4.3.5" | ||
@@ -74,0 +78,0 @@ }, |
export * from "./ifc2x4"; | ||
import { Properties } from "./helpers/properties"; | ||
export * from "./ifc2x4_helper"; | ||
@@ -65,2 +66,6 @@ export declare const UNKNOWN = 0; | ||
/** | ||
* Contains all the logic and methods regarding properties, psets, qsets, etc. | ||
*/ | ||
properties: Properties; | ||
/** | ||
* Initializes the WASM module (WebIFCWasm), required before using any other functionality. | ||
@@ -77,3 +82,3 @@ * | ||
*/ | ||
OpenModel(data: string | Uint8Array, settings?: LoaderSettings): number; | ||
OpenModel(data: Uint8Array, settings?: LoaderSettings): number; | ||
/** | ||
@@ -80,0 +85,0 @@ * Creates a new model and returns a modelID number |
export * from "./ifc2x4"; | ||
import { Properties } from "./helpers/properties"; | ||
export * from "./ifc2x4_helper"; | ||
@@ -65,2 +66,6 @@ export declare const UNKNOWN = 0; | ||
/** | ||
* Contains all the logic and methods regarding properties, psets, qsets, etc. | ||
*/ | ||
properties: Properties; | ||
/** | ||
* Initializes the WASM module (WebIFCWasm), required before using any other functionality. | ||
@@ -77,3 +82,3 @@ * | ||
*/ | ||
OpenModel(data: string | Uint8Array, settings?: LoaderSettings): number; | ||
OpenModel(data: Uint8Array, settings?: LoaderSettings): number; | ||
/** | ||
@@ -80,0 +85,0 @@ * Creates a new model and returns a modelID number |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5454640
126308
13