polyuworld-emscripten-addon-template
Version:
Enabling C++ programming with this add-on
43 lines (42 loc) • 1.37 kB
JSON
{
"name": "polyuworld-emscripten-addon-template",
"version": "1.0.2",
"description": "Enabling C++ programming with this add-on",
"scripts": {
"buildcxx": "cd src/cpp && cmake.exe -E rm -r -f cmake-build && cmake.exe -G\"MinGW Makefiles\" -DCMAKE_BUILD_TYPE=Debug -B./cmake-build && cd cmake-build && cmake --build . && cmake.exe -E rm -r -f CMakeFiles",
"build": "npm run buildcxx && webpack --mode=production",
"prepare": "npm run build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"hubs",
"addon"
],
"author": "Alex Chan",
"owners": [
{
"name": "Alex Chan",
"githubUsername": "dirkarnez"
}
],
"license": "MPL-2.0",
"sourceMap": "dist/*.map",
"main": "dist/index.js",
"type": "module",
"module": "dist/index.mjs",
"peerDependencies": {
"bitecs": "github:Hubs-Foundation/bitECS#hubs-patches",
"three": "github:Hubs-Foundation/three.js#65b5105908f5f135cad25fed07e25f15f3876777"
},
"devDependencies": {
"@types/hubs": "github:Hubs-Foundation/hubs-ts-types#main",
"@types/node": "^18.15.0",
"@types/three": "^0.141.0",
"copy-webpack-plugin": "^12.0.2",
"cross-env": "^7.0.3",
"ts-loader": "^9.5.1",
"typescript": "^5.4.5",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
}
}