-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 4.42 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
83
84
{
"name": "meeting-minutes",
"private": true,
"version": "0.0.0",
"type": "module",
"build": {
"directories": {
"output": "output"
}
},
"scripts": {
"dev": "vite",
"prod": "cross-env NODE_ENV=production vite",
"build": "rm -rf dist/ && tsc && cross-env NODE_ENV=production VITE_MODE=production vite build",
"build:local": "rm -rf meeting-minutes/www/* && rm -rf dist2/ && tsc && cross-env NODE_ENV=production VITE_MODE=local vite build",
"create": "mkdir \"dist/todos\" \"dist/quadrant-chart\" \"dist/todos/view\" \"dist/todos/add\" \"dist/todos/update\" \"dist/meeting-minutes\" \"dist/meeting-minutes/view\" \"dist/meeting-minutes/add\" \"dist/meeting-minutes/update\" \"dist/chart\" \"dist/download\"",
"create:local": "mkdir \"dist2/todos\" \"dist2/quadrant-chart\" \"dist2/todos/view\" \"dist2/todos/add\" \"dist2/todos/update\" \"dist2/meeting-minutes\" \"dist2/meeting-minutes/view\" \"dist2/meeting-minutes/add\" \"dist2/meeting-minutes/update\" \"dist2/chart\" \"dist2/download\"",
"workerbuild": "tsc worker.ts && cp worker.js dist/ && rm worker.js",
"workerbuild:local": "tsc worker.ts && cp worker.js dist2/ && cp index.js dist2/ && rm worker.js",
"postbuild": "pnpm run create && pnpm run workerbuild && cp dist/index.html dist/todos/ && cp dist/index.html dist/todos/update/ && cp dist/index.html dist/todos/view/ && cp dist/index.html dist/todos/add/ && cp dist/index.html dist/meeting-minutes/ && cp dist/index.html dist/meeting-minutes/update/ && cp dist/index.html dist/meeting-minutes/view/ && cp dist/index.html dist/meeting-minutes/add/ && cp dist/index.html dist/chart/ && cp dist/index.html dist/quadrant-chart/ && cp dist/index.html dist/download/",
"postbuild:local": "pnpm run create:local && pnpm run workerbuild:local && cp dist2/index.html dist2/todos/ && cp dist2/index.html dist2/todos/update/ && cp dist2/index.html dist2/todos/view/ && cp dist2/index.html dist2/todos/add/ && cp dist2/index.html dist2/meeting-minutes/ && cp dist2/index.html dist2/meeting-minutes/update/ && cp dist2/index.html dist2/meeting-minutes/view/ && cp dist2/index.html dist2/meeting-minutes/add/ && cp dist2/index.html dist2/chart/ && cp dist2/index.html dist2/quadrant-chart/ && cp dist2/index.html dist2/download/ && cp -r dist2/* meeting-minutes/www/ && cd meeting-minutes/ && cordova build",
"deploy": "pnpm build && touch dist/.nojekyll && cd dist/ && git init && git add -A && git commit -m \"gh-pages\" && git push https://github.com/kkn1125/meeting-minutes.git master:gh-pages -f",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"test": "jest --coverage",
"electron-start": "cross-env ELECTRON_START_URL=http://localhost:5173 electron .",
"electron-pack": "electron-builder build -c.extraMetadata.main=dist2/index.js"
},
"dependencies": {
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.15.4",
"@mui/material": "^5.15.4",
"@mui/x-date-pickers": "^6.19.0",
"chart.js": "^4.4.1",
"dayjs": "^1.11.10",
"formik": "^2.4.5",
"html-to-image": "^1.11.11",
"jspdf": "^2.5.1",
"react": "^18.2.0",
"react-chartjs-2": "^5.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.21.2",
"uuid": "^9.0.1",
"web-worker": "^1.3.0",
"yup": "^1.3.3"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/preset-env": "^7.23.8",
"@babel/preset-typescript": "^7.23.3",
"@types/jest": "^29.5.11",
"@types/node": "^20.11.4",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.16",
"cross-env": "^7.0.3",
"dotenv": "^16.3.1",
"electron": "^28.2.0",
"electron-builder": "^24.9.1",
"eslint": "^8.55.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"jest": "^29.7.0",
"mermaid": "^10.7.0",
"postcss": "^8.4.33",
"sass": "^1.70.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.2.2",
"vite": "^5.0.8",
"vitepress-plugin-mermaid": "^2.0.16"
},
"pnpm": {
"overrides": {
"vite@>=5.0.0 <=5.0.11": ">=5.0.12"
}
}
}