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 # Custom
build/ lib/
# Logs # Logs
logs logs

View file

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

View file

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