Browse Source

chore: Update npm dependencies and add linting scripts

C4illin 1 year ago
parent
commit
b9fe32053c
2 changed files with 14 additions and 8 deletions
  1. BIN
      bun.lockb
  2. 14 8
      package.json

BIN
bun.lockb


+ 14 - 8
package.json

@@ -5,16 +5,20 @@
     "dev": "bun run --watch src/index.tsx",
     "hot": "bun run --hot src/index.tsx",
     "format": "biome format --write ./src",
-    "css": "cpy 'node_modules/@picocss/pico/css/pico.lime.min.css' 'src/public/' --flat"
+    "css": "cpy 'node_modules/@picocss/pico/css/pico.lime.min.css' 'src/public/' --flat",
+    "lint": "run-p 'lint:*'",
+    "lint:tsc": "tsc --noEmit",
+    "lint:knip": "knip"
   },
   "dependencies": {
     "@elysiajs/cookie": "^0.8.0",
     "@elysiajs/html": "1.0.2",
     "@elysiajs/jwt": "^1.1.0",
-    "@elysiajs/static": "^1.1.0",
+    "@elysiajs/static": "1.0.2",
     "elysia": "^1.1.4"
   },
   "module": "src/index.tsx",
+  "type": "module",
   "bun-create": {
     "start": "bun run src/index.tsx"
   },
@@ -27,16 +31,18 @@
     "@types/bun": "^1.1.6",
     "@types/eslint": "^9.6.0",
     "@types/node": "^22.0.0",
-    "@types/ws": "^8.5.11",
-    "@typescript-eslint/eslint-plugin": "^7.17.0",
-    "@typescript-eslint/parser": "^7.17.0",
+    "@typescript-eslint/eslint-plugin": "^7.18.0",
+    "@typescript-eslint/parser": "^7.18.0",
     "cpy-cli": "^5.0.0",
+    "eslint": "^9.8.0",
     "eslint-config-prettier": "^9.1.0",
+    "eslint-plugin-import": "^2.29.1",
+    "eslint-plugin-isaacscript": "^3.12.2",
     "eslint-plugin-prettier": "^5.2.1",
+    "knip": "^5.27.0",
+    "npm-run-all": "^4.1.5",
     "prettier": "^3.3.3",
     "typescript": "^5.5.4"
   },
-  "trustedDependencies": [
-    "@biomejs/biome"
-  ]
+  "trustedDependencies": ["@biomejs/biome"]
 }