Browse Source

how to publish

master
Daniel Hübleitner 4 years ago
parent
commit
1e08f049b5
4 changed files with 10 additions and 3 deletions
  1. 2
    1
      .gitignore
  2. 4
    0
      .npmignore
  3. 4
    1
      package.json
  4. 0
    1
      tsconfig.json

+ 2
- 1
.gitignore View File

@@ -1,2 +1,3 @@
1 1
 node_modules
2
-lib
2
+*/**/*.js
3
+*/**/*.d.ts

+ 4
- 0
.npmignore View File

@@ -0,0 +1,4 @@
1
+src
2
+test
3
+node_modules
4
+tsconfig.json

+ 4
- 1
package.json View File

@@ -24,5 +24,8 @@
24 24
     "bsock": "^0.1.9",
25 25
     "uuid": "^3.3.3"
26 26
   },
27
-  "files": []
27
+  "files": [
28
+    "./lib/Backend.js",
29
+    "./lib/Frontend.js"
30
+  ]
28 31
 }

+ 0
- 1
tsconfig.json View File

@@ -5,7 +5,6 @@
5 5
     "target": "ESnext",
6 6
     "module": "commonjs",
7 7
     "declaration": true,
8
-    "outDir": "./js",
9 8
     "strict": true,
10 9
     "experimentalDecorators": true
11 10
   },

Loading…
Cancel
Save