-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathpackage.json
More file actions
148 lines (148 loc) · 3.92 KB
/
Copy pathpackage.json
File metadata and controls
148 lines (148 loc) · 3.92 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "react-example",
"version": "0.0.0",
"private": true,
"type": "module",
"homepage": "https://ryan-millard.github.io/Img2Num",
"scriptsInfo": {
"_meta": {
"basic": [
"dev",
"build",
"clean",
"format",
"lint",
"help"
]
},
"Development": {
"dev": {
"desc": "Run Vite dev server",
"args": [
"-- port PORT Specify dev server port",
"-- host HOST Specify dev server host"
]
},
"preview": {
"desc": "Preview the production build locally"
}
},
"Build": {
"build": {
"desc": "Build the site",
"args": [
"-- mode MODE Set the build mode (production/development)"
]
}
},
"Cleaning": {
"clean": {
"desc": "Clean build artifacts in dist folder"
}
},
"Formatting": {
"format": {
"desc": "Format all files with Prettier and clang-format (modifies files)"
},
"format:check": {
"desc": "Check all files with Prettier and clang-format without modifying them (files untouched)"
},
"format-js": {
"desc": "Format all JS files with Prettier (modifies files)"
},
"format-js:check": {
"desc": "Check all JS files with Prettier without modifying them (files untouched)"
}
},
"Linting": {
"lint": {
"desc": "Run ESLint to check for code issues",
"args": [
"-- fix Automatically fix fixable issues",
"-- style Check style rules only"
]
},
"lint:fix": {
"desc": "Run ESLint and automatically fix issues"
},
"lint:style": {
"desc": "Check all files against .editorconfig rules"
}
},
"Testing": {
"test": {
"desc": "Run all tests once using Vitest"
},
"test:watch": {
"desc": "Run tests in watch mode with Vitest"
},
"test:coverage": {
"desc": "Run tests and generate a coverage report"
}
},
"Other": {
"help": {
"desc": "Show this help message",
"args": [
"-- filter <term> Only show scripts matching <term>"
]
}
}
},
"scripts": {
"help": "node scripts/help.js",
"dev": "vite",
"preview": "vite preview",
"build": "vite build",
"clean": "rimraf dist",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"format": "npm run format-js",
"format:check": "npm run format-js:check",
"format-js": "prettier --write .",
"format-js:check": "prettier --check .",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint:style": "editorconfig-checker"
},
"dependencies": {
"@tanstack/react-query": "^5.101.0",
"@testing-library/dom": "^10.4.1",
"html-react-parser": "^6.1.3",
"img2num": "workspace:*",
"jspdf": "^4.2.1",
"lucide-react": "^1.18.0",
"prop-types": "^15.8.1",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"react-helmet-async": "^3.0.0",
"react-router-dom": "^7.17.0",
"react-tooltip": "^6.0.8"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react-swc": "^4.3.1",
"@vitest/coverage-v8": "^4.1.6",
"editorconfig-checker": "^6.1.1",
"eslint": "^10.5.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.3",
"fuzzy": "^0.1.3",
"globals": "^17.6.0",
"img2num-dev-scripts": "workspace:*",
"jsdom": "^29.1.1",
"rimraf": "^6.1.3",
"standard-version": "^9.5.0",
"vite": "^8.0.16",
"vite-imagetools": "^10.0.1",
"vite-plugin-sitemap": "^0.8.2",
"vite-plugin-svgr": "^5.2.0",
"vitest": "^4.1.6"
}
}