@akashicpay/sdk
Version:
SDK to interact with the Akashic ecosystem
126 lines (125 loc) • 3.28 kB
JSON
{
"name": "@akashicpay/sdk",
"version": "1.5.1",
"description": "SDK to interact with the Akashic ecosystem",
"keywords": [
"SDK",
"Akashic",
"AP",
"AkashicPay"
],
"homepage": "https://github.com/akashicpay/akashicpay-node",
"license": "MIT",
"repository": {
"type": "git",
"directory": "packages/sdk/js-sdk",
"url": "https://github.com/akashicpay/akashicpay-node"
},
"types": "./lib/cjs/types/src/index.d.ts",
"main": "./lib/cjs/src/index.js",
"scripts": {
"build": "yarn clean && yarn build:cjs",
"build:cjs": "tsc -p tsconfig.json",
"docs": "../../../node_modules/.bin/jsdoc -c jsdoc.json src",
"clean": "rimraf --no-glob ./lib ./coverage ./tsconfig.tsbuildinfo",
"prepack": "yarn build",
"lint": "npx eslint . --cache",
"lint:fix": "yarn lint . --fix",
"typecheck": "tsc --project ./tsconfig.json --noEmit",
"test": "jest --maxWorkers=50%",
"test:watch": "jest --watch --maxWorkers=50%",
"test:e2e": "jest --config ./test/jest-e2e.ts --detectOpenHandles --maxWorkers=50%"
},
"files": [
"./lib"
],
"exports": {
".": {
"import": {
"types": "./lib/cjs/types/src/index.d.ts",
"default": "./lib/cjs/src/index.js"
},
"require": {
"types": "./lib/cjs/types/src/index.d.ts",
"default": "./lib/cjs/src/index.js"
}
}
},
"dependencies": {
"@activeledger/activecrypto": "2.15.7",
"@activeledger/sdk": "^1.3.6",
"@activeledger/sdk-bip39": "1.0.3",
"asn1.js": "^5.4.1",
"big.js": "6.2.1",
"node-fetch": "2",
"winston": "3.17.0"
},
"devDependencies": {
"@jsdoc/salty": "0.2.8",
"@semantic-release/exec": "6.0.3",
"@semantic-release/gitlab": "13.2.3",
"@types/jest": "^29.5.12",
"@types/node": "^18.0.4",
"@types/node-fetch": "2.6.2",
"better-docs": "2.7.3",
"jest": "^29.7.0",
"jsdoc": "3.6.11",
"rimraf": "3.0.2",
"semantic-release": "24.2.0",
"semantic-release-monorepo": "8.0.2",
"ts-jest": "29.2.2",
"typescript": "5.5.4"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": [
"ts-jest",
{
"tsconfig": "tsconfig.json"
}
]
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"release": {
"extends": "semantic-release-monorepo",
"branches": [
"staging"
],
"repositoryUrl": "https://gitlab.com/dreamsai/cpg-2/HeliumPay-monorepo",
"tagFormat": "jssdk-v${version}",
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{
"type": "chore",
"release": "patch"
}
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/gitlab",
[
"@semantic-release/exec",
{
"publishCmd": "cd ../../.. && JS_SDK_VERSION=${nextRelease.version} bash ci/scripts/deploy-js-sdk.sh && sh ci/scripts/send-to-slack.sh"
}
]
]
}
}