-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
152 lines (152 loc) · 4.96 KB
/
package.json
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": "ncproj",
"displayName": "NC Project",
"description": "Develop and validate CNC programs.",
"author": "Janusz Rupar, Marcin Cieślik",
"homepage": "https://github.com/jmr1/vscode-ncproj/blob/main/README.md",
"repository": {
"type": "git",
"url": "https://github.com/jmr1/vscode-ncproj"
},
"license": "SEE LICENSE IN LICENSE",
"version": "0.5.3",
"icon": "images/icon.png",
"publisher": "jrupar-mcieslik",
"categories": [
"Programming Languages",
"Snippets",
"Linters",
"Debuggers",
"Other"
],
"keywords": [
"cnc",
"Fanuc",
"gcode",
"g-code",
"nc"
],
"activationEvents": [
"onLanguage:ncproj",
"onCommand:ncproj.ncsettingCreate",
"onCommand:ncproj.ncsettingSelect",
"onCommand:ncproj.togglePathTimeCalculation"
],
"contributes": {
"configuration": {
"title": "NCProj",
"type": "object",
"properties": {
"ncproj.debug.log.path": {
"type": "string",
"default": "",
"title": "Path to the log file",
"description": "Specifies the path to the debug log file. Requires a VSCode restart to take effect."
},
"ncproj.ncsetting.file.path": {
"type": "string",
"default": "",
"title": "Path to the Control and Machine Tool configuration file",
"description": "Specifies the path to the .ncsetting file. Requires a VSCode restart to take effect."
},
"ncproj.calculate.pathtime.enable": {
"type": "boolean",
"default": true,
"title": "Whether to calculate path and time",
"description": "Sets if path and time calculations should be performed"
}
}
},
"languages": [
{
"id": "ncproj",
"extensions": [
".nc",
".txt",
".ptp",
".dat",
".mcd",
".spf",
".001",
".cnc",
".dnc",
".eia",
".fan",
".fnc",
".g",
".g00",
".gcode",
".iso",
".lib",
".min",
".ncl",
".out",
".pm",
".prf",
".prg",
".pu1",
".sub",
".tap",
".tp"
],
"aliases": [
"NC Project",
"ncproj"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "ncproj",
"scopeName": "source.ncproj",
"path": "./syntaxes/ncproj.tmLanguage.json"
}
],
"debuggers": [],
"commands": [
{
"command": "ncproj.ncsettingCreate",
"title": "NC Project: Create Control and Machine Tool configuration"
},
{
"command": "ncproj.ncsettingSelect",
"title": "NC Project: Select Control and Machine Tool configuration"
},
{
"command": "ncproj.togglePathTimeCalculation",
"title": "NC Project: Toggle Path and Time Calculation"
}
]
},
"main": "./vscode-client/out/extension",
"scripts": {
"vscode:prepublish": "cd vscode-client && npm run compile && cd ..",
"compile": "cd vscode-client && tsc -p ./ && cd ..",
"watch": "cd vscode-client && tsc -watch -p ./ && cd ..",
"package:windows": "vsce package --target win32-x64",
"lint": "eslint \"vscode-client/src/**/*.{js,ts}\" && npx prettier --check \"vscode-client/src/**/*.{js,ts}\"",
"lint:fix": "eslint \"vscode-client/src/**/*.{js,ts}\" --fix && npx prettier --write \"vscode-client/src/**/*.{js,ts}\""
},
"dependencies": {
"path-exists": "^4.0.0",
"vscode-languageclient": "^8.0.2"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@types/vscode": "^1.71.0",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"@vscode/test-electron": "^2.1.5",
"eslint": "^8.20.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"prettier": "^2.8.1",
"typescript": "^4.7.4"
},
"engines": {
"vscode": "^1.71.0"
}
}