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
 node_modules
1
 node_modules
2
 dist
2
 dist
3
+lib
3
 .cache
4
 .cache

+ 2
- 2
package.json View File

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

+ 2
- 2
tsconfig.json View File

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