-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
107 lines (107 loc) · 3.06 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
{
"name": "paste-html-as-jsx",
"displayName": "Paste HTML as JSX",
"version": "1.0.0",
"description": "Converts copied HTML to JSX before pasting into JavaScript/TypeScript code.",
"categories": [
"Formatters",
"Other"
],
"homepage": "https://github.com/leodr/paste-html-as-jsx",
"bugs": {
"url": "https://github.com/leodr/paste-html-as-jsx/issues",
"email": "dev@leodriesch.com"
},
"repository": {
"type": "git",
"url": "https://github.com/leodr/paste-html-as-jsx.git"
},
"license": "MIT",
"author": {
"name": "Leo Driesch",
"email": "dev@leodriesch.com",
"url": "https://twitter.com/leodriesch"
},
"publisher": "leodriesch",
"browser": "./dist/extension.js",
"scripts": {
"check-types": "tsc --noEmit",
"compile": "webpack --devtool nosources-source-map",
"deploy": "vsce publish",
"format": "prettier . --write --ignore-path .gitignore",
"package": "webpack --mode production",
"test": "jest",
"test:watch": "jest --watch",
"validate": "run-p check-types",
"vscode:prepublish": "npm run package",
"watch": "webpack --watch --devtool nosources-source-map --mode development"
},
"contributes": {
"commands": [
{
"command": "paste-html-as-jsx.swapClipboard",
"title": "Convert HTML in Clipboard to JSX"
}
],
"configuration": {
"properties": {
"paste-html-as-jsx.mode": {
"default": "automatic",
"description": "Controls wether the extension automatically converts the clipboard from HTML to JSX at relevant points in time or waits for the user to execute an action.",
"enum": [
"automatic",
"on-demand"
],
"enumDescriptions": [
"Automatically detect copied HTML and turn it into JSX.",
"Only convert clipboard when the \"Convert HTML in Clipboard to JSX\"-action is executed."
]
}
},
"title": "Paste HTML as JSX"
},
"menus": {
"commandPalette": [
{
"command": "paste-html-as-jsx.swapClipboard",
"when": "paste-html-as-jsx:showSwapClipboardAction == true"
}
]
}
},
"activationEvents": [
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:typescriptreact"
],
"prettier": {
"proseWrap": "always"
},
"dependencies": {
"@vue/runtime-core": "^3.2.39",
"html-to-jsx-transform": "^1.0.2"
},
"devDependencies": {
"@babel/core": "^7.19.1",
"@babel/preset-env": "^7.19.1",
"@babel/preset-typescript": "^7.18.6",
"@types/jest": "^29.0.3",
"@types/node": "^18.7.18",
"@types/vscode": "^1.71.0",
"babel-jest": "^29.0.3",
"jest": "^29.0.3",
"node-polyfill-webpack-plugin": "^2.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.2.18",
"ts-loader": "^9.3.1",
"typescript": "^4.8.3",
"vsce": "^2.11.0",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"engines": {
"vscode": "^1.71.0"
},
"icon": "assets/logo.png"
}