Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) 路 2.5 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (92 loc) 路 2.5 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
{
"name": "@mathieuc/tradingview",
"version": "4.0.0",
"description": "TradingView market data for JavaScript and TypeScript: candles, quotes, indicators and strategies, with a simple data API and full low-level access.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./data": {
"types": "./dist/data/index.d.ts",
"import": "./dist/data/index.js",
"default": "./dist/data/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"docs",
"scripts/endurance.mjs",
"scripts/probe-account.mjs",
"assets",
"llms.txt",
"examples",
"scripts/parity.mjs",
"bin"
],
"sideEffects": false,
"scripts": {
"build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.build.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"lint": "eslint .",
"test": "vitest run",
"test:bun": "bun test tests/unit",
"test:watch": "vitest",
"test:live": "vitest run --config vitest.live.config.ts",
"smoke": "node scripts/smoke.mjs",
"check": "npm run typecheck && npm run lint && npm test && npm run build && npm run smoke",
"prepack": "npm run build",
"probe:endurance": "npm run build && node scripts/endurance.mjs",
"probe:parity": "npm run build && node scripts/parity.mjs",
"probe:account": "npm run build && node scripts/probe-account.mjs",
"test:coverage": "vitest run --coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Mathieu2301/TradingView-API.git"
},
"engines": {
"node": ">=20.0.0"
},
"keywords": [
"tradingview",
"market-data",
"candles",
"quotes",
"stocks",
"crypto",
"forex",
"indicator",
"pine",
"websocket",
"api"
],
"author": "Mathieu Colmon",
"license": "ISC",
"dependencies": {
"ws": "^8.18.0"
},
"devDependencies": {
"@eslint/js": "^9.39.0",
"@types/node": "^22.20.5",
"@types/ws": "^8.18.1",
"@vitest/coverage-v8": "^4.1.11",
"eslint": "^9.39.0",
"typescript": "~5.9.3",
"typescript-eslint": "^8.46.0",
"vitest": "^4.1.11"
},
"homepage": "https://github.com/Mathieu2301/TradingView-API#readme",
"bugs": {
"url": "https://github.com/Mathieu2301/TradingView-API/issues"
},
"bin": {
"tradingview": "bin/tradingview.mjs"
}
}