Files
oracle/packages/sdk/package.json

77 lines
2.0 KiB
JSON

{
"version": "0.34.1",
"license": "MIT",
"name": "@uma/sdk",
"author": "David Adams",
"main": "dist/node/index.js",
"module": "dist/web/index.js",
"typings": "dist/types/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=14"
},
"scripts": {
"start": "tsdx watch",
"build": "node ./build.js",
"build:web": "ENV_TYPE=web tsdx build --target web --format esm --name index",
"build:node": "tsdx build --target node --format cjs --name index",
"test": "jest",
"test:e2e": "tsdx test --config jest-e2e-config.json",
"test:watch": "tsdx test --watch",
"eslint": "eslint './src/**/*.ts'",
"prettier": "prettier './**/*.md' './src/**/*.ts'",
"lint": "yarn prettier --write && yarn eslint --fix",
"prepare": "yarn build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"size-limit": [
{
"path": "dist/web/index.js",
"limit": "500 KB"
}
],
"dependencies": {
"@eth-optimism/core-utils": "^0.7.7",
"@ethersproject/abstract-signer": "^5.4.0",
"@ethersproject/providers": "^5.4.2",
"@google-cloud/datastore": "^7.0.0",
"@types/lodash-es": "^4.17.5",
"@uma/contracts-frontend": "^0.4.16",
"@uma/contracts-node": "^0.4.16",
"axios": "^0.24.0",
"bluebird": "^3.7.2",
"bn.js": "^4.11.9",
"decimal.js": "^10.3.1",
"highland": "^2.13.5",
"immer": "^9.0.7",
"lodash-es": "^4.17.21"
},
"peerDependencies": {
"@eth-optimism/contracts": "^0.5.40",
"ethers": "^5.7.2"
},
"devDependencies": {
"@rollup/plugin-replace": "^3.0.0",
"@size-limit/preset-small-lib": "^4.10.2",
"@types/bluebird": "^3.5.33",
"@types/bn.js": "^5.1.0",
"@types/dotenv": "^8.2.0",
"@types/highland": "^2.12.13",
"@types/jest": "^29.4.0",
"dotenv": "^10.0.0",
"jest": "^29.4.1",
"size-limit": "^4.10.2",
"ts-jest": "^29.0.5",
"tsdx": "^0.14.1",
"tslib": "^2.2.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.com/",
"access": "public"
}
}