]> git.r.bdr.sh - rbdr/forum/blobdiff - package.json
Mock config for tests
[rbdr/forum] / package.json
index 8c0401d4ddb2c24d305142c862fa4963e9822e5d..ca8bb3795fec0b0ef396ba5f3799ac9de845b6ee 100644 (file)
@@ -1,50 +1,47 @@
 {
-  "name": "forum",
-  "description": "A Forum for the year 3000",
-  "license": "Apache-2.0",
-  "author": "Rubén Beltrán del Río <ruben@unlimited.pizza>",
-  "homepage": "https://forum.unlimited.pizza",
-  "repository": {
-    "type": "git",
-    "url": "git+ssh://git@gitlab.com/rbdr/forum.git"
-  },
-  "bugs": {
-    "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",
-    "lint": "eslint lib app bin",
-    "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"
-  },
-  "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"
-  },
-  "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"
-  },
-  "keywords": [
-    "forum"
-  ],
-  "browserslist": [
-    "last 1 firefox version"
-  ]
+       "name": "forum",
+       "version": "0.0.1",
+       "scripts": {
+               "dev": "svelte-kit dev",
+               "build": "svelte-kit build",
+               "start": "svelte-kit start",
+               "lint": "eslint --fix .",
+               "test": "jest src",
+               "test:watch": "npm run test -- --watch"
+       },
+       "devDependencies": {
+               "@apollo/client": "^3.3.14",
+               "@babel/core": "^7.13.15",
+               "@babel/preset-env": "^7.13.15",
+               "@hapi/eslint-config-hapi": "^13.0.2",
+               "@sveltejs/adapter-node": "next",
+               "@sveltejs/kit": "next",
+               "@testing-library/jest-dom": "^5.11.10",
+               "@testing-library/svelte": "^3.0.3",
+               "@testing-library/user-event": "^13.1.5",
+               "babel-eslint": "^10.1.0",
+               "babel-jest": "^26.6.3",
+               "cross-fetch": "^3.1.4",
+               "eslint": "^7.22.0",
+               "eslint-plugin-svelte3": "^3.1.0",
+               "jest": "^26.6.3",
+               "language-name-map": "^0.3.0",
+               "svelte": "^3.29.0",
+               "svelte-i18n": "^3.3.9",
+               "svelte-jester": "^1.4.0",
+               "vite": "^2.1.0"
+       },
+       "type": "module",
+       "babel": {
+               "presets": [
+                       [
+                               "@babel/preset-env",
+                               {
+                                       "targets": {
+                                               "node": "current"
+                                       }
+                               }
+                       ]
+               ]
+       }
 }