-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 3.98 KB
/
package.json
File metadata and controls
109 lines (109 loc) · 3.98 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "crypto-tools",
"version": "0.0.53",
"author": "Ben Noack",
"description": "Coinbase operations toolkit with cb trading workflows, hdb accounting/reconciliation pipelines, and shared TypeScript infrastructure",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/benjaminjnoack/crypto-tools.git"
},
"homepage": "https://github.com/benjaminjnoack/crypto-tools#readme",
"bugs": {
"url": "https://github.com/benjaminjnoack/crypto-tools/issues"
},
"type": "module",
"sideEffects": false,
"files": [
"dist",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=20"
},
"bin": {
"cb": "./dist/apps/cb/cli.js",
"hdb": "./dist/apps/hdb/cli.js",
"helper-env-check": "./dist/shared/bin/validate-env.js"
},
"scripts": {
"build": "npm run clean && tsc -p tsconfig.build.json && node scripts/copy-hdb-portal-assets.mjs && chmod +x dist/shared/bin/validate-env.js && chmod +x dist/apps/cb/cli.js && chmod +x dist/apps/hdb/cli.js",
"clean": "rm -rf dist",
"coverage": "npm run test:unit -- --coverage",
"dev": "tsx src/apps/cb/cli.ts",
"dev:hdb": "tsx src/apps/hdb/cli.ts",
"dev:hdb-portal": "tsx src/apps/hdb-portal/cli.ts",
"lint": "eslint src test eslint.config.mjs vitest.config.ts vitest.integration.config.ts",
"lint:fix": "eslint src test eslint.config.mjs vitest.config.ts vitest.integration.config.ts --fix",
"major": "npm run release:check && npm version major && git push && git push --tags",
"minor": "npm run release:check && npm version minor && git push && git push --tags",
"pack:dry": "npm pack --dry-run",
"patch": "npm run release:check && npm version patch && git push && git push --tags",
"prepare": "npm run build",
"release:check": "npm run lint && npm run typecheck && npm run test && npm run pack:dry",
"smoke:bin": "node dist/apps/cb/cli.js --help",
"smoke:hdb": "node dist/apps/hdb/cli.js --help",
"smoke:hdb-portal": "node dist/apps/hdb-portal/cli.js",
"test": "npm run test:unit",
"test:integration": "vitest run --config vitest.integration.config.ts --passWithNoTests",
"test:integration:preflight": "node scripts/check-integration-env.mjs",
"test:integration:smoke": "env -i PATH=\"$PATH\" HOME=\"$HOME\" HELPER_ENV_FILE=\"${INTEGRATION_ENV_FILE:-$HOME/.config/helper/.env.readonly}\" HELPER_ALLOW_LIVE_EXCHANGE=true CI_INTEGRATION_READONLY=true sh -c 'npm run test:integration:preflight && npm run test:integration'",
"test:unit": "vitest run --config vitest.config.ts",
"test:watch": "vitest --config vitest.config.ts",
"typecheck": "tsc -p tsconfig.json",
"ui": "tsx src/apps/hdb-portal/cli.ts",
"validate:hdb:inputs": "tsx scripts/validate-hdb-inputs.ts",
"verify:offline": "npm run typecheck && npm run lint && npm run test && npm run validate:hdb:inputs"
},
"keywords": [
"coinbase",
"coinbase-advanced-trade",
"cli",
"command-line",
"trading",
"crypto",
"accounting",
"reconciliation",
"tax",
"postgresql",
"typescript"
],
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/jsonwebtoken": "^9.0.10",
"@types/luxon": "^3.7.1",
"@types/node": "^25.2.3",
"@types/pg": "^8.18.0",
"@types/readline-sync": "^1.4.8",
"@vitest/coverage-v8": "^3.2.4",
"eslint": "^9.39.2",
"husky": "^9.1.7",
"lint-staged": "^15.5.2",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.55.0",
"vitest": "^3.2.4"
},
"lint-staged": {
"{src,test,scripts}/**/*.{ts,tsx,js,mjs,cjs}": [
"eslint --fix"
],
"{eslint.config.mjs,vitest.config.ts,vitest.integration.config.ts}": [
"eslint --fix"
]
},
"dependencies": {
"axios": "^1.13.5",
"chalk": "^5.6.2",
"commander": "^14.0.3",
"dotenv": "^17.3.1",
"env-paths": "^4.0.0",
"jsonwebtoken": "^9.0.3",
"luxon": "^3.7.2",
"pg": "^8.19.0",
"readline-sync": "^1.4.10",
"uuid": "^13.0.0",
"zod": "^4.3.6"
}
}