Browse Source

how to publish

master
Daniel Hübleitner 5 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
 node_modules
1
 node_modules
2
-lib
2
+*/**/*.js
3
+*/**/*.d.ts

+ 4
- 0
.npmignore View File

1
+src
2
+test
3
+node_modules
4
+tsconfig.json

+ 4
- 1
package.json View File

24
     "bsock": "^0.1.9",
24
     "bsock": "^0.1.9",
25
     "uuid": "^3.3.3"
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
     "target": "ESnext",
5
     "target": "ESnext",
6
     "module": "commonjs",
6
     "module": "commonjs",
7
     "declaration": true,
7
     "declaration": true,
8
-    "outDir": "./js",
9
     "strict": true,
8
     "strict": true,
10
     "experimentalDecorators": true
9
     "experimentalDecorators": true
11
   },
10
   },

Loading…
Cancel
Save