Skip to content

Commit dc4b90c

Browse files
committed
Adjusted exporting behavior
1 parent 15167b7 commit dc4b90c

File tree

5 files changed

+21
-59
lines changed

5 files changed

+21
-59
lines changed

.config/Tasks/Develop.sh

-14
This file was deleted.

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
**/.env
44

55
node_modules/
6-
Build/
7-
Test/
6+
Export/
87

98
*.js

Test/App.ts

-32
This file was deleted.

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"description": "Unofficial wrapper for the EasyBill API",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"name": "easybill",
55
"homepage": "https://github.com/ReceiptPlease/EasyBill",
66
"author": "PhoneDroid",
@@ -17,10 +17,11 @@
1717
"EasyBill",
1818
"API"
1919
],
20-
"main": "Source/mod.ts",
20+
"main" : "Export/mod.js",
21+
"types" : "Export/mod.d.ts",
22+
"files" : [ "Export" ],
2123
"scripts": {
2224
"build": "bash .config/Tasks/Build.sh",
23-
"dev": "bash .config/Tasks/Develop.sh",
2425
"generate:types": "bash .config/Tasks/Types.sh"
2526
},
2627
"dependencies": {

tsconfig.json

+16-8
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,28 @@
11
{
2-
"include" : [
3-
"./Source/**/*" ,
4-
"./Test/**/*"
2+
"include" : [ "./Source/**/*.ts" ],
3+
4+
"exclude" : [
5+
"node_modules" ,
6+
"lib"
57
],
68

79

810
"compilerOptions" : {
911

10-
"baseUrl" : "./Source" ,
11-
"outDir" : "./Build",
12+
"baseUrl" : "Source" ,
13+
"outDir" : "Export" ,
1214

13-
"module" : "commonjs" ,
15+
"moduleResolution" : "node" ,
16+
"module" : "ESNext" ,
1417
"target" : "ESNext" ,
15-
"strict" : true ,
1618

19+
"forceConsistentCasingInFileNames" : true ,
20+
"esModuleInterop" : true ,
1721
"isolatedModules" : true ,
18-
"skipLibCheck" : true
22+
"declarationMap" : true ,
23+
"skipLibCheck" : true ,
24+
"declaration" : true ,
25+
"sourceMap" : true ,
26+
"strict" : true
1927
}
2028
}

0 commit comments

Comments
 (0)