Skip to content

Commit 6052353

Browse files
committed
style: use prettier-plugin-package
1 parent a39cf8b commit 6052353

File tree

2 files changed

+58
-47
lines changed

2 files changed

+58
-47
lines changed

package.json

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
{
22
"name": "processing-vscode",
3-
"displayName": "Processing VSCode",
4-
"description": "Processing Language Support for VSCode",
53
"version": "2.3.0",
6-
"publisher": "Luke-zhang-04",
7-
"engines": {
8-
"vscode": "^1.48.0"
9-
},
10-
"homepage": "https://github.com/Luke-zhang-04/processing-vscode",
4+
"description": "Processing Language Support for VSCode",
5+
"license": "MIT",
116
"repository": {
127
"type": "git",
138
"url": "https://github.com/Luke-zhang-04/processing-vscode.git"
149
},
15-
"categories": [
16-
"Programming Languages",
17-
"Snippets"
18-
],
10+
"homepage": "https://github.com/Luke-zhang-04/processing-vscode",
1911
"bugs": "https://github.com/Luke-zhang-04/processing-vscode/issues",
20-
"license": "MIT",
12+
"main": "./processing-vscode.js",
13+
"engines": {
14+
"vscode": "^1.48.0"
15+
},
16+
"scripts": {
17+
"build": "rollup -c rollup.config.js",
18+
"deploy": "vsce publish",
19+
"format": "prettier . --write && eslint --ext ts --fix --cache",
20+
"lint": "eslint --ext ts src --max-warnings 0 --cache",
21+
"vscode:prepublish": "rollup -c rollup.config.js"
22+
},
2123
"keywords": [
2224
"processing",
2325
"pde",
@@ -28,6 +30,33 @@
2830
"diagnostics",
2931
"runner"
3032
],
33+
"devDependencies": {
34+
"@rollup/plugin-node-resolve": "^13.0.0",
35+
"@rollup/plugin-typescript": "^8.2.1",
36+
"@rollup/plugin-yaml": "^3.0.0",
37+
"@types/glob": "^7.1.4",
38+
"@types/jsdom": "^16.2.13",
39+
"@types/node": "^16.3.1",
40+
"@types/node-fetch": "^2.5.11",
41+
"@types/vscode": "^1.58.0",
42+
"@typescript-eslint/eslint-plugin": "^4.28.2",
43+
"@typescript-eslint/parser": "^4.28.2",
44+
"eslint": "^7.30.0",
45+
"eslint-plugin-prefer-arrow": "^1.2.3",
46+
"glob": "^7.1.7",
47+
"jsdom": "^16.6.0",
48+
"node-fetch": "^2.6.1",
49+
"prettier": "^2.3.2",
50+
"prettier-plugin-jsdoc": "^0.3.23",
51+
"prettier-plugin-package": "^1.3.0",
52+
"rollup": "^2.53.0",
53+
"rollup-plugin-progress": "^1.1.2",
54+
"rollup-plugin-terser": "^7.0.2",
55+
"tslib": "^2.3.0",
56+
"typescript": "^4.3.5",
57+
"vsce": "^1.95.1",
58+
"yaml": "^1.10.2"
59+
},
3160
"activationEvents": [
3261
"onCommand:processing.OpenExtensionDocumentation",
3362
"onCommand:processing.OpenDocs",
@@ -38,7 +67,10 @@
3867
"onLanguage:pde",
3968
"onLanguage:python"
4069
],
41-
"main": "./processing-vscode.js",
70+
"categories": [
71+
"Programming Languages",
72+
"Snippets"
73+
],
4274
"contributes": {
4375
"commands": [
4476
{
@@ -202,39 +234,7 @@
202234
}
203235
}
204236
},
205-
"scripts": {
206-
"vscode:prepublish": "rollup -c rollup.config.js",
207-
"build": "rollup -c rollup.config.js",
208-
"deploy": "vsce publish",
209-
"lint": "eslint src/\"{*,**/*}\".ts --max-warnings=0",
210-
"format": "prettier . --write && eslint src/\"{*,**/*}\".ts --fix"
211-
},
212-
"devDependencies": {
213-
"@rollup/plugin-node-resolve": "^13.0.0",
214-
"@rollup/plugin-typescript": "^8.2.1",
215-
"@rollup/plugin-yaml": "^3.0.0",
216-
"@types/glob": "^7.1.4",
217-
"@types/jsdom": "^16.2.13",
218-
"@types/node": "^16.3.1",
219-
"@types/node-fetch": "^2.5.11",
220-
"@types/vscode": "^1.58.0",
221-
"@typescript-eslint/eslint-plugin": "^4.28.2",
222-
"@typescript-eslint/parser": "^4.28.2",
223-
"eslint": "^7.30.0",
224-
"eslint-plugin-prefer-arrow": "^1.2.3",
225-
"glob": "^7.1.7",
226-
"jsdom": "^16.6.0",
227-
"node-fetch": "^2.6.1",
228-
"prettier": "^2.3.2",
229-
"prettier-plugin-jsdoc": "^0.3.23",
230-
"rollup": "^2.53.0",
231-
"rollup-plugin-progress": "^1.1.2",
232-
"rollup-plugin-terser": "^7.0.2",
233-
"tslib": "^2.3.0",
234-
"typescript": "^4.3.5",
235-
"vsce": "^1.95.1",
236-
"yaml": "^1.10.2"
237-
},
237+
"displayName": "Processing VSCode",
238238
"icon": "images/processing.png",
239-
"dependencies": {}
239+
"publisher": "Luke-zhang-04"
240240
}

pnpm-lock.yaml

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)