Publish to npm :)

This commit is contained in:
Holly Stubbs 2023-05-12 13:56:42 +01:00
parent 5cf164ad57
commit 9c93894160
3 changed files with 7 additions and 6 deletions

2
.gitignore vendored
View File

@ -1,5 +1,5 @@
# Custom
build/
lib/
# Logs
logs

View File

@ -2,7 +2,8 @@
"name": "bufferstuff",
"version": "1.0.0",
"description": "A set of utility classes for reading and writing binary data in NodeJS and the browser",
"main": "index.ts",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"scripts": {
"updateCheck": "check-outdated",
"build": "tsc --build",
@ -13,7 +14,7 @@
"url": "git+https://github.com/tgpholly/bufferStuff.git"
},
"keywords": [],
"author": "",
"author": "tgpholly",
"license": "MIT",
"bugs": {
"url": "https://github.com/tgpholly/bufferStuff/issues"
@ -25,4 +26,4 @@
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
}
}
}

View File

@ -6,8 +6,8 @@
"esModuleInterop": true,
"resolveJsonModule": true,
"rootDir": "./",
"outDir": "./build",
"outDir": "./lib",
"strict": true,
"declaration": true
}
}
}