-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
153 lines (153 loc) · 4.75 KB
/
Copy pathpackage.json
File metadata and controls
153 lines (153 loc) · 4.75 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
149
150
151
152
153
{
"name": "strata",
"private": true,
"version": "0.9.3",
"license": "MIT",
"description": "Strata - local-first minimalist markdown notes app",
"engines": {
"node": ">=22"
},
"type": "module",
"main": "dist/main/main.js",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"backup:notes": "./scripts/backup-notes.sh",
"notes:api": "tsx app/cli/index.ts server",
"paperclip:bridge": "node scripts/strata-paperclip-bridge.mjs",
"strata": "tsx app/cli/index.ts",
"strata:ai": "tsx app/cli/index.ts ai",
"strata:notes": "tsx app/cli/index.ts notes",
"strata:ai:legacy": "node scripts/strata-ai.mjs",
"clean:release": "rm -rf release",
"dist": "npm run clean:release && npm run build && electron-rebuild -f -w better-sqlite3 && electron-builder --publish never",
"release": "node scripts/release.mjs",
"test": "vitest run",
"test:watch": "vitest",
"format": "prettier --write .",
"lint": "eslint .",
"preview": "vite preview",
"format:check": "prettier --check app scripts package.json package-lock.json \"tsconfig*.json\" vite.config.ts vitest.config.ts",
"format:source": "prettier --write app scripts package.json package-lock.json \"tsconfig*.json\" vite.config.ts vitest.config.ts",
"verify": "npm run format:check && npm run lint && npm test && npm run build",
"benchmark": "tsx --tsconfig tsconfig.app.json scripts/benchmark.ts",
"benchmark:related": "tsx --tsconfig tsconfig.app.json scripts/benchmark-related.ts",
"package:verify": "node scripts/package-verify.mjs",
"package:electron:verify": "npm run build && node scripts/electron-package-verify.mjs",
"desktop:verify": "npm run build && node scripts/desktop-verify.mjs",
"benchmark:payloads": "tsx --tsconfig tsconfig.app.json scripts/benchmark-payloads.ts",
"benchmark:controlled": "node --expose-gc scripts/benchmark-controlled.mjs",
"benchmark:renderer": "node scripts/benchmark-renderer.mjs",
"benchmark:check": "node scripts/check-performance.mjs",
"eval:routing": "node scripts/evaluate-routing.mjs"
},
"dependencies": {
"@codemirror/lang-markdown": "^6.5.0",
"@codemirror/state": "^6.5.4",
"@codemirror/view": "^6.39.14",
"@uiw/react-codemirror": "^4.25.4",
"better-sqlite3": "^13.0.3",
"commander": "^14.0.3",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-markdown": "^10.1.0",
"remark-gfm": "^4.0.1",
"tsx": "^4.22.3",
"turndown": "^7.2.2",
"uuid": "^14.0.0",
"zod": "^4.3.6",
"zustand": "^5.0.11"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@playwright/test": "^1.63.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^24.10.1",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@types/turndown": "^5.0.6",
"@types/uuid": "^10.0.0",
"@vitejs/plugin-react": "^5.1.1",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"electron": "^41.10.3",
"electron-builder": "^26.15.7",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.24",
"globals": "^16.5.0",
"jsdom": "^27.0.1",
"png-to-ico": "^3.0.1",
"prettier": "^3.8.1",
"typescript": "~5.9.3",
"typescript-eslint": "^8.48.0",
"vite": "^7.3.2",
"vite-plugin-electron": "^0.29.0",
"vite-plugin-electron-renderer": "^0.14.6",
"vitest": "^4.1.11",
"wait-on": "^9.0.4"
},
"build": {
"appId": "com.strata.notes",
"productName": "Strata",
"afterPack": "scripts/after-pack.cjs",
"icon": "build/icons/icon.png",
"directories": {
"output": "release"
},
"files": [
"dist/main/**/*",
"dist/preload/**/*",
"dist/renderer/**/*",
"package.json"
],
"asarUnpack": [
"node_modules/better-sqlite3/**"
],
"mac": {
"icon": "build/icons/icon.icns",
"target": "dmg"
},
"win": {
"icon": "build/icons/icon.ico",
"target": "nsis"
},
"linux": {
"icon": "build/icons/icon.png",
"target": "AppImage"
}
},
"overrides": {
"tmp": "0.2.7",
"postcss": "8.5.23",
"axios": "1.18.1",
"brace-expansion": "5.0.9",
"nanoid": "3.3.18",
"minimatch": "10.2.5",
"@xmldom/xmldom": "0.8.15",
"follow-redirects": "1.16.0",
"lodash": "4.18.1",
"picomatch": "4.0.4",
"flatted": "3.4.2",
"ws": "8.21.0",
"esbuild": "0.28.1"
},
"bin": {
"strata": "scripts/strata.mjs"
},
"files": [
"app/cli",
"app/shared",
"app/main",
"app/standalone",
"scripts/strata.mjs",
"LICENSE",
"docs/CLI.md",
"CLI.md",
"API.md",
"SECURITY.md"
]
}