瀏覽代碼

fix: move file to root of dist

Bruce MacDonald 1 年之前
父節點
當前提交
730643829e
共有 2 個文件被更改,包括 2 次插入2 次删除
  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"],
 }