|
1 | 1 | {
|
2 | 2 | "name": "chatgpt-api-demo",
|
3 |
| - "type": "module", |
4 | 3 | "version": "0.0.1",
|
| 4 | + "packageManager": "[email protected]", |
5 | 5 | "scripts": {
|
6 | 6 | "dev": "astro dev",
|
7 | 7 | "start": "astro dev",
|
8 | 8 | "build": "astro build",
|
9 | 9 | "build:vercel": "OUTPUT=vercel astro build",
|
10 | 10 | "build:netlify": "OUTPUT=netlify astro build",
|
11 | 11 | "preview": "astro preview",
|
12 |
| - "astro": "astro" |
| 12 | + "astro": "astro", |
| 13 | + "lint": "eslint . --ext .js,.jsx,.ts,.tsx,.astro", |
| 14 | + "lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx,.astro --fix" |
13 | 15 | },
|
14 | 16 | "dependencies": {
|
15 | 17 | "@astrojs/netlify": "2.0.0",
|
|
18 | 20 | "@astrojs/vercel": "^3.1.3",
|
19 | 21 | "@unocss/reset": "^0.50.1",
|
20 | 22 | "astro": "^2.0.15",
|
| 23 | + "eslint": "^8.36.0", |
21 | 24 | "eventsource-parser": "^0.1.0",
|
22 | 25 | "highlight.js": "^11.7.0",
|
23 | 26 | "js-sha256": "^0.9.0",
|
|
32 | 35 | "devDependencies": {
|
33 | 36 | "@iconify-json/carbon": "^1.1.16",
|
34 | 37 | "@types/markdown-it": "^12.2.3",
|
| 38 | + "@typescript-eslint/parser": "^5.54.1", |
35 | 39 | "@unocss/preset-attributify": "^0.50.1",
|
36 | 40 | "@unocss/preset-icons": "^0.50.4",
|
37 | 41 | "@unocss/preset-typography": "^0.50.3",
|
| 42 | + "eslint-plugin-astro": "^0.24.0", |
38 | 43 | "punycode": "^2.3.0",
|
39 |
| - "unocss": "^0.50.1" |
| 44 | + "unocss": "^0.50.1", |
| 45 | + "@evan-yang/eslint-config": "^1.0.1" |
40 | 46 | }
|
41 | 47 | }
|
0 commit comments