@ibgib/helper-gib
Version:
common helper/utils/etc used in ibgib libs. Node v19+ needed for heavily-used isomorphic webcrypto hashing consumed in both node and browsers.
63 lines (62 loc) • 2.87 kB
JSON
{
"name": "@ibgib/helper-gib",
"version": "0.0.4",
"description": "common helper/utils/etc used in ibgib libs. Node v19+ needed for heavily-used isomorphic webcrypto hashing consumed in both node and browsers.",
"repository": {
"url": "https://gitlab.com/ibgib/helper-gib",
"type": "git"
},
"funding": {
"type": "individual",
"url": "https://paypal.me/ibGib"
},
"main": "dist/index.mjs",
"scripts": {
"build": "npm run clean && tsc -b tsconfig.json --force",
"build:test": "npm run clean && tsc -b tsconfig.test.json --force",
"build:test:noclean": "tsc -b tsconfig.test.json --force",
"clean": "rm -rf ./dist",
"test": "npm run test:both",
"test:both": "npm run build:test && npm run test:node:nobuild && npm run test:browser:nobuild",
"man:test:both": "use this if you want to test in both node and browser contexts",
"test:node": "npm run build:test && npx jasmine --config=jasmine.json",
"man:test:node": "use this if you want to build+test in node",
"test:node:nobuild": "npx jasmine --config=jasmine.json",
"man:test:node:nobuild": "use this if you want to test in node but its already built",
"test:browser": "npm run build:test && npx jasmine-browser-runner runSpecs --config=jasmine-browser.json ",
"man:test:browser": "use this if you want to build+test only the browser context",
"test:browser:nobuild": "npx jasmine-browser-runner runSpecs --config=jasmine-browser.json ",
"man:test:browser:nobuild": "use this if you want to test only the browser context but its already built",
"test:browser:serve": "npm run build:test && npx jasmine-browser-runner serve --config=jasmine-browser.json ",
"man:test:browser:serve": "use this if you want to build+test in the browser and don't want the browser to close when your done. (i.e. you're debugging)",
"test:browser:serve:nobuild": "npx jasmine-browser-runner serve --config=jasmine-browser.json ",
"man:test:browser:serve:nobuild": "use this if you are troubleshooting existing dist output and don't want to overwrite those files. (and you're debugging in the browser)",
"pack": "npm pack --pack-destination=\"./published\"",
"prepare:publish": "npm run clean && npm version patch && npm run build && npm run pack",
"man:prepare:publish": "use this to patch > build > pack for publishing to npm repo"
},
"type": "module",
"keywords": [
"ibgib",
"dlt",
"blockchain",
"graph-database"
],
"author": "William Raiford",
"license": "ISC",
"dependencies": {},
"devDependencies": {
"@types/jasmine": "^4.3.1",
"@types/node": "^16.11.6",
"jasmine": "^4.5.0",
"jasmine-browser-runner": "^1.3.0",
"jasmine-core": "^4.5.0",
"typescript": "^4.9.5"
},
"engines": {
"node": ">=19.0.0"
},
"publishConfig": {
"access": "public"
}
}