norn-cli 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. package/CHANGELOG.md +556 -0
  2. package/LICENSE +94 -0
  3. package/README.md +938 -0
  4. package/dist/cli.js +23453 -0
  5. package/package.json +194 -0
package/package.json ADDED
@@ -0,0 +1,194 @@
1
+ {
2
+ "name": "norn-cli",
3
+ "displayName": "Norn - REST Client",
4
+ "description": "A powerful REST client for making HTTP requests with sequences, variables, scripts, and cookie support",
5
+ "version": "1.1.0",
6
+ "publisher": "Norn-PeterKrustanov",
7
+ "author": {
8
+ "name": "Peter Krastanov"
9
+ },
10
+ "license": "SEE LICENSE IN LICENSE",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/PeterCrest/Norn"
14
+ },
15
+ "bugs": {
16
+ "url": "https://github.com/PeterCrest/Norn/issues"
17
+ },
18
+ "homepage": "https://github.com/PeterCrest/Norn#readme",
19
+ "icon": "images/icon.png",
20
+ "galleryBanner": {
21
+ "color": "#1e1e1e",
22
+ "theme": "dark"
23
+ },
24
+ "keywords": [
25
+ "rest",
26
+ "api",
27
+ "http",
28
+ "request",
29
+ "client",
30
+ "rest client",
31
+ "api testing"
32
+ ],
33
+ "engines": {
34
+ "vscode": "^1.108.1"
35
+ },
36
+ "categories": [
37
+ "Programming Languages",
38
+ "Snippets",
39
+ "Other"
40
+ ],
41
+ "activationEvents": [
42
+ "onLanguage:norn"
43
+ ],
44
+ "main": "./dist/extension.js",
45
+ "contributes": {
46
+ "commands": [
47
+ {
48
+ "command": "norn.sendRequest",
49
+ "title": "Send Request",
50
+ "category": "Norn"
51
+ },
52
+ {
53
+ "command": "norn.runSequence",
54
+ "title": "Run Sequence",
55
+ "category": "Norn"
56
+ },
57
+ {
58
+ "command": "norn.clearCookies",
59
+ "title": "Clear Cookies",
60
+ "category": "Norn"
61
+ },
62
+ {
63
+ "command": "norn.showCookies",
64
+ "title": "Show Stored Cookies",
65
+ "category": "Norn"
66
+ },
67
+ {
68
+ "command": "norn.selectEnvironment",
69
+ "title": "Select Environment",
70
+ "category": "Norn"
71
+ }
72
+ ],
73
+ "languages": [
74
+ {
75
+ "id": "norn",
76
+ "aliases": [
77
+ "Norn",
78
+ "norn"
79
+ ],
80
+ "extensions": [
81
+ ".norn"
82
+ ],
83
+ "icon": {
84
+ "light": "./images/norn-file-icon.png",
85
+ "dark": "./images/norn-file-icon.png"
86
+ },
87
+ "configuration": "./language-configuration.json"
88
+ },
89
+ {
90
+ "id": "nornenv",
91
+ "aliases": [
92
+ "Norn Environment"
93
+ ],
94
+ "filenames": [
95
+ ".nornenv"
96
+ ],
97
+ "icon": {
98
+ "light": "./images/nornenv-icon.svg",
99
+ "dark": "./images/nornenv-icon.svg"
100
+ },
101
+ "configuration": "./language-configuration.json"
102
+ },
103
+ {
104
+ "id": "nornapi",
105
+ "aliases": [
106
+ "Norn API",
107
+ "nornapi"
108
+ ],
109
+ "extensions": [
110
+ ".nornapi"
111
+ ],
112
+ "icon": {
113
+ "light": "./images/nornapi-icon.svg",
114
+ "dark": "./images/nornapi-icon.svg"
115
+ },
116
+ "configuration": "./language-configuration.json"
117
+ }
118
+ ],
119
+ "grammars": [
120
+ {
121
+ "language": "norn",
122
+ "scopeName": "source.norn",
123
+ "path": "./syntaxes/norn.tmLanguage.json"
124
+ },
125
+ {
126
+ "language": "nornenv",
127
+ "scopeName": "source.nornenv",
128
+ "path": "./syntaxes/nornenv.tmLanguage.json"
129
+ },
130
+ {
131
+ "language": "nornapi",
132
+ "scopeName": "source.nornapi",
133
+ "path": "./syntaxes/nornapi.tmLanguage.json"
134
+ }
135
+ ],
136
+ "keybindings": [
137
+ {
138
+ "command": "norn.sendRequest",
139
+ "key": "ctr+alt+r",
140
+ "mac": "ctr+alt+r",
141
+ "when": "editorLangId == norn"
142
+ }
143
+ ],
144
+ "configurationDefaults": {
145
+ "editor.tokenColorCustomizations": {
146
+ "textMateRules": [
147
+ {
148
+ "scope": "keyword.swagger.nornapi",
149
+ "settings": {
150
+ "foreground": "#85EA2C"
151
+ }
152
+ }
153
+ ]
154
+ }
155
+ }
156
+ },
157
+ "scripts": {
158
+ "vscode:prepublish": "npm run package",
159
+ "compile": "npm run check-types && npm run lint && node esbuild.js",
160
+ "compile:cli": "npm run check-types && node esbuild.js --cli",
161
+ "watch": "npm-run-all -p watch:*",
162
+ "watch:esbuild": "node esbuild.js --watch",
163
+ "watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
164
+ "package": "npm run check-types && npm run lint && node esbuild.js --production",
165
+ "compile-tests": "tsc -p . --outDir out",
166
+ "watch-tests": "tsc -p . -w --outDir out",
167
+ "pretest": "npm run compile-tests && npm run compile && npm run lint",
168
+ "check-types": "tsc --noEmit",
169
+ "lint": "eslint src",
170
+ "test": "vscode-test",
171
+ "test:regression": "./tests/Regression/run-all.sh"
172
+ },
173
+ "devDependencies": {
174
+ "@types/mocha": "^10.0.10",
175
+ "@types/node": "22.x",
176
+ "@types/tough-cookie": "^4.0.5",
177
+ "@types/vscode": "^1.108.1",
178
+ "@vscode/test-cli": "^0.0.12",
179
+ "@vscode/test-electron": "^2.5.2",
180
+ "esbuild": "^0.27.2",
181
+ "eslint": "^9.39.2",
182
+ "npm-run-all": "^4.1.5",
183
+ "typescript": "^5.9.3",
184
+ "typescript-eslint": "^8.52.0"
185
+ },
186
+ "dependencies": {
187
+ "axios": "^1.13.2",
188
+ "chalk": "^5.4.1",
189
+ "tough-cookie": "^6.0.0"
190
+ },
191
+ "bin": {
192
+ "norn": "./dist/cli.js"
193
+ }
194
+ }