Kaynağa Gözat

fix: move file to root of dist

Bruce MacDonald 1 yıl önce
ebeveyn
işleme
730643829e
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      package.json
  2. 1 1
      tsconfig.json

+ 1 - 1
package.json

@@ -9,7 +9,7 @@
     "format": "prettier --write .",
     "test": "jest --config=jest.config.cjs ./test/*",
     "build": "mkdir -p dist && touch dist/cleanup && rm dist/* && tsc -b",
-    "lint": "eslint ./src/* ./test/*",
+    "lint": "eslint ./src/*" ,
     "prepublishOnly": "npm run build"
   },
   "homepage": "https://github.com/ollama/ollama-js",

+ 1 - 1
tsconfig.json

@@ -20,7 +20,7 @@
     "esm": true,
   },
 
-  "include": ["./src/**/*.ts", "test/**/*.ts"],
+  "include": ["./src/**/*.ts"],
 
   "exclude": ["node_modules"],
 }