]> git.r.bdr.sh - rbdr/forum/blobdiff - package.json
Add internationalization support
[rbdr/forum] / package.json
index 8694c4c7678cc858eccfc1299f25df18b9a502d8..d49dc7497596268309c6764044cf83a28aedec74 100644 (file)
     "url": "https://gitlab.com/rbdr/forum/issues"
   },
   "version": "1.0.0",
-  "type": "module",
-  "main": "lib/forum",
   "scripts": {
     "build": "parcel build --no-source-maps ./app/index.html",
-    "document": "jsdoc2md > doc/README.md",
-    "lint": "eslint lib app bin",
+    "lint": "eslint --ext .svelte --ext .js .",
     "linthtml": "htmlhint",
     "setup-hooks": "ln -s ../../scripts/git-hooks/pre-commit .git/hooks/pre-commit",
-    "test": "lab -r lab-markdown-reporter -o doc/COVERAGE.md -r console -o stdout -c --coverage-path lib -L -t 100 test",
+    "test": "echo sorry",
     "watch": "parcel ./app/index.html"
   },
   "dependencies": {
-    "@hapi/joi": "16.1.8",
-    "getenv2": "^2.0.0",
-    "koa": "^2.11.0",
-    "koa-send": "^5.0.0",
-    "koa-static": "^5.0.0",
-    "rethinkdb": "^2.4.2"
+    "eventemitter3": "^4.0.4",
+    "language-name-map": "^0.3.0",
+    "lightrouter": "^0.3.3"
   },
   "devDependencies": {
-    "@hapi/eslint-config-hapi": "^12.3.0",
-    "@hapi/eslint-plugin-hapi": "^4.3.4",
-    "@hapi/lab": "^21.0.0",
-    "eslint": "^6.7.2",
-    "htmlhint": "^0.11.0",
-    "jsdoc-to-markdown": "^5.0.3",
-    "lab-markdown-reporter": "^1.0.2",
+    "@hapi/eslint-config-hapi": "^13.0.2",
+    "@hapi/eslint-plugin-hapi": "^4.3.5",
+    "eslint": "^7.3.0",
+    "eslint-plugin-svelte3": "^2.7.3",
+    "htmlhint": "^0.14.0",
     "parcel-bundler": "^1.12.4",
-    "parcel-plugin-svelte": "^4.0.5",
-    "svelte": "^3.16.5"
+    "parcel-plugin-static-files-copy": "^2.4.3",
+    "parcel-plugin-svelte": "^4.0.6",
+    "svelte": "^3.23.2",
+    "svelte-i18n": "^3.0.4"
   },
   "keywords": [
     "forum"
@@ -54,5 +48,9 @@
       "lib/**/*.js",
       "config/**/*.js"
     ]
+  },
+  "optionalDependencies": {
+    "bufferutil": "^4.0.1",
+    "utf-8-validate": "^5.0.2"
   }
 }