]> git.r.bdr.sh - rbdr/forum/blobdiff - package.json
Allow for conditional reply
[rbdr/forum] / package.json
index acc166e756dce08b59ab1c7936da59306eb711c7..7b652635e6610cbfede8c71d13cdb14305234615 100644 (file)
   },
   "version": "1.0.0",
   "scripts": {
   },
   "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",
     "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": {
   },
   "dependencies": {
+    "@apollo/client": "^3.3.11",
     "eventemitter3": "^4.0.4",
     "eventemitter3": "^4.0.4",
-    "lightrouter": "^0.3.3"
+    "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",
   },
   "devDependencies": {
     "@hapi/eslint-config-hapi": "^13.0.2",
     "@hapi/eslint-plugin-hapi": "^4.3.5",
+    "@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.14.0",
     "eslint": "^7.3.0",
     "eslint-plugin-svelte3": "^2.7.3",
     "htmlhint": "^0.14.0",
-    "parcel-bundler": "^1.12.4",
-    "parcel-plugin-static-files-copy": "^2.4.3",
-    "parcel-plugin-svelte": "^4.0.6",
-    "svelte": "^3.23.2",
-    "svelte-i18n": "^3.0.4"
+    "svelte": "^3.29.0",
+    "svelte-i18n": "^3.0.4",
+    "vite": "^2.0.4"
   },
   "keywords": [
     "forum"
   },
   "keywords": [
     "forum"
   ],
   "jsdoc2md": {
     "files": [
   ],
   "jsdoc2md": {
     "files": [
-      "lib/**/*.js",
-      "config/**/*.js"
+      "src/**/*.js"
     ]
   },
     ]
   },
-  "optionalDependencies": {
-    "bufferutil": "^4.0.1",
-    "utf-8-validate": "^5.0.2"
-  }
+  "type": "module"
 }
 }