]> git.r.bdr.sh - rbdr/forum/blobdiff - package.json
Use babel-eslint as linter parser
[rbdr/forum] / package.json
index 7b652635e6610cbfede8c71d13cdb14305234615..eab545c4b833aee7a7b75eb5a03ac8379438fff6 100644 (file)
@@ -1,54 +1,46 @@
 {
-  "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",
-  "scripts": {
-    "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",
-    "test": "echo sorry"
-  },
-  "dependencies": {
-    "@apollo/client": "^3.3.11",
-    "eventemitter3": "^4.0.4",
-    "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",
-    "@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"
-  ],
-  "jsdoc2md": {
-    "files": [
-      "src/**/*.js"
-    ]
-  },
-  "type": "module"
+       "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",
+               "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"
+                                       }
+                               }
+                       ]
+               ]
+       }
 }