workinggit status

This commit is contained in:
stjet
2024-09-05 04:21:04 +00:00
commit 77b4d1bfc8
105 changed files with 3866 additions and 0 deletions

21
package.json Normal file
View File

@@ -0,0 +1,21 @@
{
"name": "bns",
"version": "0.0.1",
"description": "JS/TS library for the Banano cryptocurrency's currently unofficial Banano Name System (BNS)",
"main": "main.js",
"scripts": {
"compile": "tsc -p .",
"docs": "typedoc --name bns --entryPoints ./main.ts && echo bns.prussia.dev > ./docs/CNAME && cp -r ./browser_test ./docs/browser_test && cp ./bns-browser.js ./docs/bns-browser.js",
"browser": "esbuild browser-main.ts --bundle --minify --keep-names --drop-labels=NODE --outfile=bns-browser.js",
"build": "npm run compile && npm run docs && npm run browser",
"diff": "git diff --cached -- *.{ts,md,json} 'browser_test/index.html' 'node_test/index.js'"
},
"devDependencies": {
"esbuild": "^0.21.4",
"typedoc": "^0.25.13",
"typescript": "^5.4.5"
},
"dependencies": {
"banani": "^1.0.2"
}
}