Skip to content
Snippets Groups Projects
Commit c47e966e authored by Paolo.Brasolin's avatar Paolo.Brasolin
Browse files

chore: clean up frontend package

parent 0c30c883
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ To spin it up for development, ...@@ -27,7 +27,7 @@ To spin it up for development,
```bash ```bash
cd frontend cd frontend
npm install npm install
npm run start npm run serve
``` ```
Also, remember to Also, remember to
......
{ {
"name": "oezi", "name": "oetzi-backend",
"version": "0.0.1", "version": "0.0.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "oezi", "name": "oetzi-backend",
"version": "0.0.1", "version": "0.0.1",
"license": "MIT",
"dependencies": { "dependencies": {
"axios": "^0.26.0", "axios": "^0.26.0",
"bootbox": "^5.5.2", "bootbox": "^5.5.2",
...@@ -19,6 +20,9 @@ ...@@ -19,6 +20,9 @@
"devDependencies": { "devDependencies": {
"parcel-bundler": "^1.12.4", "parcel-bundler": "^1.12.4",
"parcel-plugin-static-files-copy": "^2.6.0" "parcel-plugin-static-files-copy": "^2.6.0"
},
"engines": {
"node": "16.x"
} }
}, },
"node_modules/@ampproject/remapping": { "node_modules/@ampproject/remapping": {
......
{ {
"name": "oezi", "name": "oetzi-backend",
"version": "0.0.1", "version": "0.0.1",
"description": "Oetzi words - prototype", "description": "Ötzi game frontend.",
"keywords": "", "license": "MIT",
"license": "",
"author": "Giovanni Moretti",
"homepage": ".",
"scripts": { "scripts": {
"serve": "parcel serve src/index.html --open",
"build": "parcel build src/index.html --public-url ./", "build": "parcel build src/index.html --public-url ./",
"clean": "rm -rf ./node_modules/* && rm -rf ./node_modules/.bin && rm -rf ./node_modules/.yarn-integrity && rm -rf ./.cache && rm -rf ./dist",
"dev": "parcel src/index.html --open",
"start": "rm -rf dist && npm run build && npm run dev",
"deploy": "rm -rf dist && npm run build && rm -rf ../src/main/webapp/*.js && rm -rf ../src/main/webapp/*.css && rm -rf ../src/main/webapp/*.html && rm -rf ../src/main/webapp/assets && cp -r ./dist/* ../src/main/webapp/",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"staticFiles": {
"staticPath": "public",
"watcherGlob": "**"
},
"devDependencies": {
"parcel-bundler": "^1.12.4",
"parcel-plugin-static-files-copy": "^2.6.0"
},
"dependencies": { "dependencies": {
"axios": "^0.26.0", "axios": "^0.26.0",
"bootbox": "^5.5.2", "bootbox": "^5.5.2",
...@@ -30,5 +16,19 @@ ...@@ -30,5 +16,19 @@
"bootstrap": "^4.4.0", "bootstrap": "^4.4.0",
"jquery": "^3.4.1", "jquery": "^3.4.1",
"popper.js": "^1.16.0" "popper.js": "^1.16.0"
},
"devDependencies": {
"parcel-bundler": "^1.12.4",
"parcel-plugin-static-files-copy": "^2.6.0"
},
"engines": {
"node": "16.x"
},
"repository": {
"url": "https://gitlab.inf.unibz.it/commul/oetzi"
},
"staticFiles": {
"staticPath": "public",
"watcherGlob": "**"
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment