separated web and api, build improvements

wip:
- separate web and api servers.
- script for building static pages.
- building improvements.
- async localisation preloading.
This commit is contained in:
wukko
2023-05-19 16:13:38 +06:00
parent fa4e418e36
commit 4d369170ff
13 changed files with 315 additions and 26 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "cobalt",
"description": "save what you love",
"version": "5.7",
"version": "6.0-dev",
"author": "wukko",
"exports": "./src/cobalt.js",
"type": "module",
@@ -11,7 +11,10 @@
"scripts": {
"start": "node src/cobalt",
"setup": "node src/modules/setup",
"test": "node src/test/test"
"test": "node src/test/test",
"build": "node src/modules/buildStatic",
"api": "node src/api",
"web": "node src/web"
},
"repository": {
"type": "git",