-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
152 lines (152 loc) · 4.51 KB
/
Copy pathpackage.json
File metadata and controls
152 lines (152 loc) · 4.51 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "pinescript-v6-extension",
"displayName": "Pine Script v6 IDE Tools",
"description": "Unofficial Pine Script v6 support for VS Code \u2014 IntelliSense, hover docs, and real-time validation with 100% language coverage.",
"publisher": "jpantsjoha",
"author": {
"name": "Jaroslav Pantsjoha",
"url": "https://jpantsjoha.com"
},
"version": "0.6.2",
"icon": "images/pinescript-extension.png",
"repository": {
"type": "git",
"url": "https://github.com/jpantsjoha/pinescript-vscode-extension.git"
},
"bugs": {
"url": "https://github.com/jpantsjoha/pinescript-vscode-extension/issues"
},
"homepage": "https://jpantsjoha.com",
"license": "MIT",
"engines": {
"vscode": "^1.88.0"
},
"galleryBanner": {
"color": "#0E1626",
"theme": "dark"
},
"categories": [
"Programming Languages",
"Linters",
"Snippets"
],
"keywords": [
"pine",
"pinescript",
"pine-script",
"tradingview",
"trading",
"indicators",
"strategies",
"syntax",
"intellisense",
"diagnostics",
"v6"
],
"activationEvents": [
"onLanguage:pine"
],
"main": "./dist/src/extension.js",
"contributes": {
"commands": [
{
"command": "pine.validate",
"title": "Pine: Validate current file"
},
{
"command": "pine.showDocs",
"title": "Pine: Show docs for symbol"
}
],
"configuration": {
"title": "Pine Script Extension",
"properties": {
"pine.docsMode": {
"type": "string",
"default": "full",
"enum": [
"full",
"summary"
],
"description": "Controls whether hovers/completions show full docs or a brief summary."
},
"pine.applyFileAssociation": {
"type": "boolean",
"default": true,
"description": "On activation, ensure files.associations maps *.pine to the pine language."
},
"pine.httpSuggestions.enabled": {
"type": "boolean",
"default": false,
"description": "Enable HTTP suggestion hook for AI completions."
},
"pine.httpSuggestions.endpoint": {
"type": "string",
"default": "https://localhost:11434/suggest",
"description": "HTTP(S) endpoint for suggestion provider."
},
"pine.httpSuggestions.timeoutMs": {
"type": "number",
"default": 1200,
"description": "Request timeout in milliseconds."
}
}
},
"languages": [
{
"id": "pine",
"aliases": [
"Pine",
"Pine Script",
"pine"
],
"extensions": [
".pine"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "pine",
"scopeName": "source.pine",
"path": "./syntaxes/pine.tmLanguage.json"
}
]
},
"scripts": {
"clean": "rm -rf dist && rm -f build/*.vsix",
"build": "tsc -p . && tsc -p packages/validator && rm -rf dist/engine && mkdir -p dist/engine && cp -R node_modules/pinescript-v6-validator/dist/* dist/engine/",
"watch": "tsc -w -p .",
"test": "npm run build && node --test test/*.test.js",
"test:validation": "npm run build && node --test test/validation.test.js",
"test:benchmark": "node --test test/benchmark.test.js",
"qa:pinescript": "node validate-cli.js examples/*.pine",
"package": "vsce package --out build/",
"rebuild": "npm run clean && npm run build && npm test && npm run package",
"rebuild:skip-tests": "npm run clean && npm run build && npm run package",
"crawl": "node v6/scripts/crawl-docs.js",
"generate": "node v6/scripts/generate-builtins.js",
"scrape": "node v6/scripts/scrape-builtins.js",
"typecheck": "tsc --noEmit",
"lint": "npm run typecheck && node scripts/audit.js",
"audit": "node scripts/audit.js",
"build:engine": "tsc -p packages/validator",
"test:package": "node --test test/npm-package.test.js",
"test:regression": "node --test test/regression-corpus.test.js",
"test:fast": "npm run build && SKIP_PACKAGE_TEST=1 node --test test/*.test.js",
"hooks:install": "bash scripts/install-hooks.sh"
},
"devDependencies": {
"@modelcontextprotocol/sdk": "^1.19.1",
"@types/node": "^20.11.30",
"@types/vscode": "^1.88.0",
"cheerio": "^1.1.2",
"playwright": "^1.48.0",
"typescript": "^5.4.5"
},
"dependencies": {
"glob": "^11.0.3",
"pinescript-v6-validator": "^0.3.0"
}
}