]> git.r.bdr.sh - rbdr/lgtm/blobdiff - package.json
Port to svelte
[rbdr/lgtm] / package.json
index 6400deebffaaf36d342de22d4adfe6e83633d866..2607c545fb79b33d0d425557deb863dd7c4cc152 100644 (file)
@@ -1,34 +1,26 @@
 {
   "name": "lgtm",
 {
   "name": "lgtm",
-  "version": "1.0.0",
+  "version": "2.0.0",
   "description": "looks good to me",
   "description": "looks good to me",
-  "main": "index.js",
   "scripts": {
   "scripts": {
-    "lint": "eslint .",
-    "start": "node index",
-    "setup_database": "node scripts/setup_database",
-    "test": "echo \"Error: no test specified\" && exit 1"
+    "dev": "svelte-kit dev",
+    "build": "svelte-kit build",
+    "preview": "svelte-kit preview",
+    "lint": "eslint --ignore-path .gitignore ."
   },
   "repository": {
     "type": "git",
   },
   "repository": {
     "type": "git",
-    "url": "git+https://github.com/rbdr/lgtm.git"
+    "url": "git+https://gitlab.com/rbdr/lgtm.git"
   },
   "author": "Ruben Beltran del Rio <ruben@unlimited.pizza>",
   "license": "MIT",
   },
   "author": "Ruben Beltran del Rio <ruben@unlimited.pizza>",
   "license": "MIT",
-  "bugs": {
-    "url": "https://github.com/rbdr/lgtm/issues"
-  },
-  "homepage": "https://github.com/rbdr/lgtm#readme",
-  "dependencies": {
-    "dotenv": "^2.0.0",
-    "getenv": "^0.7.0",
-    "koa": "^1.2.4",
-    "koa-static": "^2.0.0",
-    "mysql2": "^1.1.2",
-    "nunjucks": "^3.0.0"
-  },
+  "homepage": "lgtm.unlimited.pizza",
   "devDependencies": {
   "devDependencies": {
-    "eslint-config-hapi": "^10.0.0",
-    "eslint-plugin-hapi": "^4.0.0"
-  }
+    "@sveltejs/adapter-static": "next",
+    "@sveltejs/kit": "next",
+    "eslint": "^8.4.1",
+    "eslint-plugin-svelte3": "^3.2.1",
+    "svelte": "^3.44.2"
+  },
+  "type": "module"
 }
 }