-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
90 lines (90 loc) · 3.82 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "@terra-money/warp-sdk",
"repository": {
"type": "git",
"url": "https://github.com/terra-money/warp-sdk.git"
},
"description": "Sdk for interacting with Warp protocol.",
"main": "dist/index.js",
"browser": "dist/index.browser.js",
"publishConfig": {
"access": "public"
},
"author": "",
"bugs": {
"url": "https://github.com/terra-money/warp-sdk/issues"
},
"homepage": "https://github.com/terra-money/warp-sdk#readme",
"version": "0.2.29",
"scripts": {
"clean": "rm -rf dist",
"build": "yarn clean && yarn build:node && yarn build:browser",
"build:node": "node build.js && tsc",
"build:browser": "BUILD_TARGET=browser node build.js",
"start": "yarn bot-terra",
"migrate-pending-jobs-terra": "esbuild src/migrate/migrate_pending_jobs.ts --bundle --platform=node --outdir=dist --outbase=src && node ./dist/migrate/migrate_pending_jobs.js ./config.terra.json",
"migrate-finished-jobs-terra": "esbuild src/migrate/migrate_finished_jobs.ts --bundle --platform=node --outdir=dist --outbase=src && node ./dist/migrate/migrate_finished_jobs.js ./config.terra.json",
"bot-terra": "esbuild src/bot.ts --bundle --platform=node --outdir=dist --outbase=src && node ./dist/bot.js ./config.terra.json",
"bot-neutron": "esbuild src/bot.ts --bundle --platform=node --outdir=dist --outbase=src && node ./dist/bot.js ./config.neutron.json",
"bot-injective": "esbuild src/bot.ts --bundle --platform=node --outdir=dist --outbase=src && node ./dist/bot.js ./config.injective.json",
"bot-nibiru": "esbuild src/bot.ts --bundle --platform=node --outdir=dist --outbase=src && node ./dist/bot.js ./config.nibiru.json",
"bot-osmosis": "esbuild src/bot.ts --bundle --platform=node --outdir=dist --outbase=src && node ./dist/bot.js ./config.osmosis.json",
"bot-archway": "esbuild src/bot.ts --bundle --platform=node --outdir=dist --outbase=src && node ./dist/bot.js ./config.archway.json",
"bot-oraichain": "esbuild src/bot.ts --bundle --platform=node --outdir=dist --outbase=src && node ./dist/bot.js ./config.oraichain.json",
"generate-dts": "dts-bundle-generator -o types.d.ts src/index.ts",
"example-mito": "esbuild src/examples/example_mito.ts --bundle --platform=node --outdir=dist --outbase=src && node ./dist/examples/example_mito.js ./config.injective.json",
"format": "prettier --write \"src/**/*.{js,ts,tsx}\"",
"generate-types": "node --experimental-specifier-resolution=node --loader ts-node/esm ./scripts/generate-types.js warp-protocol",
"postinstall": "husky install",
"prepack": "pinst --disable",
"postpack": "pinst --enable"
},
"lint-staged": {
"./src/{**/*,*}.{ts,tsx}": [
"prettier --write"
]
},
"generate-types": {
"contracts": [
"warp-controller",
"warp-resolver",
"warp-templates",
"warp-account",
"warp-account-tracker"
],
"output": "src/types/contracts"
},
"dependencies": {
"@terra-money/feather.js": "1.0.11",
"@types/node": "^16.11.56",
"axios": "^1.1.2",
"big.js": "^6.2.1",
"date-fns": "^2.29.3",
"dotenv": "^16.0.1",
"json-stable-stringify": "^1.1.1",
"jsonpath": "^1.1.1",
"jsonpath-plus": "^7.2.0",
"lodash": "^4.17.21",
"pino": "^8.4.2",
"typescript": "^4.8.2"
},
"devDependencies": {
"@chialab/esbuild-plugin-require-resolve": "^0.17.1",
"@types/big.js": "^6.1.6",
"@types/jest": "^29.5.1",
"@types/json-stable-stringify": "^1.0.36",
"@types/lodash": "^4.14.191",
"dts-bundle-generator": "^9.3.1",
"esbuild": "^0.14.54",
"esbuild-node-externals": "^1.6.0",
"husky": "^8.0.2",
"jest": "^29.5.0",
"json-schema-to-typescript": "^11.0.2",
"lint-staged": "^13.0.4",
"pinst": "^3.0.0",
"prettier": "^2.8.0",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0"
}
}