@superfluid-finance/sdk-core 0.2.1-dev.beb2240.0 → 0.2.1-dev.c3aca57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +9 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superfluid-finance/sdk-core",
|
|
3
|
-
"version": "0.2.1-dev.
|
|
3
|
+
"version": "0.2.1-dev.c3aca57.0",
|
|
4
4
|
"description": "SDK Core for building with Superfluid Protocol",
|
|
5
5
|
"homepage": "https://github.com/superfluid-finance/protocol-monorepo/tree/dev/packages/sdk-core#readme",
|
|
6
6
|
"repository": "github:superfluid-finance/protocol-monorepo",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"README.md"
|
|
18
18
|
],
|
|
19
19
|
"scripts": {
|
|
20
|
-
"build": "yarn generate
|
|
20
|
+
"build": "yarn generate && rm -rf dist && run-p build:*",
|
|
21
21
|
"build:main": "tsc -p tsconfig.json",
|
|
22
22
|
"build:module": "tsc -p tsconfig.module.json",
|
|
23
23
|
"build:umd": "mkdir -p dist && browserify src/index.ts -s sdkCore -p [ tsify --noImplicitAny ] > dist/index.umd.js",
|
|
@@ -35,9 +35,11 @@
|
|
|
35
35
|
"fix:prettier": "yarn lint:prettier --write",
|
|
36
36
|
"fix:eslint": "yarn lint:eslint --fix",
|
|
37
37
|
"pre-commit": "run-s lint:*",
|
|
38
|
-
"generate
|
|
39
|
-
"generate-
|
|
40
|
-
"generate-
|
|
38
|
+
"generate": "run-s generate:*",
|
|
39
|
+
"generate:abi-files": "rm -rf src/abi && mkdir src/abi && tasks/build-abi-json.sh",
|
|
40
|
+
"generate:web3-types": "typechain --target=ethers-v5 --out-dir=./src/typechain \"./src/abi/**/*.json\"",
|
|
41
|
+
"generate:graphql-types": "graphql-codegen --config subgraph-codegen.yml",
|
|
42
|
+
"generate-graphql-schema": "get-graphql-schema https://api.thegraph.com/subgraphs/name/superfluid-finance/protocol-feature-matic > src/subgraph/schema.graphql"
|
|
41
43
|
},
|
|
42
44
|
"bugs": {
|
|
43
45
|
"url": "https://github.com/superfluid-finance/protocol-monorepo/issues"
|
|
@@ -48,6 +50,7 @@
|
|
|
48
50
|
"browserify": "^17.0.0",
|
|
49
51
|
"ethers": "^5.5.2",
|
|
50
52
|
"graphql-request": "^3.7.0",
|
|
53
|
+
"lodash": "^4.17.21",
|
|
51
54
|
"tsify": "^5.0.4"
|
|
52
55
|
},
|
|
53
56
|
"devDependencies": {
|
|
@@ -76,6 +79,7 @@
|
|
|
76
79
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
77
80
|
"eslint-plugin-import": "^2.25.4",
|
|
78
81
|
"ethereum-waffle": "^3.4.0",
|
|
82
|
+
"get-graphql-schema": "^2.1.2",
|
|
79
83
|
"hardhat": "^2.8.0",
|
|
80
84
|
"mocha": "^9.1.3",
|
|
81
85
|
"npm-run-all": "^4.1.5",
|