-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 3.77 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 loc) · 3.77 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
{
"name": "kartochki",
"private": true,
"type": "module",
"scripts": {
"dev": "tsc && node scripts/copy-assets.mjs && node scripts/generate-config.js && node scripts/dev-server.mjs",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test",
"test:e2e:install": "playwright install chromium",
"test:watch": "vitest",
"sw:generate": "node scripts/generate-sw-files.js",
"vendor:motion": "esbuild node_modules/motion/dist/es/mini.mjs --bundle --format=esm --outfile=js/vendor/motion.mjs",
"vendor:codemirror": "esbuild scripts/codemirror-vendor-entry.mjs --bundle --format=esm --minify --outfile=js/vendor/codemirror.mjs",
"vendor:cap-speech": "esbuild node_modules/@capgo/capacitor-speech-recognition/dist/esm/index.js --bundle --format=esm --outfile=js/vendor/capacitor-speech-recognition.mjs",
"vendor:anki": "node scripts/vendor-anki.mjs",
"ios:prepare": "npm run build && node scripts/generate-config.js && node scripts/prepare-ios-www.js && npm run vendor:cap-speech",
"ios:sync": "npm run ios:prepare && npx cap sync ios && node scripts/patch-ios-plist.js",
"ios:open": "open ios/App/App.xcodeproj",
"db:status": "supabase migration list --linked",
"db:push": "supabase db push --linked",
"db:repair-init": "bash scripts/supabase-repair-init.sh",
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.extension.json",
"i18n:extract": "node scripts/i18n-extract.mjs",
"i18n:check": "node scripts/i18n-extract.mjs --check --dirs=js/screens/home,js/screens/auth,js/screens/review,js/screens/settings,js/screens/stats,js/screens/folder,js/screens/box,js/screens/card-editor,js/screens/notes,js/screens/note,js/lib/study-modes.ts,js/ui/shell.ts,js/ui/navigation.ts,js/ui/home-day-card.ts,js/ui/activity-calendar.ts,js/ui/folder-cards.ts,js/ui/card-face.ts",
"lint": "eslint \"js/**/*.ts\" \"extension/**/*.ts\" \"functions/**/*.js\" \"scripts/**/*.{js,mjs}\" \"tests/**/*.js\"",
"lint:fix": "npm run lint -- --fix",
"format": "prettier \"js/**/*.ts\" --write",
"check:format": "prettier \"js/**/*.ts\" --check",
"precommit": "npm run lint && npm run format",
"prepush": "npm run typecheck && npm run lint && npm run test",
"build": "tsc && node scripts/copy-assets.mjs",
"build:bundle": "tsc && node scripts/bundle.mjs",
"ext:build": "node extension/scripts/build.mjs",
"pages:dev": "npm run build:bundle && wrangler pages dev dist --kv YT_JOBS",
"pages:deploy": "npm run build:bundle && wrangler pages deploy dist"
},
"dependencies": {
"@capacitor/keyboard": "^8.0.5",
"motion": "^12.42.2"
},
"devDependencies": {
"@capacitor/cli": "^8.4.1",
"@capacitor/core": "^8.4.1",
"@capacitor/ios": "^8.4.1",
"@capacitor/status-bar": "^8.0.2",
"@capgo/capacitor-speech-recognition": "^8.1.10",
"@codemirror/autocomplete": "^6.20.3",
"@codemirror/commands": "^6.10.4",
"@codemirror/lang-markdown": "^6.5.1",
"@codemirror/language": "^6.12.4",
"@codemirror/search": "^6.7.1",
"@codemirror/state": "^6.7.1",
"@codemirror/view": "^6.43.7",
"@eslint/js": "^10.0.1",
"@lezer/highlight": "^1.2.3",
"@lezer/markdown": "^1.7.2",
"@playwright/test": "^1.54.2",
"@types/chrome": "^0.2.2",
"@types/node": "^26.1.1",
"@typescript-eslint/eslint-plugin": "^8.64.0",
"@typescript-eslint/parser": "^8.64.0",
"@vitest/coverage-v8": "^3.2.4",
"axe-core": "^4.12.1",
"esbuild": "^0.28.1",
"eslint": "^10.7.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.6",
"fflate": "^0.8.3",
"happy-dom": "^20.10.6",
"prettier": "^3.9.5",
"sql.js": "^1.14.1",
"ts-fsrs": "^5.4.1",
"typescript": "^6.0.3",
"vitest": "^3.2.4",
"wrangler": "^4.113.0"
}
}