This commit is contained in:
Aleksandr Kraiz
2022-05-03 10:10:29 +04:00
parent 2d0cea557c
commit b2ca7a7d45
9 changed files with 660 additions and 1724 deletions

View File

@@ -1,10 +1,18 @@
{
"name": "@orionprotocol/sdk",
"version": "0.3.0",
"version": "0.3.1",
"description": "Orion Protocol SDK",
"main": "./lib/umd/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"module": "./lib/index.mjs",
"exports": {
".": {
"require": "./lib/index.js",
"import": "./lib/index.mjs",
"types": "./lib/index.d.ts"
},
"./package.json": "./package.json"
},
"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\"",
@@ -12,8 +20,11 @@
"watch-ts": "npm run typechain:generate-types && tsc -w --skipLibCheck",
"watch-js": "nodemon lib/esm/index.js",
"prepare": "npm run build",
"prebuild": "npm run typechain:generate-types && tsc",
"build": "webpack",
"prebuild": "npm run typechain:generate-types",
"build": "npm run clean && npm run build:cjs && npm run build:esm",
"build:esm": "rollup --config rollup.config.ts",
"build:cjs": "tsc --p tsconfig.cjs.json",
"rollup": "rollup --config rollup.config.ts",
"test": "exit 0",
"coverage": "jest --coverage",
"lint:eslint": "eslint ./src --ext .ts,.js,.tsx,.jsx",
@@ -38,6 +49,8 @@
"url": "https://github.com/orionprotocol/sdk/issues"
},
"devDependencies": {
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-typescript": "^8.3.2",
"@typechain/ethers-v5": "^10.0.0",
"@types/csprng": "^0.1.2",
"@types/node": "^17.0.23",
@@ -47,19 +60,16 @@
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"babel-core": "^6.26.3",
"babel-loader": "^8.2.5",
"concurrently": "^7.0.0",
"eslint": "^8.12.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.25.4",
"husky": "^7.0.4",
"jest": "^27.5.1",
"rollup": "^2.71.1",
"ts-loader": "^9.2.8",
"typechain": "^8.0.0",
"typescript": "^4.6.3",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2"
"typescript": "^4.6.3"
},
"dependencies": {
"@ethersproject/abstract-signer": "^5.6.0",
@@ -82,6 +92,7 @@
},
"homepage": "https://github.com/orionprotocol/sdk#readme",
"files": [
"lib/**/*"
"/lib",
"/index.d.ts"
]
}