-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
76 lines (76 loc) · 2.19 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
{
"name": "elysia-compress",
"description": "Elysia Compression that supports Brotli, GZIP, and Deflate compression",
"version": "1.2.1",
"author": {
"name": "Ashary Vermaysha",
"email": "[email protected]",
"url": "https://github.com/vermaysha"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vermaysha/elysia-compress.git"
},
"url": "https://github.com/vermaysha/elysia-compress",
"bugs": "https://github.com/vermaysha/elysia-compress/issues",
"homepage": "https://github.com/vermaysha/elysia-compress",
"keywords": [
"elysia",
"compression",
"brotli",
"gzip",
"deflate"
],
"license": "MIT",
"exports": {
"bun": "./dist/index.js",
"node": "./dist/cjs/index.js",
"require": "./dist/cjs/index.js",
"import": "./dist/index.js",
"default": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"prepare": "husky",
"format": "eslint --fix {./src/,./tests/}*.ts",
"lint": "eslint {./src/,./tests/}*.ts",
"build": "rimraf dist && tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json",
"test": "bun test && npm run test:node",
"test:node": "npm install --prefix ./tests/node/cjs/ && npm install --prefix ./tests/node/esm/ && node ./tests/node/cjs/index.js && node ./tests/node/esm/index.js",
"release": "npm run build && npm run test && npm publish --access public"
},
"devDependencies": {
"@elysiajs/cors": "^1.1.1",
"@elysiajs/stream": "^1.1.0",
"@eslint/js": "^9.16.0",
"@types/bun": "latest",
"bun-types": "^1.1.38",
"elysia": "^1.1.25",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"prettier": "^3.4.1",
"rimraf": "^6.0.1",
"typescript": "^5.7.2",
"typescript-eslint": "^7.18.0"
},
"peerDependencies": {
"typescript": "^5.7.2",
"elysia": ">= 1.1.25"
},
"engines": {
"bun": ">=1.1.8",
"node": ">=18.20.5"
},
"lint-staged": {
"*": "prettier --ignore-unknown --write",
"*.ts": "eslint --fix"
},
"files": [
"dist"
]
}