瀏覽代碼

Update project build process

ApisNecros 1 年之前
父節點
當前提交
cca7250fc0
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 1 0
      package.json
  2. 2 1
      tsconfig.json

+ 1 - 0
package.json

@@ -5,6 +5,7 @@
   "main": "dist/main.ts",
   "type": "module",
   "scripts": {
+    "build": "tsc",
     "test": "echo \"Error: no test specified\" && exit 1"
   },
   "keywords": [

+ 2 - 1
tsconfig.json

@@ -24,5 +24,6 @@
   
       /* If your code doesn't run in the DOM: */
       "lib": ["es2022"]
-    }
+    },
+    "include": ["src"]
   }