Browse Source

fix build

Paul 5 years ago
parent
commit
ee5f7126bc
3 changed files with 5 additions and 4 deletions
  1. 1
    0
      .gitignore
  2. 2
    2
      package.json
  3. 2
    2
      tsconfig.json

+ 1
- 0
.gitignore View File

@@ -1,3 +1,4 @@
1 1
 node_modules
2 2
 dist
3
+lib
3 4
 .cache

+ 2
- 2
package.json View File

@@ -1,8 +1,8 @@
1 1
 {
2 2
   "name": "ts-linker-sdk",
3
-  "version": "1.0.0",
3
+  "version": "1.0.1",
4 4
   "description": "linker's ts sdk",
5
-  "main": "dist/main.js",
5
+  "main": "lib/src/client.js",
6 6
   "scripts": {
7 7
     "start": "webpack-dev-server  --mode development",
8 8
     "test": "jest",

+ 2
- 2
tsconfig.json View File

@@ -11,8 +11,8 @@
11 11
       "src",
12 12
       "example"
13 13
     ],
14
-    "outDir": "dist/",
15
-    "declarationDir": "dist/types"
14
+    "outDir": "lib/",
15
+    "declarationDir": "lib/types"
16 16
   },
17 17
   "include": [
18 18
     "src/**/*",