-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
74 lines (74 loc) · 2.5 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
{
"name": "@centrifuge/pools-subql",
"version": "2.2.0",
"description": "Subquery for the pools functionality",
"main": "dist/index.js",
"scripts": {
"build": "subql build",
"build:dev": "subql build --mode=dev",
"dev": "docker compose down -v --remove-orphans && docker compose pull && docker compose up -d",
"prepack": "rm -rf dist && subql build",
"test": "jest",
"test:smoke": "jest -c jest.smoke.config.ts",
"codegen": "subql codegen",
"projectgen": "./project-generator.sh",
"generate:defs": "ts-node --skip-project node_modules/.bin/polkadot-types-from-defs --package centrifuge-subql/src/api-interfaces --endpoint 'wss://fullnode.development.cntrfg.com' --input ./src/api-interfaces",
"generate:meta": "ts-node --skip-project node_modules/.bin/polkadot-types-from-chain --endpoint 'wss://fullnode.development.cntrfg.com' --output ./src/api-interfaces --strict",
"interface-build": "yarn generate:defs && yarn generate:meta && yarn build",
"lint": "eslint --max-warnings 0 'src/**/*.{ts,tsx,js,jsx}'",
"lint:fix": "eslint --fix --max-warnings 0 'src/**/*.{ts,tsx,js,jsx}'",
"prepare": "husky install"
},
"homepage": "https://github.com/centrifuge/pools-subql",
"repository": "github:centrifuge/pools-subql",
"files": [
"dist",
"schema.graphql",
"project.yaml"
],
"author": "Centrifuge",
"license": "MIT",
"dependencies": {
"yaml-merge-cli": "^1.1.5",
"envsub": "^4.1.0"
},
"devDependencies": {
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"@jest/globals": "^29.2.0",
"@polkadot/api": "^12",
"@polkadot/typegen": "^12",
"@subql/cli": "^5.2.6",
"@subql/common-substrate": "^4.3.2",
"@subql/node-ethereum": "^5.1.3",
"@subql/testing": "^2.2.2",
"@subql/types": "^3.11.3",
"@types/jest": "^29.1.2",
"@types/node-fetch": "^2.6.11",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"abab": "^2.0.6",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
"ethers": "^5.7.2",
"husky": "^7.0.0",
"jest": "^29.2.0",
"lint-staged": "^13.2.0",
"prettier": "^3.1.1",
"prettier-eslint": "^16.2.0",
"ts-jest": "^29.0.3",
"typescript": "^5.2.2"
},
"lint-staged": {
"src/**/*.{js,ts}": [
"eslint --max-warnings 0"
]
},
"exports": {
"chaintypes": "./src/chaintypes.ts"
},
"resolutions": {
"ipfs-unixfs": "6.0.6"
}
}