Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 2 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
{
"name": "ohlc-resample",
"version": "2.2.0",
"description": "Resample (inter-convert) trade, ticks or OHLCV data to different time frames, includes CLI",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"engines": {
"node": ">=26"
},
"files": [
"dist",
"!dist/**/*.js.map"
],
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc --build && node scripts/make-cjs-wrapper.mjs",
"mcp": "node dist/mcp.js",
"build:check": "node -e \"import('./dist/index.js')\" && node -e \"const m=require('./dist/index.cjs');m.resampleOhlcv([{time:1609459200000,open:100,high:105,low:95,close:102,volume:500}],{baseTimeframe:60,newTimeframe:300})\"",
"prepublishOnly": "npm test && npm run build && npm run build:check",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"changeset": "changeset",
"release": "npm publish --no-git-checks --access public --provenance"
},
"bin": {
"ohlc-resample": "./dist/cli.js",
"ohlc-resample-mcp": "./dist/mcp.js"
},
"keywords": [
"ohlc",
"ohlcv",
"resample",
"tickchart",
"candlestick",
"ccxt",
"stock",
"chart",
"analysis",
"cli"
],
"repository": {
"type": "git",
"url": "git+https://github.com/adiled/ohlc-resample"
},
"author": "Adil Shaikh <hello@adils.me> (http://www.adils.me)",
"license": "LGPL-3.0",
"bugs": {
"url": "https://github.com/adiled/ohlc-resample/issues"
},
"homepage": "https://github.com/adiled/ohlc-resample#readme",
"devDependencies": {
"@changesets/changelog-github": "^0.7.0",
"@changesets/cli": "^2.31.0",
"@types/node": "^25.6.2",
"@vitest/coverage-v8": "^4.1.5",
"rimraf": "^6.1.3",
"typescript": "^6.0.3",
"vitest": "^4.1.5"
},
"dependencies": {
"hyparquet": "^1.29.1",
"mri": "^1.2.0"
}
}