-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 3.09 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
{
"name": "minter-js-web3-sdk",
"version": "0.0.15",
"description": "JS Web3 SDK for Minter Blockchain",
"type": "module",
"exports": {
"./*": {
"default": "./*",
"types": "./types/*"
}
},
"files": [
"/src/",
"/dist/",
"/types/"
],
"types": "./types/types.d.ts",
"scripts": {
"tsc:check": "tsc --project tsconfig.json",
"tsc:dts": "npm run tsc:modules || npm run tsc:legacy || echo 'types generated'",
"tsc:modules": "tsc --project tsconfig.json --noEmit false --declaration --emitDeclarationOnly --declarationDir types",
"tsc:legacy": "tsc --project tsconfig.json --noEmit false --declaration --emitDeclarationOnly --outFile types/types.d.ts",
"jsdoc-to-dts": "jsdoc -c jsdoc.config.json .",
"dts": "dts-generator --project . --out types/types.d.ts",
"swagger": "npm run swagger:modules && npm run swagger:global",
"swagger:modules": "npm run swagger:1inch && npm run swagger:paraswap",
"swagger:global": "npm run swagger:prepare-templates && npm run swagger:global-1inch && npm run swagger:global-paraswap",
"swagger:prepare-templates": "sta generate-templates --output ./tmp/sta --clean-output && replace-in-file '/export (interface|type|enum|class|<%)/g' '$1' ./tmp/sta/**.ejs --is-regex",
"swagger:1inch": "swagger-typescript-api -p 'https://api.1inch.io/swagger/binance-json' --no-client --extract-request-params --type-prefix OneInch -o src/api -n ${npm_config_file_name:=swap-1inch-models.d.ts}",
"swagger:paraswap": "swagger-typescript-api -p 'https://api.swaggerhub.com/apis/paraswapv5/api/1.0' --no-client --extract-request-params --type-prefix ParaSwap -o src/api -n ${npm_config_file_name:=swap-paraswap-models.d.ts}",
"swagger:global-1inch": "npm run swagger:1inch --file-name=swap-1inch-models-global.d.ts -- --templates ./tmp/sta/",
"swagger:global-paraswap": "npm run swagger:paraswap --file-name=swap-paraswap-models-global.d.ts -- --templates ./tmp/sta/",
"prepublishOnly": "npm run tsc:dts",
"precommit": "echo 'Pre-commit checks...' && npm run lint"
},
"pre-commit": [
"precommit"
],
"keywords": [
"minter",
"blockchain",
"sdk"
],
"author": "shrpne <[email protected]>",
"license": "MIT",
"repository": "https://github.com/MinterTeam/minter-js-web3-sdk.git",
"bugs": "https://github.com/MinterTeam/minter-js-web3-sdk/issues",
"homepage": "https://github.com/MinterTeam/minter-js-web3-sdk#readme",
"dependencies": {
"@shrpne/utils": "^0.0.4",
"@vueuse/core": "^10.4.1",
"axios": "^1.5.0",
"axios-extensions": "^3.1.7",
"axios-prevent-concurrency": "^0.0.3",
"camelcase-keys": "^8.0.2",
"minterjs-util": "^0.25.1",
"pretty-num": "^0.5.2",
"vue-demi": "^0.14.5",
"web3-eth": "^1.10.0",
"web3-eth-abi": "^1.10.0",
"web3-eth-contract": "^1.10.0",
"web3-utils": "^1.10.0"
},
"peerDependencies": {
"vue": "^2.7.0 || >=3.0.0"
},
"devDependencies": {
"dts-generator": "^3.0.0",
"replace-in-file": "^6.3.5",
"swagger-typescript-api": "^12.0.4",
"tsd-jsdoc": "^2.5.0",
"typescript": "^5.2.2",
"vue": "^2.7.14"
}
}