-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
117 lines (117 loc) · 2.99 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
{
"name": "wp-block-theme-companion",
"displayName": "WP Block Theme Companion",
"description": "VS Code extension for WordPress Block Theme developers.",
"version": "0.0.2",
"author": "Edi Amin <[email protected]>",
"license": "SEE LICENSE IN LICENSE",
"bugs": {
"url": "https://github.com/ediamin/wp-block-theme-companion/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/ediamin/wp-block-theme-companion.git"
},
"homepage": "https://github.com/ediamin/wp-block-theme-companion/blob/main/README.md",
"main": "./dist/extension.js",
"icon": "./media/logo.png",
"pricing": "Free",
"publisher": "ediamin",
"categories": [
"Other"
],
"keywords": [
"wordpress",
"block",
"theme",
"json",
"autocompletion"
],
"engines": {
"vscode": "^1.81.0"
},
"activationEvents": [
"onLanguage:css",
"onLanguage:html",
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:json",
"onLanguage:jsonc",
"onLanguage:less",
"onLanguage:markdown",
"onLanguage:php",
"onLanguage:plaintext",
"onLanguage:scss",
"onLanguage:sass",
"onLanguage:typescript",
"onLanguage:typescriptreact",
"onLanguage:vue",
"onLanguage:vue-html"
],
"contributes": {
"commands": [
{
"command": "wpBlockThemeCompanion.setThemeJsonPath",
"title": "WP Block Theme Companion: Use this theme.json"
}
],
"menus": {
"commandPalette": [
{
"command": "wpBlockThemeCompanion.setThemeJsonPath",
"when": "resourceFilename === theme.json"
}
],
"explorer/context": [
{
"command": "wpBlockThemeCompanion.setThemeJsonPath",
"when": "resourceFilename === theme.json"
}
]
},
"configuration": [
{
"title": "WP Block Theme Companion",
"properties": {
"wpBlockThemeCompanion.themeJsonPath": {
"type": "string",
"default": "",
"description": "Set the theme.json file path relative to the project root in the workspace's settings.json"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "20.2.5",
"@types/vscode": "^1.81.0",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"@vscode/test-electron": "^2.3.2",
"@wordpress/eslint-plugin": "^16.0.0",
"@wordpress/prettier-config": "^2.25.0",
"eslint": "^8.41.0",
"glob": "^8.1.0",
"json-schema-to-typescript": "^13.1.1",
"mocha": "^10.2.0",
"prettier": "npm:wp-prettier@^3.0.3",
"ts-loader": "^9.4.3",
"typescript": "^5.1.3",
"webpack": "^5.85.0",
"webpack-cli": "^5.1.1"
}
}