17 lines
660 B
JSON
17 lines
660 B
JSON
|
|
{
|
||
|
|
"name": "webxr",
|
||
|
|
"version": "1.0.0",
|
||
|
|
"main": "index.js",
|
||
|
|
"scripts": {
|
||
|
|
"build": "echo -e \"hint: pass bun args via: BARG='--minify' npm run build'\n\n\" && rm dist/xrforge/*.js || true && BARG=$BARG npm run build-xrforge",
|
||
|
|
"build-xrforge": "mkdir -p dist/xrforge && bun build ${BARG} --outdir=dist/xrforge xrforge.html && monolith dist/xrforge/xrforge.html --output dist/xrforge.html && sed -i 's|data:module|data:text/javascript;|g' dist/xrforge.html # https://github.com/Y2Z/monolith/issues/474 "
|
||
|
|
},
|
||
|
|
"author": "Leon van Kammen",
|
||
|
|
"license": "",
|
||
|
|
"description": "",
|
||
|
|
"dependencies": {
|
||
|
|
"aframe": "^1.7.1",
|
||
|
|
"xrf": "^0.0.1"
|
||
|
|
}
|
||
|
|
}
|