npm start launches server

This commit is contained in:
David Mosbach 2023-08-15 04:51:23 +02:00
parent ea3763ffe9
commit d23c8c31e1

View File

@ -4,7 +4,7 @@
"description": "Visualiser for Uni2work workflows", "description": "Visualiser for Uni2work workflows",
"type": "module", "type": "module",
"scripts": { "scripts": {
"start": "start ./editor.html; cd spaß; py ../server.py", "start": "npx http-server --cors -o ./editor.html",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"repository": { "repository": {