-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 3.53 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 3.53 KB
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
{
"name": "@huklaa/crypto-utils",
"version": "1.0.1",
"description": "Dependency-free JavaScript toolkit for crypto analytics, portfolio, trading, staking, and Base ecosystem applications.",
"type": "module",
"main": "./src/index.js",
"exports": {
".": {
"import": "./src/index.js",
"default": "./src/index.js"
},
"./package.json": "./package.json"
},
"files": [
"src/",
"crypto.js",
"CHANGELOG.md"
],
"sideEffects": false,
"scripts": {
"test": "node --test tests/*.test.js",
"lint": "node --check crypto.js && node --check src/index.js && node --check src/validation.js && node --check src/formatting.js && node --check src/market.js && node --check src/portfolio.js && node --check src/trading.js && node --check src/staking.js && node --check src/base.js && node --check src/base-attribution.js && node --check src/base-fees.js && node --check src/base-flashblocks.js && node --check examples/base-portfolio.js && node --check examples/base-erc20-allowance-audit.js && node --check examples/base-nft-operator-audit.js && node --check demo/app.js && node --check demo/free-mint.js && node --check demo/deploy-free-mint.js && node --check demo/lib/baseClient.js && node --check demo/lib/baseConfig.js && node --check demo/lib/portfolioAnalytics.js && node --check demo/lib/priceClient.js && node --check demo/lib/snapshotRegistry.js && node --check demo/rpc-smoke.js && node --check vite.config.js",
"example:base": "node examples/base-portfolio.js",
"example:base:erc20-allowance": "node examples/base-erc20-allowance-audit.js",
"example:base:nft-approval": "node examples/base-nft-operator-audit.js",
"demo:dev": "vite",
"demo:build": "vite build --configLoader runner",
"demo:preview": "vite preview",
"demo:smoke": "node demo/rpc-smoke.js",
"contract:build": "hardhat build",
"contract:test": "hardhat test nodejs",
"contract:deploy:base-sepolia": "hardhat ignition deploy ignition/modules/PortfolioSnapshotRegistry.ts --network baseSepolia --build-profile production",
"contract:deploy:robinhood:free-mint": "hardhat ignition deploy ignition/modules/ChainlingAquaFreeMint.ts --network robinhood --build-profile production",
"contract:verify:base-sepolia": "hardhat verify --network baseSepolia --provider blockscout",
"test:import": "node --input-type=module --eval \"import('@huklaa/crypto-utils').then((api) => { if (typeof api.calculateMarketCap !== 'function') throw new Error('Public API smoke test failed'); })\"",
"check": "npm run lint && npm test && npm run contract:test && npm run test:import",
"prepublishOnly": "npm run check"
},
"engines": {
"node": ">=22.13"
},
"keywords": [
"base",
"cryptocurrency",
"crypto",
"defi",
"ethereum",
"portfolio",
"staking",
"trading",
"utilities",
"web3"
],
"author": "huklaa",
"license": "MIT",
"packageManager": "pnpm@11.16.0",
"repository": {
"type": "git",
"url": "git+https://github.com/huklaa/crypto-test.git"
},
"bugs": {
"url": "https://github.com/huklaa/crypto-test/issues"
},
"homepage": "https://github.com/huklaa/crypto-test#readme",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@nomicfoundation/hardhat-ignition": "^3.1.8",
"@nomicfoundation/hardhat-toolbox-viem": "^5.0.7",
"@reown/appkit": "1.8.23",
"@reown/appkit-adapter-ethers": "1.8.23",
"@types/node": "^26.2.0",
"hardhat": "^3.12.0",
"solc": "0.8.28",
"typescript": "^7.0.2",
"viem": "^2.37.3",
"vite": "^7.1.5"
}
}