@astonic-io/astonic-sdk
Version:
Official SDK for interacting with the Astonic Protocol
89 lines (88 loc) • 2.26 kB
JSON
{
"name": "@astonic-io/astonic-sdk",
"description": "Official SDK for interacting with the Astonic Protocol",
"version": "1.0.9",
"license": "MIT",
"author": "astonic-io",
"keywords": [
"astonic",
"planq",
"solidity"
],
"repository": {
"type": "git",
"url": "https://github.com/astonic-io/astonic-sdk.git"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"typings": "dist/esm/index.d.ts",
"files": [
"dist",
"!dist/**/*.test.*"
],
"scripts": {
"analyze": "size-limit --why",
"build": "yarn build:cjs && yarn build:esm",
"build:cjs": "tsc --project ./tsconfig.json",
"build:esm": "tsc --project ./tsconfig.esm.json",
"clean": "rm -rf ./dist",
"lint": "eslint --config ./.eslintrc.json src/**/*.ts",
"prettier": "prettier --config ./.prettierrc.json --write **/*.{json,md,js,ts,yml}",
"size": "size-limit",
"test": "jest --runInBand --verbose",
"coverage": "jest --coverage",
"cacheTradablePairs": "ts-node scripts/cacheTradablePairs.ts"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint"
}
},
"jest": {
"testEnvironment": "node",
"testMatch": [
"**/?(*.)+(test).ts"
]
},
"engines": {
"node": ">=14"
},
"size-limit": [
{
"path": "dist/sdk.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/sdk.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@size-limit/preset-small-lib": "^8.1.0",
"@tsconfig/recommended": "^1.0.1",
"@types/jest": "^29.4.0",
"@types/node": "^18.13.0",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"ethers": "^5.7.2",
"husky": "^8.0.2",
"jest": "^29.4.2",
"prettier": "^2.8.4",
"size-limit": "^8.1.0",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"dependencies": {
"@astonic-io/astonic-bindings-ts": "^0.2.5",
"@astonic-io/astonic-router-ts": "^0.2.0"
},
"peerDependencies": {
"ethers": "^5.7"
},
"packageManager": "yarn@3.3.1"
}