]> git.r.bdr.sh - rbdr/forum/blobdiff - package.json
Add svelte linting
[rbdr/forum] / package.json
index 8c0401d4ddb2c24d305142c862fa4963e9822e5d..8c047ebb1cb4237fcba97aeda5e38a24c38e5c3a 100644 (file)
@@ -16,7 +16,8 @@
   "main": "lib/forum",
   "scripts": {
     "build": "parcel build --no-source-maps ./app/index.html",
-    "lint": "eslint lib app bin",
+    "document": "jsdoc2md > doc/README.md",
+    "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",
     "koa": "^2.11.0",
     "koa-send": "^5.0.0",
     "koa-static": "^5.0.0",
-    "rethinkdb": "^2.4.2"
+    "lightrouter": "^0.3.3",
+    "rethinkdb": "^2.4.2",
+    "uuid": "^3.3.3"
   },
   "devDependencies": {
+    "@hapi/code": "^7.0.0",
     "@hapi/eslint-config-hapi": "^12.3.0",
     "@hapi/eslint-plugin-hapi": "^4.3.4",
     "@hapi/lab": "^21.0.0",
     "eslint": "^6.7.2",
+    "eslint-plugin-svelte3": "^2.7.3",
     "htmlhint": "^0.11.0",
+    "jsdoc-to-markdown": "^5.0.3",
     "lab-markdown-reporter": "^1.0.2",
     "parcel-bundler": "^1.12.4",
+    "parcel-plugin-static-files-copy": "^2.2.1",
     "parcel-plugin-svelte": "^4.0.5",
     "svelte": "^3.16.5"
   },
   ],
   "browserslist": [
     "last 1 firefox version"
-  ]
+  ],
+  "jsdoc2md": {
+    "files": [
+      "lib/**/*.js",
+      "config/**/*.js"
+    ]
+  }
 }