-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 2.33 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 2.33 KB
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
{
"publisher": "498-00",
"name": "httpformat",
"displayName": "HTTP Format - Formatter for plaintext .txt .http files With Standard REST Requests",
"description": "Format your REST HTTP Client files with a single command. A very fast JSON and HTTP Format Prettier.",
"version": "1.1.2",
"icon": "imgs/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/AB498/http-format"
},
"engines": {
"vscode": "^1.0.0"
},
"keywords": [
"format",
"formatter",
"http",
"rest",
"https",
"formatting",
"style",
"prettier",
"rest client"
],
"categories": [
"Formatters",
"Other"
],
"activationEvents": [
"onStartupFinished",
"onLanguage:http",
"workspaceContains:**/*.http"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "http",
"extensions": [
".http",
".rest"
],
"aliases": [
"HTTP",
"http"
]
},
{
"id": "plaintext",
"extensions": [
".txt"
],
"aliases": [
"plaintext"
]
}
],
"formatters": [
{
"language": "http",
"selector": "source.http",
"id": "httpformat-formatter",
"title": "HTTP Format Formatter",
"default": true
},
{
"language": "plaintext",
"selector": "source.plaintext",
"id": "httpformat-formatter",
"title": "HTTP Format Formatter",
"default": true
}
]
},
"scripts": {
"esbuild-base": "npx -y esbuild --minify --bundle ./src/*.js --outdir=./out --platform=node --external:vscode",
"vscode:prepublish": "npm run esbuild-base",
"lint": "eslint .",
"pretest": "npm run lint",
"test": "vscode-test",
"test:unit": "mocha test/**/*.test.js",
"test:watch": "mocha test/**/*.test.js --watch",
"test:coverage": "nyc mocha test/**/*.test.js",
"test:only": "mocha test/**/*.test.js"
},
"devDependencies": {
"@types/mocha": "^10.0.9",
"@types/node": "20.x",
"@types/vscode": "^1.0.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"eslint": "^9.13.0",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"typescript": "^4.9.5"
},
"dependencies": {
"axios": "^1.7.7"
}
}