forked from folknor/pine-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
153 lines (153 loc) · 4.81 KB
/
Copy pathpackage.json
File metadata and controls
153 lines (153 loc) · 4.81 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
153
{
"name": "pine-tools",
"displayName": "Pine Script Tools",
"description": "Unofficial Pine Script v6 tools, including a language service, LSP, MCP, Visual Studio Code extension, CLI linter tool, and more.",
"publisher": "folknor",
"author": {
"name": "folknor",
"url": "https://github.com/folknor"
},
"contributors": [
{
"name": "Jaroslav Pantsjoha",
"url": "https://github.com/jpantsjoha"
}
],
"version": "0.5.0",
"repository": {
"type": "git",
"url": "https://github.com/folknor/pinescript-vscode-extension.git"
},
"license": "MIT",
"packageManager": "pnpm@10.28.0",
"engines": {
"vscode": "^1.108.0"
},
"activationEvents": [
"onLanguage:pine"
],
"categories": [
"Programming Languages",
"Linters",
"Snippets"
],
"keywords": [
"pine",
"pinescript",
"pine-script",
"tradingview",
"trading",
"indicators",
"strategies",
"syntax",
"intellisense",
"diagnostics",
"v6"
],
"main": "./dist/packages/vscode/src/extension.js",
"bin": {
"pine-validate": "./dist/packages/cli/src/cli.js",
"pine-lsp": "./dist/packages/lsp/bin/pine-lsp.js",
"pine-mcp": "./dist/packages/mcp/bin/pine-mcp.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.applyFileAssociation": {
"type": "boolean",
"default": true,
"description": "On activation, ensure files.associations maps *.pine to the pine language."
}
}
},
"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": "node scripts/build-extension.js",
"build:dev": "node scripts/build-extension.js",
"build:prod": "node scripts/build-extension.js --production",
"build:tsc": "tsc -p . && cp pine-data/v6/*.json dist/pine-data/v6/ && chmod +x dist/packages/cli/src/cli.js",
"watch": "node scripts/build-extension.js --watch",
"lint": "pnpm exec biome check --max-diagnostics=none --reporter=github --formatter-enabled=true --linter-enabled=true --assist-enabled=true",
"check": "pnpm exec biome check --max-diagnostics=none --reporter=github --formatter-enabled=true --linter-enabled=true --assist-enabled=true",
"test": "pnpm run build:tsc && vitest run",
"test:watch": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"package": "pnpm run clean && pnpm run build:prod && pnpm exec vsce package --no-dependencies --out dist/",
"rebuild": "pnpm run clean && pnpm run build:prod && pnpm run build:tsc && pnpm test && pnpm run package",
"rebuild:skip-tests": "pnpm run clean && pnpm run build:prod && pnpm run package",
"crawl": "node --experimental-strip-types packages/pipeline/src/crawl.ts",
"generate": "node --experimental-strip-types packages/pipeline/src/generate.ts",
"generate:markdown": "node --experimental-strip-types packages/pipeline/src/generate-markdown.ts",
"generate:tests": "node --experimental-strip-types packages/pipeline/src/generate-function-tests.ts",
"generate:syntax": "node --experimental-strip-types packages/pipeline/src/generate-syntax.ts",
"discover:behavior": "node --experimental-strip-types packages/pipeline/src/discover-function-behavior.ts",
"scrape": "node --experimental-strip-types packages/pipeline/src/scrape.ts",
"scrape:force": "node --experimental-strip-types packages/pipeline/src/scrape.ts --force",
"test:snippet": "node dev-tools/test-snippet.js",
"debug:internals": "node dev-tools/debug-internals.js",
"debug:tokens": "node dev-tools/debug-internals.js tokens",
"debug:corpus": "node dev-tools/debug-internals.js corpus",
"debug:diff": "node dev-tools/differential-test.js",
"mcp:start": "node dist/packages/mcp/bin/pine-mcp.js",
"lsp:start": "node dist/packages/lsp/bin/pine-lsp.js --stdio",
"prepare": "husky"
},
"devDependencies": {
"@biomejs/biome": "^2.3.11",
"@types/node": "^25.0.9",
"@types/vscode": "^1.108.1",
"@vitest/ui": "^4.0.17",
"@vscode/vsce": "^3.7.1",
"@vscode/vsce-sign": "^2.0.9",
"esbuild": "^0.27.2",
"fast-check": "^4.5.3",
"husky": "^9.1.7",
"keytar": "^7.9.0",
"puppeteer": "^24.35.0",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"vitest": "^4.0.17"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.25.2",
"glob": "^13.0.0",
"vscode-languageclient": "^9.0.1",
"vscode-languageserver": "^9.0.1",
"vscode-languageserver-textdocument": "^1.0.12",
"zod": "^4.3.5"
}
}