-
-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 2.03 KB
/
package.json
File metadata and controls
56 lines (56 loc) · 2.03 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
{
"name": "kancollewidget",
"private": true,
"version": "4.8.2",
"type": "module",
"engines": {
"node": "v22.20.0",
"pnpm": ">=10.18.0"
},
"scripts": {
"test": "vitest",
"test:ui": "vitest --ui",
"start": "tsc && pnpm run copy-tesseract && vite build --mode=development --watch",
"build": "tsc && pnpm run copy-tesseract && vite build --mode=production",
"copy-tesseract": "cp node_modules/tesseract.js/dist/worker.min.js src/public/tessworker.min.js && rm -rf src/public/tessdata-* && cp -r node_modules/@tesseract.js-data/eng/4.0.0_best_int src/public/tessdata-4.0.0_best_int",
"remove-remote-code": "sed -i.bak 's#\"https://cdn.jsdelivr.net/[^\"]*\"#\"FILTERED_BY_KCWIDGET\"#g' dist/tessworker.min.js && sed -i.bak 's#`https://cdn.jsdelivr.net/[^`]*`#`FILTERED_BY_KCWIDGET`#g' dist/dmm.js && rm dist/*.bak",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@heroicons/react": "2.1.5",
"@tesseract.js-data/eng": "1.0.0",
"chromite": "^0.3.3",
"jstorm": "^0.17.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.17.0",
"tesseract.js": "^5.1.1"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/chrome": "^0.1.27",
"@types/node": "^20.8.7",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-react-swc": "^3.3.2",
"@vitest/coverage-v8": "^2.0.5",
"autoprefixer": "^10.4.20",
"dotenv": "^17.2.3",
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"jsdom": "^27.1.0",
"postcss": "^8.4.41",
"sass": "^1.77.8",
"tailwindcss": "^3.4.10",
"tsx": "^4.20.6",
"typescript": "^5.0.2",
"vite": "^4.4.5",
"vitest": "^2.0.5"
}
}