๐Ÿ“ฆ Kong / httpsnippet

๐Ÿ“„ package.json ยท 97 lines
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{
  "version": "3.0.9",
  "name": "httpsnippet",
  "description": "HTTP Request snippet generator for *most* languages",
  "author": "Kong <office@konghq.com>",
  "homepage": "https://github.com/Kong/httpsnippet",
  "license": "MIT",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "bin": "bin/httpsnippet",
  "keywords": [
    "api",
    "clojure",
    "crystal",
    "csharp",
    "curl",
    "go",
    "har",
    "http",
    "httpie",
    "httr",
    "java",
    "javascript",
    "jquery",
    "kotlin",
    "objc",
    "objective-c",
    "ocaml",
    "php",
    "python",
    "request",
    "requests",
    "ruby",
    "rust",
    "shell",
    "snippet",
    "swift",
    "swift",
    "unirest",
    "xhr",
    "xmlhttprequest"
  ],
  "engines": {
    "node": "^14.19.1 || ^16.14.2 || ^18.0.0 || ^20.0.0"
  },
  "repository": "Kong/httpsnippet",
  "bugs": {
    "url": "https://github.com/Kong/httpsnippet/issues"
  },
  "scripts": {
    "clean": "tsc --build tsconfig.build.json --clean",
    "prebuild": "npm run clean",
    "lint": "npm run lint:prettify && npm run lint:code && npm run lint:markdown",
    "lint:prettify": "prettier --check .",
    "lint:code": "eslint . --ext ts,d.ts,test.ts",
    "lint:markdown": "markdownlint-cli2 \"**/*.md\" \"#**/node_modules\"",
    "lint:fix": "npm run lint:prettify:fix && npm run lint:code:fix && npm run lint:markdown:fix",
    "lint:prettify:fix": "prettier --write .",
    "lint:code:fix": "eslint . --ext ts,d.ts,test.ts --fix",
    "lint:markdown:fix": "markdownlint-cli2-fix \"**/*.md\" \"#**/node_modules\"",
    "build": "tsc --build tsconfig.build.json",
    "build:types": "tsc -d --declarationDir dist/lib --declarationMap --emitDeclarationOnly",
    "test": "jest"
  },
  "devDependencies": {
    "@types/eslint": "^8.4.1",
    "@types/event-stream": "^4.0.0",
    "@types/har-format": "^1.2.8",
    "@types/jest": "^27.4.1",
    "@types/node": "^16.11.26",
    "@types/stringify-object": "^3.3.0",
    "@types/yargs": "^17.0.10",
    "@typescript-eslint/eslint-plugin": "^5.17.0",
    "@typescript-eslint/parser": "^5.17.0",
    "eslint": "^8.12.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-eslint-comments": "^3.2.0",
    "eslint-plugin-jest": "^26.1.3",
    "eslint-plugin-jest-formatting": "^3.1.0",
    "eslint-plugin-simple-import-sort": "^7.0.0",
    "jest": "^27.5.1",
    "markdownlint-cli2": "^0.14.0",
    "prettier": "^2.6.2",
    "ts-jest": "^27.1.4",
    "type-fest": "^2.12.2",
    "typescript": "^4.6.3"
  },
  "dependencies": {
    "chalk": "^4.1.2",
    "event-stream": "4.0.1",
    "form-data": "4.0.4",
    "har-validator-compiled": "^1.0.0",
    "stringify-object": "3.3.0",
    "yargs": "^17.4.0"
  }
}