forked from Kong/httpsnippet
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
102 lines (102 loc) · 2.37 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
92
93
94
95
96
97
98
99
100
101
102
{
"name": "@readme/httpsnippet",
"version": "11.0.0",
"description": "HTTP Request snippet generator for *most* languages",
"homepage": "https://github.com/readmeio/httpsnippet",
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
},
"./helpers/code-builder": {
"require": "./dist/helpers/code-builder.cjs",
"import": "./dist/helpers/code-builder.js"
},
"./helpers/reducer": {
"require": "./dist/helpers/reducer.cjs",
"import": "./dist/helpers/reducer.js"
},
"./targets": {
"require": "./dist/targets/index.cjs",
"import": "./dist/targets/index.js"
},
"./package.json": "./package.json"
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.cts",
"engines": {
"node": ">=18"
},
"files": [
"dist"
],
"keywords": [
"api",
"clojure",
"csharp",
"curl",
"go",
"har",
"http",
"httpie",
"httr",
"java",
"javascript",
"jquery",
"kotlin",
"objc",
"objective-c",
"ocaml",
"php",
"python",
"requests",
"ruby",
"shell",
"snippet",
"swift",
"swift",
"xhr",
"xmlhttprequest"
],
"repository": {
"type": "git",
"url": "https://github.com/readmeio/httpsnippet.git"
},
"scripts": {
"attw": "attw --pack --format table-flipped",
"build": "tsup",
"clean": "rm -rf dist/",
"lint": "npm run lint:js && npm run prettier",
"lint:js": "eslint . --ext .js,.cjs,.ts && prettier --check .",
"prebuild": "npm run clean",
"prepack": "npm run build",
"prettier": "prettier --check .",
"prettier:write": "prettier --check --write .",
"test": "vitest run --coverage"
},
"dependencies": {
"qs": "^6.11.2",
"stringify-object": "^3.3.0"
},
"devDependencies": {
"@readme/eslint-config": "^14.0.0",
"@types/eslint": "^8.44.7",
"@types/har-format": "^1.2.15",
"@types/node": "^22.0.2",
"@types/qs": "^6.9.10",
"@types/stringify-object": "^4.0.5",
"@vitest/coverage-v8": "^2.0.5",
"eslint": "^8.57.0",
"prettier": "^3.0.3",
"require-directory": "^2.1.1",
"tsup": "^8.0.1",
"type-fest": "^4.15.0",
"typescript": "^5.4.4",
"vitest": "^2.0.5"
},
"prettier": "@readme/eslint-config/prettier"
}