]> git.r.bdr.sh - rbdr/forum/blobdiff - package.json
Use only src for aliases
[rbdr/forum] / package.json
index 8c0401d4ddb2c24d305142c862fa4963e9822e5d..7b652635e6610cbfede8c71d13cdb14305234615 100644 (file)
     "url": "https://gitlab.com/rbdr/forum/issues"
   },
   "version": "1.0.0",
     "url": "https://gitlab.com/rbdr/forum/issues"
   },
   "version": "1.0.0",
-  "type": "module",
-  "main": "lib/forum",
   "scripts": {
   "scripts": {
-    "build": "parcel build --no-source-maps ./app/index.html",
-    "lint": "eslint lib app bin",
+    "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",
     "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",
-    "watch": "parcel ./app/index.html"
+    "test": "echo sorry"
   },
   "dependencies": {
   },
   "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"
+    "@apollo/client": "^3.3.11",
+    "eventemitter3": "^4.0.4",
+    "language-name-map": "^0.3.0",
+    "svelte-apollo": "^0.4.0"
   },
   "devDependencies": {
   },
   "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",
-    "lab-markdown-reporter": "^1.0.2",
-    "parcel-bundler": "^1.12.4",
-    "parcel-plugin-svelte": "^4.0.5",
-    "svelte": "^3.16.5"
+    "@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",
+    "svelte": "^3.29.0",
+    "svelte-i18n": "^3.0.4",
+    "vite": "^2.0.4"
   },
   "keywords": [
     "forum"
   ],
   "browserslist": [
     "last 1 firefox version"
   },
   "keywords": [
     "forum"
   ],
   "browserslist": [
     "last 1 firefox version"
-  ]
+  ],
+  "jsdoc2md": {
+    "files": [
+      "src/**/*.js"
+    ]
+  },
+  "type": "module"
 }
 }