- modified package.json to accomodate new directory structure in deployment
This commit is contained in:
parent
cb36ae4159
commit
66679dddac
@ -8,7 +8,7 @@
|
|||||||
"email": "eclipse@unterdemradar.de",
|
"email": "eclipse@unterdemradar.de",
|
||||||
"url": "https://www.unterdemradar.de"
|
"url": "https://www.unterdemradar.de"
|
||||||
},
|
},
|
||||||
"homepage": "https://www.unterdemradar.de/sr2ini",
|
"homepage": "https://www.unterdemradar.de/sr2ini/",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"source": "src/index.html",
|
"source": "src/index.html",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@ -16,15 +16,16 @@
|
|||||||
"parcel": "^2.8.3",
|
"parcel": "^2.8.3",
|
||||||
"parcel-reporter-static-files-copy": "^1.5.0"
|
"parcel-reporter-static-files-copy": "^1.5.0"
|
||||||
},
|
},
|
||||||
|
"publicUrl": "./",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
},
|
},
|
||||||
"staticFiles": {
|
"staticFiles": {
|
||||||
"staticPath": "src/img"
|
"staticPath": "src/img"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "npx parcel serve src/index.html --public-url / --dist-dir dist",
|
"start": "npx parcel serve src/index.html --public-url ./ --dist-dir dist",
|
||||||
"prebuild": "rm -rf dist/",
|
"prebuild": "rm -rf dist/",
|
||||||
"build": "npx parcel build",
|
"build": "npx parcel build --public-url ./",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
@ -31,7 +31,7 @@
|
|||||||
<span class="navbar-brand text-bold ps-4">SR2 Initiative Tracker</span>
|
<span class="navbar-brand text-bold ps-4">SR2 Initiative Tracker</span>
|
||||||
<nav class="container-fluid justify-content-end" aria-label="Main navigation">
|
<nav class="container-fluid justify-content-end" aria-label="Main navigation">
|
||||||
<button type="submit" class="" id="add-combatant-button" title="Add combatant" data-bs-toggle="modal" data-bs-target="#combatant-modal"><img src="img/add.png"></button>
|
<button type="submit" class="" id="add-combatant-button" title="Add combatant" data-bs-toggle="modal" data-bs-target="#combatant-modal"><img src="img/add.png"></button>
|
||||||
<button type="submit" class="" id="new-round-button" data-bs-toggle="modal" data-bs-target="#confirm-modal" title="Start new round"><img src="img/newround.png"></button>
|
<button type="submit" class="" id="new-round-button" title="Start new round" data-bs-toggle="modal" data-bs-target="#confirm-modal"><img src="img/newround.png"></button>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
<div class="table-responsive overflow-visible">
|
<div class="table-responsive overflow-visible">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user