-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.13 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
{
"name": "rcc",
"displayName": "reactComponentCreation",
"description": "",
"version": "0.0.2",
"engines": {
"vscode": "^1.55.0"
},
"categories": [
"Other"
],
"author": {
"name": "Timo Peters"
},
"publisher": "TPausL",
"activationEvents": [
"onCommand:rcc.addComponent",
"onCommand:rcc.addComponentFolder",
"onCommand:rcc.addProvider"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "rcc.addComponent",
"title": "Add React Component"
},
{
"command": "rcc.addProvider",
"title": "Add React Context Provider"
}
],
"snippets": [
{
"language": "typescript",
"path": "./src/snippets.json"
}
],
"menus": {
"explorer/context": [
{
"when": "explorerResourceIsFolder",
"command": "rcc.addComponent",
"group": "5_cutcopypaste"
},
{
"when": "explorerResourceIsFolder",
"command": "rcc.addProvider",
"group": "5_cutcopypaste"
}
],
"commandPalette": [
{
"command": "rcc.addComponent",
"when": "false"
},
{
"command": "rcc.addProvider",
"when": "false"
}
]
}
},
"scripts": {
"vscode:prepublish": "yarn run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"pretest": "yarn run test-compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.55.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"eslint": "^7.19.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"glob": "^7.1.6",
"mocha": "^8.2.1",
"typescript": "^4.1.3",
"vscode-test": "^1.5.0",
"ts-loader": "^8.0.14",
"webpack": "^5.19.0",
"webpack-cli": "^4.4.0"
}
}