harb/kraiken-lib/package.json

93 lines
2.4 KiB
JSON
Raw Normal View History

2024-04-03 21:43:12 +02:00
{
"name": "kraiken-lib",
2024-04-06 07:32:55 +02:00
"version": "0.2.0",
2024-04-03 21:43:12 +02:00
"description": "helper functions and snatch selection",
"type": "module",
2024-04-03 21:43:12 +02:00
"main": "dist/index.js",
"types": "dist/index.d.ts",
2025-10-01 14:43:55 +02:00
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.js"
},
"./helpers": {
"types": "./dist/helpers.d.ts",
"require": "./dist/helpers.js",
"import": "./dist/helpers.js"
},
"./ids": {
"types": "./dist/ids.d.ts",
"require": "./dist/ids.js",
"import": "./dist/ids.js"
},
"./taxRates": {
"types": "./dist/taxRates.d.ts",
"require": "./dist/taxRates.js",
"import": "./dist/taxRates.js"
},
"./snatch": {
"types": "./dist/snatch.d.ts",
"require": "./dist/snatch.js",
"import": "./dist/snatch.js"
},
"./staking": {
"types": "./dist/staking.d.ts",
"require": "./dist/staking.js",
"import": "./dist/staking.js"
},
"./subgraph": {
"types": "./dist/subgraph.d.ts",
"require": "./dist/subgraph.js",
"import": "./dist/subgraph.js"
},
"./abis": {
"types": "./dist/abis.d.ts",
"require": "./dist/abis.js",
"import": "./dist/abis.js"
}
},
"files": [
"/dist"
],
"scripts": {
"test": "jest",
"compile": "graphql-codegen",
"watch": "graphql-codegen -w",
"lint": "eslint 'src/**/*.ts'",
"lint:fix": "eslint 'src/**/*.ts' --fix",
"format": "prettier --write 'src/**/*.ts'",
"format:check": "prettier --check 'src/**/*.ts'",
"prepare": "husky install || true"
},
"lint-staged": {
"src/**/*.ts": [
"eslint --fix",
"prettier --write"
]
},
"dependencies": {
"@apollo/client": "^3.9.10",
"graphql": "^16.8.1",
"graphql-tag": "^2.12.6"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/client-preset": "^4.2.5",
"@graphql-codegen/typescript": "^4.0.6",
"@graphql-codegen/typescript-operations": "^4.2.0",
"@graphql-typed-document-node/core": "^3.2.0",
"@types/jest": "^29.5.12",
"@types/node": "^24.6.0",
"@typescript-eslint/eslint-plugin": "^8.45.0",
"@typescript-eslint/parser": "^8.45.0",
"eslint": "^9.36.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^16.2.3",
"prettier": "^3.6.2",
"ts-jest": "^29.1.2",
"typescript": "^5.4.3"
2024-04-03 21:43:12 +02:00
}
}