|
1 | 1 | { |
2 | 2 | "name": "air-conditioner", |
3 | | - "description": "云空调,便携小空调", |
4 | | - "packageManager": "pnpm@8.15.1", |
5 | 3 | "type": "module", |
6 | 4 | "version": "0.1.3", |
7 | 5 | "private": true, |
| 6 | + "packageManager": "pnpm@9.14.4", |
| 7 | + "description": "云空调,便携小空调", |
8 | 8 | "author": { |
9 | 9 | "url": "https://www.yunyoujun.cn", |
10 | 10 | "email": "me@yunyoujun.cn", |
11 | 11 | "name": "YunYouJun" |
12 | 12 | }, |
| 13 | + "homepage": "https://ac.yunyoujun.cn/", |
| 14 | + "repository": { |
| 15 | + "type": "git", |
| 16 | + "url": "https://github.com/YunYouJun/air-conditioner" |
| 17 | + }, |
13 | 18 | "scripts": { |
14 | | - "dev": "vite", |
15 | | - "build": "vite build", |
16 | | - "serve": "vite preview", |
17 | | - "lint": "eslint \"**/*.{tsx,ts,js}\"", |
18 | | - "lint:fix": "eslint \"**/*.{tsx,ts,js}\" --fix", |
| 19 | + "build": "pnpm -r run build", |
| 20 | + "react:dev": "pnpm -C packages/react run dev", |
| 21 | + "react:build": "pnpm -C packages/react run build", |
| 22 | + "vue:dev": "pnpm -C packages/vue run dev", |
| 23 | + "vue:build": "pnpm -C packages/vue run build", |
| 24 | + "lint": "eslint .", |
19 | 25 | "typecheck": "tsc --noEmit" |
20 | 26 | }, |
21 | 27 | "browserslist": { |
|
30 | 36 | "last 1 safari version" |
31 | 37 | ] |
32 | 38 | }, |
33 | | - "repository": { |
34 | | - "type": "git", |
35 | | - "url": "https://github.com/YunYouJun/air-conditioner" |
36 | | - }, |
37 | | - "homepage": "https://ac.yunyoujun.cn/", |
38 | | - "dependencies": { |
39 | | - "react": "^18.2.0", |
40 | | - "react-dom": "^18.2.0", |
41 | | - "react-ga": "^3.3.1", |
42 | | - "react-gtm-module": "2.0.11", |
43 | | - "react-router-dom": "^6.22.0", |
44 | | - "sass": "^1.70.0", |
45 | | - "web-vitals": "^3.5.2" |
46 | | - }, |
47 | 39 | "devDependencies": { |
48 | | - "@antfu/eslint-config": "^2.6.3", |
49 | | - "@emotion/react": "^11.11.3", |
50 | | - "@emotion/styled": "^11.11.0", |
51 | | - "@iconify-json/ic": "^1.1.17", |
52 | | - "@iconify-json/mdi": "^1.1.64", |
53 | | - "@mui/material": "^5.15.7", |
54 | | - "@types/node": "^20.11.16", |
55 | | - "@types/react": "^18.2.52", |
56 | | - "@types/react-dom": "^18.2.18", |
57 | | - "@types/react-gtm-module": "2.0.3", |
58 | | - "@types/react-router-dom": "^5.3.3", |
59 | | - "@vitejs/plugin-react": "^4.2.1", |
60 | | - "eslint": "^8.56.0", |
61 | | - "react-transition-group": "^4.4.5", |
62 | | - "typescript": "^5.3.3", |
63 | | - "unocss": "^0.58.4", |
64 | | - "usehooks-ts": "^2.12.1", |
65 | | - "vite": "^5.0.12", |
66 | | - "vite-plugin-pages": "^0.32.0", |
67 | | - "vite-plugin-pwa": "^0.17.5" |
| 40 | + "@antfu/eslint-config": "^3.11.2", |
| 41 | + "@iconify-json/ic": "^1.2.1", |
| 42 | + "@iconify-json/mdi": "^1.2.1", |
| 43 | + "@playwright/test": "^1.49.0", |
| 44 | + "@types/node": "^22.10.1", |
| 45 | + "eslint": "^9.16.0", |
| 46 | + "typescript": "^5.6.3" |
68 | 47 | } |
69 | 48 | } |
0 commit comments