descent-js
Version:
A Typescript library for interacting with the Descent Protocol
120 lines (119 loc) • 3.2 kB
JSON
{
"name": "descent-js",
"version": "0.1.6",
"description": "A Typescript library for interacting with the Descent Protocol",
"keywords": [
"xNGN",
"Web3",
"Lending",
"SDK"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Descent-Collective/descent-sdk"
},
"license": "MIT",
"author": "Njoku Emmanuel",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.mjs",
"types": "./dist/types/index.d.ts"
},
"./*.js": {
"import": "./dist/esm/*.mjs",
"require": "./dist/cjs/*.js",
"default": "./dist/esm/*.mjs",
"types": "./dist/types/*.d.ts"
},
"./*.mjs": {
"import": "./dist/esm/*.mjs",
"require": "./dist/cjs/*.js",
"default": "./dist/esm/*.mjs",
"types": "./dist/types/*.d.ts"
},
"./*": {
"import": "./dist/esm/*.mjs",
"require": "./dist/cjs/*.js",
"default": "./dist/esm/*.mjs",
"types": "./dist/types/*.d.ts"
}
},
"files": [
"dist",
"src"
],
"scripts": {
"analyze": "size-limit --why",
"format": "prettier --write .",
"generate-types": "typechain --target ethers-v6 --out-dir src/generated 'src/contracts/abis/*.json' ",
"start": "ts-node --files src/index.test.ts",
"size": "size-limit",
"publish:sdk": "yalc publish --push --up",
"prepublishOnly": "npm ci && npm run build",
"dev": "concurrently -c yellow,blue -n RLP,SRV \"npm:build:watch\" \"npm:serve\"",
"build": "node esbuild.js",
"test": "jest --coverage ./test/",
"test:getter": "jest ./test/getters.test.ts",
"test:vault": "jest ./test/vault.test.ts",
"ver": "yarn version --no-workspaces-update"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"transform": {
"node_modules/variables/.+\\.(j|t)sx?$": "ts-jest"
}
},
"husky": {
"hooks": {
"pre-commit": "yarn format"
}
},
"dependencies": {
"ethers": "^6.7.1",
"ganache": "^7.9.1"
},
"devDependencies": {
"@ethersproject/abi": "^5.7.0",
"@rollup/plugin-commonjs": "^25.0.5",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@size-limit/preset-small-lib": "^9.0.0",
"@typechain/ethers-v6": "^0.5.1",
"@types/jest": "^29.5.11",
"dotenv": "^16.3.1",
"esbuild": "^0.19.8",
"fs": "^0.0.1-security",
"glob": "^8.0.3",
"husky": "^8.0.3",
"jest": "^29.7.0",
"prettier": "^3.1.0",
"rollup": "^3.29.4",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-typescript2": "^0.36.0",
"size-limit": "^9.0.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.7.0",
"tsdx": "^0.14.1",
"tslib": "^2.6.2",
"typechain": "^8.3.2",
"typescript": "^5.2.2"
},
"size-limit": [
{
"path": "dist/descent-js.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/descent-js.esm.js",
"limit": "10 KB"
}
]
}