Skip to content

Commit 9c93894

Browse files
committed
Publish to npm :)
1 parent 5cf164a commit 9c93894

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Custom
2-
build/
2+
lib/
33

44
# Logs
55
logs

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"name": "bufferstuff",
33
"version": "1.0.0",
44
"description": "A set of utility classes for reading and writing binary data in NodeJS and the browser",
5-
"main": "index.ts",
5+
"main": "./lib/index.js",
6+
"types": "./lib/index.d.ts",
67
"scripts": {
78
"updateCheck": "check-outdated",
89
"build": "tsc --build",
@@ -13,7 +14,7 @@
1314
"url": "git+https://github.com/tgpholly/bufferStuff.git"
1415
},
1516
"keywords": [],
16-
"author": "",
17+
"author": "tgpholly",
1718
"license": "MIT",
1819
"bugs": {
1920
"url": "https://github.com/tgpholly/bufferStuff/issues"
@@ -25,4 +26,4 @@
2526
"ts-node": "^10.9.1",
2627
"typescript": "^5.0.4"
2728
}
28-
}
29+
}

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"esModuleInterop": true,
77
"resolveJsonModule": true,
88
"rootDir": "./",
9-
"outDir": "./build",
9+
"outDir": "./lib",
1010
"strict": true,
1111
"declaration": true
1212
}
13-
}
13+
}

0 commit comments

Comments
 (0)