ethers-maths
Version:
➗ Useful ethers-based math libraries to ease the journey through off-chain fixed-point arithmetics
140 lines (139 loc) • 3.15 kB
JSON
{
"name": "ethers-maths",
"version": "5.0.2",
"description": "➗ Useful ethers-based math libraries to ease the journey through off-chain fixed-point arithmetics",
"main": "lib/index.js",
"files": [
"lib/*"
],
"scripts": {
"build": "tsc --build tsconfig.build.json",
"clean": "rm -rf ./lib/",
"cm": "cz",
"prepare": "husky install",
"test:watch": "jest --watch",
"test": "jest --coverage",
"typecheck": "tsc --noEmit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Rubilmax/ethers-maths.git"
},
"license": "MIT",
"author": {
"name": "Romain (Rubilmax) Milon",
"email": "rmilon@gmail.com",
"url": "https://github.com/rubilmax"
},
"engines": {
"node": ">=12.0"
},
"keywords": [
"ethers",
"multicall",
"rpc",
"call",
"evm",
"smart contract"
],
"bugs": {
"url": "https://github.com/Rubilmax/ethers-maths/issues"
},
"homepage": "https://github.com/Rubilmax/ethers-maths#readme",
"dependencies": {
"ethers": "^6.0.0"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@trivago/prettier-plugin-sort-imports": "4.1.1",
"@types/jest": "^29.5.5",
"commitizen": "^4.3.0",
"conventional-changelog-conventionalcommits": "^5.0.0",
"cz-conventional-changelog": "^3.3.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
},
"peerDependencies": {
"ethers": "^6.0.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.ts": "prettier"
},
"release": {
"branches": [
"main"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"type": "build",
"scope": "deps",
"release": "patch"
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "build",
"section": "Dependencies and Other Build Updates",
"hidden": false
}
]
}
}
],
"@semantic-release/npm",
"@semantic-release/github"
]
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/test/**/*.spec.ts"
],
"collectCoverageFrom": [
"<rootDir>/src/**/*.ts",
"!<rootDir>/src/types/**/*.ts"
],
"transform": {
"\\.tsx?$": [
"ts-jest",
{
"diagnostics": false,
"isolatedModules": true
}
]
}
}
}