-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathpackage.json
82 lines (82 loc) · 2.21 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
{
"name": "jiosaavn",
"description": "🎵 An Unofficial wrapper for the Jio Saavn API.",
"scripts": {
"dev": "bun run --hot src/index.ts",
"dev:node": "tsx src/node.ts",
"dev:vc": "vc dev",
"build:vc": "bun-vercel ./src/bun.ts",
"deploy:vc": "vc",
"dev:cf": "wrangler dev src/index.ts",
"deploy:cf": "wrangler deploy --minify src/index.ts",
"type-check": "tsc --noEmit",
"lint": "eslint src --ext ts,json --report-unused-disable-directives --max-warnings 0",
"fmt": "prettier --write \"**/*.{ts,json}\" --cache",
"fmt:check": "prettier --check \"**/*.{ts,json}\" --cache",
"prepare": "husky"
},
"prettier": {
"endOfLine": "lf",
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "es5"
},
"eslintConfig": {
"env": {
"browser": true,
"es2020": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"ignorePatterns": [
"test"
]
},
"lint-staged": {
"*.{ts,json}": [
"prettier --write \"**/*.{ts,json}\" --cache",
"eslint --fix ."
],
"*.ts": [
"tsc --noEmit --esModuleInterop --skipLibCheck --types bun-types"
]
},
"dependencies": {
"@hono/node-server": "^1.13.2",
"@upstash/ratelimit": "^2.0.3",
"@upstash/redis": "^1.34.3",
"bun-vercel": "^1.0.0-alpha.5",
"crypto-js": "^4.2.0",
"entities": "^5.0.0",
"hono": "^4.6.5"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20241018.0",
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.3",
"@total-typescript/ts-reset": "^0.6.1",
"@types/crypto-js": "^4.2.2",
"@typescript-eslint/eslint-plugin": "^8.10.0",
"@typescript-eslint/parser": "^8.10.0",
"bun-types": "^1.1.31",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"tsx": "^4.19.1",
"typescript": "^5.6.3",
"vercel": "^37.11.0",
"wrangler": "^3.81.0"
}
}