irongit

A Regex file extension that makes it way easier to edit large regex.

regex-file/package.json
102 lines2.6 KBJSON
1{
2 "name": "regex-file",
3 "displayName": "Regex File",
4 "icon": "images/icon.png",
5 "description": "Made a file type for regex that highlights a second file and adds flags to the status bar.",
6 "version": "0.0.1",
7 "repository": "git@github.com:huncholane/regex-file.git",
8 "publisher": "Ghost Systems",
9 "engines": {
10 "vscode": "^1.79.0"
11 },
12 "categories": [
13 "Other"
14 ],
15 "activationEvents": [
16 "onLanguage:regex"
17 ],
18 "main": "./dist/extension.js",
19 "contributes": {
20 "commands": [
21 {
22 "command": "regex-file.showButtons",
23 "title": "Show Buttons"
24 },
25 {
26 "command": "regex-file.openSidebar",
27 "title": "Open Sidebar"
28 },
29 {
30 "command": "regex-file.myCommandButton",
31 "title": "My Command Button"
32 }
33 ],
34 "languages": [
35 {
36 "id": "regex",
37 "aliases": [
38 "Regex"
39 ],
40 "extensions": [
41 ".re",
42 ".regex"
43 ]
44 }
45 ],
46 "iconThemes": [
47 {
48 "id": "regex-file-icons",
49 "label": "Regex File Icons",
50 "path": "./icon-theme.json"
51 }
52 ],
53 "configuration": {
54 "properties": {
55 "regex-file.flags": {
56 "type": "string",
57 "default": "gm",
58 "description": "Any combination of 'gimsuyx'"
59 },
60 "regex-file.timeout": {
61 "type": "number",
62 "default": 500,
63 "description": "Timeout for your extension in milliseconds"
64 },
65 "regex-file.maxMatches": {
66 "type": "number",
67 "default": 10000,
68 "description": "Maximum matches for your extension"
69 }
70 }
71 }
72 },
73 "scripts": {
74 "vscode:prepublish": "npm run package",
75 "compile": "webpack",
76 "watch": "webpack --watch",
77 "package": "webpack --mode production --devtool hidden-source-map",
78 "compile-tests": "tsc -p . --outDir out",
79 "watch-tests": "tsc -p . -w --outDir out",
80 "pretest": "npm run compile-tests && npm run compile && npm run lint",
81 "lint": "eslint src --ext ts",
82 "test": "node ./out/test/runTest.js",
83 "build": "tsc",
84 "vsce:package": "vsce package"
85 },
86 "devDependencies": {
87 "@types/vscode": "^1.79.0",
88 "@types/glob": "^8.1.0",
89 "@types/mocha": "^10.0.1",
90 "@types/node": "20.2.5",
91 "@typescript-eslint/eslint-plugin": "^5.59.8",
92 "@typescript-eslint/parser": "^5.59.8",
93 "eslint": "^8.41.0",
94 "glob": "^8.1.0",
95 "mocha": "^10.2.0",
96 "typescript": "^5.1.3",
97 "ts-loader": "^9.4.3",
98 "webpack": "^5.85.0",
99 "webpack-cli": "^5.1.1",
100 "@vscode/test-electron": "^2.3.2"
101 }
102}