X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/3841606684ee3d233266ad490905076a3562842c..c64352ff6be4d9c05df37f02212e2e409435fc31:/package.json?ds=sidebyside diff --git a/package.json b/package.json index 5dc19a8..7b65263 100644 --- a/package.json +++ b/package.json @@ -13,34 +13,31 @@ }, "version": "1.0.0", "scripts": { - "build": "parcel build --no-source-maps ./app/index.html", + "dev": "routify -c dev-vite", + "dev-vite": "vite", + "build": "routify -b && vite build", "lint": "eslint --ext .svelte --ext .js .", "linthtml": "htmlhint", "setup-hooks": "ln -s ../../scripts/git-hooks/pre-commit .git/hooks/pre-commit", - "test": "echo sorry", - "watch": "parcel ./app/index.html" + "test": "echo sorry" }, "dependencies": { - "@hapi/joi": "17.1.0", - "getenv2": "^2.0.0", - "koa": "^2.11.0", - "koa-send": "^5.0.0", - "koa-static": "^5.0.0", - "lightrouter": "^0.3.3", - "rethinkdb": "^2.4.2", - "uuid": "^7.0.2", - "ws": "^7.2.3" + "@apollo/client": "^3.3.11", + "eventemitter3": "^4.0.4", + "language-name-map": "^0.3.0", + "svelte-apollo": "^0.4.0" }, "devDependencies": { "@hapi/eslint-config-hapi": "^13.0.2", "@hapi/eslint-plugin-hapi": "^4.3.5", - "eslint": "^6.8.0", + "@roxi/routify": "^2.14.0", + "@sveltejs/vite-plugin-svelte": "^1.0.0-next.2", + "eslint": "^7.3.0", "eslint-plugin-svelte3": "^2.7.3", - "htmlhint": "^0.11.0", - "parcel-bundler": "^1.12.4", - "parcel-plugin-static-files-copy": "^2.3.1", - "parcel-plugin-svelte": "^4.0.6", - "svelte": "^3.19.2" + "htmlhint": "^0.14.0", + "svelte": "^3.29.0", + "svelte-i18n": "^3.0.4", + "vite": "^2.0.4" }, "keywords": [ "forum" @@ -50,12 +47,8 @@ ], "jsdoc2md": { "files": [ - "lib/**/*.js", - "config/**/*.js" + "src/**/*.js" ] }, - "optionalDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - } + "type": "module" }