-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
83 lines (83 loc) · 2.7 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
{
"version": "2.1.0",
"sideEffects": false,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "AGPL-3.0-only",
"name": "@stakewise/v3-sdk",
"typings": "dist/index.d.ts",
"module": "dist/index.esm.js",
"description": "StakeWise v3 SDK",
"homepage": "https://github.com/stakewise/v3-sdk",
"scripts": {
"test": "jest --clearCache && jest --onlyChanged",
"prepare": "npm run typechain && npm run graphql && npm run beforePublish",
"build": "npm run test && npm run prepare && rm -rf ./dist && npm run rollup",
"typechain": "typechain --target ethers-v6 --out-dir src/contracts/types 'src/contracts/abis/*.json'",
"graphql": "graphql-codegen && ts-node -O '{\"module\": \"commonjs\"}' ./scripts/generateGraphqlExports",
"rollup": "rollup --config rollup.config.js --bundleConfigAsCjs",
"beforePublish": "node ./scripts/beforePublish",
"publish": "npm run build && npm publish --tag=latest"
},
"files": [
"dist/",
"package.json"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.esm.js"
},
"./index.js": "./dist/index.js",
"./index.js.map": "./dist/index.js.map",
"./index.esm.js": "./dist/index.esm.js",
"./index.esm.js.map": "./dist/index.esm.js.map",
"./package.json": "./package.json"
},
"keywords": [
"stakewise",
"ethereum",
"staking"
],
"peerDependencies": {
"ethers": "^6.13.2"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/near-operation-file-preset": "3.0.0",
"@graphql-codegen/typescript": "4.0.9",
"@graphql-codegen/typescript-operations": "4.2.3",
"@graphql-tools/jest-transform": "2.0.0",
"@openzeppelin/test-environment": "0.1.9",
"@rollup/plugin-commonjs": "26.0.1",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "11.1.6",
"@typechain/ethers-v6": "0.5.1",
"@types/jest": "29.5.12",
"@types/rollup-plugin-peer-deps-external": "2.2.5",
"@typescript-eslint/eslint-plugin": "8.1.0",
"@typescript-eslint/parser": "8.1.0",
"core-js": "3.38.0",
"eslint": "8.57.0",
"eslint-plugin-import": "2.29.1",
"hardhat": "2.22.8",
"hardhat-jest-plugin": "0.0.6",
"jest": "29.7.0",
"jest-fetch-mock": "3.0.3",
"regenerator-runtime": "0.14.1",
"rollup": "4.20.0",
"rollup-plugin-delete": "2.0.0",
"rollup-plugin-dts": "6.1.1",
"rollup-plugin-peer-deps-external": "2.2.4",
"ts-jest": "29.2.4",
"ts-node": "10.9.2",
"typechain": "8.3.2",
"typescript": "5.5.4"
},
"dependencies": {
"bignumber.js": "9.1.2"
}
}