-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.8 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 2.8 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
{
"name": "instantly_http",
"version": "1.2.2",
"description": "Tool to instantly create your own http server for development-use",
"bin": "./dist/bin.js",
"main": "./dist/index.js",
"scripts": {
"testpack": "rm ./tmp/* -rf && npm pack --pack-destination=./tmp",
"test": "npx jest --debug",
"lint": "tsc --noEmit && eslint",
"build:dts": "tsc -p tsconfig.json --emitDeclarationOnly --outDir dist",
"compile:prod": "rm -rf dist/* && npx tsup && npm run build:dts && ls -lha dist",
"prerelease": "npm run compile:prod",
"release": "npx release-it",
"audit": "npm audit --omit=dev",
"fix-audit": "npm audit fix --omit=dev",
"prebuild-binary": "rm executable/* -f && npx esbuild src/bin.ts --bundle --platform=node --minify --target=node18 --outdir=executable && ls -lha executable/*",
"build-binary": "pkg ./executable/bin.js --targets=node18 --compress=Brotli -d --public-packages=* -o=executable/instant_http && ls -lha executable"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./package.json": "./package.json"
},
"tsup": {
"entry": [
"src/index.ts",
"src/bin.ts"
],
"clean": true,
"dts": false,
"format": [
"cjs",
"esm"
]
},
"author": "pillsilly",
"license": "MIT",
"dependencies": {
"commander": "14.0.3",
"compression": "1.8.1",
"cors": "2.8.6",
"express": "5.2.1",
"http-proxy-middleware": "3.0.5"
},
"keywords": [
"http",
"server",
"cli",
"serve",
"development",
"tool",
"http server"
],
"homepage": "https://github.com/pillsilly/InstantHttp",
"devDependencies": {
"@babel/preset-env": "7.29.2",
"@babel/preset-typescript": "7.28.5",
"@eslint/eslintrc": "3.3.5",
"@eslint/js": "9.39.2",
"@types/compression": "1.8.1",
"@types/cors": "2.8.19",
"@types/express": "5.0.6",
"@types/jest": "30.0.0",
"@typescript-eslint/eslint-plugin": "8.59.1",
"@typescript-eslint/parser": "8.59.1",
"esbuild": "0.28.0",
"esbuild-jest": "0.5.0",
"eslint": "9.39.2",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-n": "17.24.0",
"eslint-plugin-promise": "7.3.0",
"globals": "17.5.0",
"jest": "30",
"pkg": "5.8.1",
"prettier": "3.8.3",
"release-it": "20.0.1",
"supertest": "7.2.2",
"tsup": "8.5.1",
"typescript": "6.0.3"
},
"overrides": {
"basic-ftp": "5.3.0",
"form-data": "4.0.4"
},
"prettier": {
"jsxSingleQuote": true,
"singleQuote": true,
"bracketSpacing": false,
"useTabs": false,
"trailingComma": "es5"
},
"files": [
"/dist",
"package.json"
]
}