]> git.r.bdr.sh - rbdr/forum/blobdiff - package.json
Lint, rm unused code
[rbdr/forum] / package.json
index 8c0401d4ddb2c24d305142c862fa4963e9822e5d..2a8ff8a431034d50c39d902174e636ea5613a9e2 100644 (file)
@@ -1,50 +1,60 @@
 {
-  "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": "1.0.0-dev1",
+       "scripts": {
+               "dev": "svelte-kit dev",
+               "build": "svelte-kit build",
+               "package": "svelte-kit package",
+               "preview": "svelte-kit preview",
+               "prepare": "svelte-kit sync",
+               "test": "jest src --runInBand",
+               "test:watch": "npm run test -- --watch",
+               "test:playwright": "playwright test",
+               "check": "svelte-check --tsconfig ./tsconfig.json",
+               "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
+               "lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
+               "format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. .",
+               "document": "typedoc --plugin typedoc-plugin-markdown --out doc 'src/app.d.ts'"
+       },
+       "devDependencies": {
+               "@apollo/client": "^3.6.4",
+               "@ory/client": "^0.0.1-alpha.177",
+               "@pact-foundation/pact": "^9.17.3",
+               "@playwright/test": "^1.20.0",
+               "@supabase/supabase-js": "^1.35.3",
+               "@sveltejs/adapter-auto": "next",
+               "@sveltejs/kit": "next",
+               "@tailwindcss/typography": "^0.5.2",
+               "@testing-library/jest-dom": "^5.16.4",
+               "@testing-library/svelte": "^3.1.1",
+               "@testing-library/user-event": "^14.1.1",
+               "@types/jest": "^27.4.1",
+               "@typescript-eslint/eslint-plugin": "^5.10.1",
+               "@typescript-eslint/parser": "^5.10.1",
+               "autoprefixer": "^10.4.4",
+               "cross-fetch": "^3.1.5",
+               "daisyui": "^2.13.4",
+               "eslint": "^8.14.0",
+               "eslint-config-prettier": "^8.3.0",
+               "eslint-plugin-svelte3": "^3.2.1",
+               "jest": "^28.0.3",
+               "jest-environment-jsdom": "^28.0.2",
+               "language-name-map": "^0.3.0",
+               "postcss": "^8.4.12",
+               "prettier": "^2.5.1",
+               "prettier-plugin-svelte": "^2.5.0",
+               "svelte": "^3.44.0",
+               "svelte-check": "^2.7.0",
+               "svelte-i18n": "^3.3.13",
+               "svelte-jester": "^2.3.2",
+               "svelte-preprocess": "^4.10.6",
+               "tailwindcss": "^3.0.23",
+               "tinyduration": "^3.2.2",
+               "ts-jest": "^28.0.0-next.3",
+               "tslib": "^2.3.1",
+               "typedoc": "^0.22.15",
+               "typedoc-plugin-markdown": "^3.12.1",
+               "typescript": "~4.6.2"
+       },
+       "type": "module"
 }