mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-13 21:52:36 +03:00
121 lines
3.5 KiB
JSON
121 lines
3.5 KiB
JSON
{
|
|
"name": "@orionprotocol/sdk",
|
|
"version": "0.22.18",
|
|
"description": "Orion Protocol SDK",
|
|
"main": "./lib/index.cjs",
|
|
"module": "./lib/index.js",
|
|
"types": "./lib/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"require": "./lib/index.cjs",
|
|
"import": "./lib/index.js",
|
|
"types": "./lib/index.d.ts"
|
|
},
|
|
"./browser": {
|
|
"browser": "./lib/index.global.js"
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "npm run build && node lib/esm/index.js",
|
|
"develop": "concurrently -i -k -p \"[{name}]\" -n \"Node,TypeScript\" -c \"yellow.bold,cyan.bold\" \"yarn watch-js\" \"yarn watch-ts\"",
|
|
"clean": "rimraf lib/*",
|
|
"watch-ts": "tsc -w --skipLibCheck",
|
|
"watch-js": "nodemon lib/esm/index.js",
|
|
"prepare": "is-ci || husky install",
|
|
"build": "tsup src/index.ts",
|
|
"coverage": "jest --coverage",
|
|
"lint:eslint": "eslint ./src --ext .ts,.js,.tsx,.jsx",
|
|
"lint:eslint:fix": "eslint ./src --ext .ts,.js,.tsx,.jsx --fix",
|
|
"postinstall": "patch-package",
|
|
"postpublish": "npm run publish-npm",
|
|
"publish-npm": "npm publish --access public --ignore-scripts --@orionprotocol:registry='https://registry.npmjs.org'",
|
|
"test": "dotenv jest",
|
|
"test:coverage": "jest --coverage",
|
|
"test:watch": "jest --watch"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/orionprotocol/sdk.git"
|
|
},
|
|
"keywords": [
|
|
"sdk",
|
|
"orion",
|
|
"orionprotocol",
|
|
"trading"
|
|
],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://github.com/orionprotocol/sdk/issues"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.21.4",
|
|
"@babel/plugin-syntax-import-assertions": "^7.20.0",
|
|
"@tsconfig/esm": "^1.0.4",
|
|
"@tsconfig/strictest": "^2.0.1",
|
|
"@types/express": "^4.17.17",
|
|
"@types/jest": "^29.5.1",
|
|
"@types/node": "^20.5.1",
|
|
"@types/uuid": "^9.0.1",
|
|
"@types/ws": "^8.5.4",
|
|
"@typescript-eslint/eslint-plugin": "^6.4.0",
|
|
"@typescript-eslint/parser": "^6.4.0",
|
|
"babel-loader": "^9.1.2",
|
|
"concurrently": "^8.1.0",
|
|
"esbuild": "^0.13.4",
|
|
"eslint": "^8.47.0",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-config-standard": "^17.1.0",
|
|
"eslint-config-standard-with-typescript": "^38.0.0",
|
|
"eslint-plugin-import": "^2.28.1",
|
|
"eslint-plugin-n": "^16.0.1",
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
"http-terminator": "^3.2.0",
|
|
"husky": "^8.0.3",
|
|
"is-ci": "^3.0.1",
|
|
"jest": "^29.5.0",
|
|
"ts-jest": "^29.1.0",
|
|
"ts-loader": "^9.4.3",
|
|
"ts-node": "github:TypeStrong/ts-node#main",
|
|
"tsup": "^7.2.0",
|
|
"typescript": "^5.2.2"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.21.0",
|
|
"@ethersproject/abstract-signer": "^5.7.0",
|
|
"@ethersproject/providers": "^5.7.2",
|
|
"@orionprotocol/contracts": "^1.23.9",
|
|
"@types/lodash.clonedeep": "^4.5.9",
|
|
"bignumber.js": "^9.1.1",
|
|
"bson-objectid": "^2.0.4",
|
|
"buffer": "^6.0.3",
|
|
"crypto-js": "^4.2.0",
|
|
"ethers": "^6.12.0",
|
|
"express": "^4.18.2",
|
|
"isomorphic-ws": "^5.0.0",
|
|
"just-clone": "^6.2.0",
|
|
"lodash.clonedeep": "^4.5.0",
|
|
"merge-anything": "^5.1.7",
|
|
"neverthrow": "^6.0.0",
|
|
"patch-package": "^8.0.0",
|
|
"simple-typed-fetch": "0.2.3",
|
|
"stream-browserify": "^3.0.0",
|
|
"tiny-invariant": "^1.3.1",
|
|
"ts-is-present": "^1.2.2",
|
|
"uuid": "^9.0.0",
|
|
"ws": "^8.13.0",
|
|
"zod": "3.22.2"
|
|
},
|
|
"homepage": "https://github.com/orionprotocol/sdk#readme",
|
|
"files": [
|
|
"lib/**/*"
|
|
],
|
|
"overrides": {
|
|
"tsconfig-paths": "^4.0.0"
|
|
}
|
|
}
|