|
1 | 1 | {
|
2 |
| - "name": "coding-plugin", |
3 |
| - "description": "Coding plugin for VS Code.", |
4 |
| - "version": "0.0.1", |
5 |
| - "publisher": "alcheung", |
6 |
| - "license": "MIT", |
7 |
| - "engines": { |
8 |
| - "vscode": "^1.47.0" |
9 |
| - }, |
10 |
| - "categories": [ |
11 |
| - "Other" |
12 |
| - ], |
13 |
| - "activationEvents": [ |
14 |
| - "onCommand:codingPlugin.show", |
15 |
| - "onCommand:codingPlugin.login", |
16 |
| - "onWebviewPanel:codingPlugin", |
17 |
| - "onView:treeviewSample" |
18 |
| - ], |
19 |
| - "repository": { |
20 |
| - "type": "git", |
21 |
| - "url": "https://github.com/microsoft/vscode-extension-samples.git" |
22 |
| - }, |
23 |
| - "main": "./out/extension.js", |
24 |
| - "contributes": { |
25 |
| - "commands": [ |
26 |
| - { |
27 |
| - "command": "codingPlugin.show", |
28 |
| - "title": "Start coding session", |
29 |
| - "category": "Coding plugin" |
30 |
| - }, |
31 |
| - { |
32 |
| - "command": "codingPlugin.login", |
33 |
| - "title": "Login coding.net", |
34 |
| - "category": "Coding plugin" |
35 |
| - } |
| 2 | + "name": "coding-plugin", |
| 3 | + "description": "Coding plugin for VS Code.", |
| 4 | + "version": "0.0.1", |
| 5 | + "publisher": "alcheung", |
| 6 | + "license": "MIT", |
| 7 | + "engines": { |
| 8 | + "vscode": "^1.47.0" |
| 9 | + }, |
| 10 | + "categories": [ |
| 11 | + "Other" |
| 12 | + ], |
| 13 | + "activationEvents": [ |
| 14 | + "onCommand:codingPlugin.show", |
| 15 | + "onCommand:codingPlugin.login", |
| 16 | + "onWebviewPanel:codingPlugin", |
| 17 | + "onView:treeviewSample" |
| 18 | + ], |
| 19 | + "repository": { |
| 20 | + "type": "git", |
| 21 | + "url": "https://github.com/microsoft/vscode-extension-samples.git" |
| 22 | + }, |
| 23 | + "main": "./out/extension.js", |
| 24 | + "contributes": { |
| 25 | + "commands": [ |
| 26 | + { |
| 27 | + "command": "codingPlugin.show", |
| 28 | + "title": "Start coding session", |
| 29 | + "category": "Coding plugin" |
| 30 | + }, |
| 31 | + { |
| 32 | + "command": "codingPlugin.login", |
| 33 | + "title": "Login coding.net", |
| 34 | + "category": "Coding plugin" |
| 35 | + } |
36 | 36 | ],
|
37 | 37 | "viewsWelcome": [
|
38 | 38 | {
|
39 | 39 | "view": "treeviewSample",
|
40 | 40 | "contents": "Please login first.\n[Login](command:codingPlugin.login)"
|
41 | 41 | }
|
42 | 42 | ],
|
43 |
| - "viewsContainers": { |
44 |
| - "activitybar": [ |
45 |
| - { |
46 |
| - "id": "treeview-sample", |
47 |
| - "title": "Treeview Sample", |
| 43 | + "viewsContainers": { |
| 44 | + "activitybar": [ |
| 45 | + { |
| 46 | + "id": "treeview-sample", |
| 47 | + "title": "Treeview Sample", |
48 | 48 | "icon": "src/assets/coding.svg"
|
49 |
| - } |
50 |
| - ] |
51 |
| - }, |
52 |
| - "views": { |
53 |
| - "treeview-sample": [ |
54 |
| - { |
55 |
| - "id": "treeviewSample", |
56 |
| - "name": "Treeview Sample", |
57 |
| - "icon": "src/assets/coding.svg", |
58 |
| - "contextualTitle": "List" |
59 |
| - } |
60 |
| - ] |
61 |
| - } |
62 |
| - }, |
63 |
| - "scripts": { |
64 |
| - "postinstall": "cd src/typings && npx vscode-dts master && npx vscode-dts dev master", |
65 |
| - "vscode:prepublish": "npm run compile", |
66 |
| - "compile": "npm-run-all -p compile:*", |
67 |
| - "compile:extension": "tsc -p ./src", |
68 |
| - "compile:webviews": "webpack --config webpack.config.js", |
69 |
| - "watch": "npm-run-all -p watch:*", |
70 |
| - "watch:extension": "tsc -watch -p ./src", |
71 |
| - "watch:webviews": "webpack --watch --mode development", |
72 |
| - "lint": "eslint . --ext .ts,.tsx" |
73 |
| - }, |
74 |
| - "dependencies": { |
75 |
| - "@risingstack/react-easy-state": "^6.3.0", |
76 |
| - "got": "^11.7.0", |
77 |
| - "keytar": "^7.0.0", |
78 |
| - "ky": "^0.24.0", |
79 |
| - "nanoid": "^3.1.16", |
80 |
| - "react": "^17.0.0", |
81 |
| - "react-dom": "^17.0.0", |
82 |
| - "simple-git": "^2.21.0" |
83 |
| - }, |
84 |
| - "devDependencies": { |
85 |
| - "@types/react": "^16.9.53", |
86 |
| - "@types/react-dom": "^16.9.8", |
87 |
| - "@typescript-eslint/eslint-plugin": "^3.0.2", |
88 |
| - "@typescript-eslint/parser": "^3.0.2", |
89 |
| - "css-loader": "^5.0.0", |
90 |
| - "eslint": "^7.1.0", |
91 |
| - "npm-run-all": "^4.1.5", |
92 |
| - "style-loader": "^2.0.0", |
93 |
| - "ts-loader": "^8.0.5", |
94 |
| - "typescript": "^4.0.3", |
95 |
| - "webpack": "4", |
96 |
| - "webpack-cli": "^4.0.0" |
97 |
| - } |
| 49 | + } |
| 50 | + ] |
| 51 | + }, |
| 52 | + "views": { |
| 53 | + "treeview-sample": [ |
| 54 | + { |
| 55 | + "id": "treeviewSample", |
| 56 | + "name": "Treeview Sample", |
| 57 | + "icon": "src/assets/coding.svg", |
| 58 | + "contextualTitle": "List" |
| 59 | + } |
| 60 | + ] |
| 61 | + } |
| 62 | + }, |
| 63 | + "scripts": { |
| 64 | + "postinstall": "cd src/typings && npx vscode-dts master && npx vscode-dts dev master", |
| 65 | + "vscode:prepublish": "npm run compile", |
| 66 | + "compile": "npm-run-all -p compile:*", |
| 67 | + "compile:extension": "tsc -p ./src", |
| 68 | + "compile:webviews": "webpack --config webpack.config.js", |
| 69 | + "watch": "npm-run-all -p watch:*", |
| 70 | + "watch:extension": "tsc -watch -p ./src", |
| 71 | + "watch:webviews": "webpack --watch --mode development", |
| 72 | + "lint": "eslint . --ext .ts,.tsx" |
| 73 | + }, |
| 74 | + "dependencies": { |
| 75 | + "@risingstack/react-easy-state": "^6.3.0", |
| 76 | + "got": "^11.7.0", |
| 77 | + "keytar": "^7.0.0", |
| 78 | + "ky": "^0.24.0", |
| 79 | + "nanoid": "^3.1.16", |
| 80 | + "react": "^17.0.0", |
| 81 | + "react-dom": "^17.0.0", |
| 82 | + "simple-git": "^2.21.0" |
| 83 | + }, |
| 84 | + "devDependencies": { |
| 85 | + "@types/react": "^16.9.53", |
| 86 | + "@types/react-dom": "^16.9.8", |
| 87 | + "@typescript-eslint/eslint-plugin": "^3.0.2", |
| 88 | + "@typescript-eslint/parser": "^3.0.2", |
| 89 | + "css-loader": "^5.0.0", |
| 90 | + "eslint": "^7.1.0", |
| 91 | + "npm-run-all": "^4.1.5", |
| 92 | + "style-loader": "^2.0.0", |
| 93 | + "ts-loader": "^8.0.5", |
| 94 | + "typescript": "^4.0.3", |
| 95 | + "webpack": "4", |
| 96 | + "webpack-cli": "^4.0.0" |
| 97 | + } |
98 | 98 | }
|
0 commit comments