Datei › Speichern writes a .num file: a ZIP (fflate) laid out like OpenDocument -- an uncompressed "mimetype" entry first (application/x-numolus), meta.json (format version, ISO 8601 creation time) and document.json, the same JSON the .json export writes. Opening a .num (file dialog or drag & drop) unpacks it and offers the same replace/append choice as a .json. Non-ZIPs, foreign ZIPs, a missing document.json and a newer format version fail with a clear message. The zip code is loaded on first use, like xlsx, so the main bundle does not grow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 lines
1.0 KiB
JSON
37 lines
1.0 KiB
JSON
{
|
||
"name": "numolus",
|
||
"private": true,
|
||
"version": "1.0.0",
|
||
"type": "module",
|
||
"description": "Browser-Tabellenkalkulation nach dem Vorbild von Apple Numbers – mit selbst geschriebener Formel-Engine.",
|
||
"scripts": {
|
||
"dev": "vite --port 3000",
|
||
"build": "vue-tsc --noEmit && vite build",
|
||
"preview": "vite preview",
|
||
"test": "vitest run",
|
||
"test:watch": "vitest",
|
||
"lint": "eslint . --ext .ts,.vue",
|
||
"format": "prettier --write \"src/**/*.{ts,vue,css}\"",
|
||
"sync": "rsync -aPv dist/* wkh@rails.wicom.li:/home/www/numolus.wicom.li/htdocs/"
|
||
},
|
||
"dependencies": {
|
||
"chart.js": "^4.4.6",
|
||
"fflate": "^0.8.3",
|
||
"vue": "^3.5.13",
|
||
"xlsx": "^0.18.5"
|
||
},
|
||
"devDependencies": {
|
||
"@vitejs/plugin-vue": "^5.2.0",
|
||
"@vue/eslint-config-prettier": "^10.1.0",
|
||
"@vue/eslint-config-typescript": "^14.1.3",
|
||
"eslint": "^9.15.0",
|
||
"eslint-plugin-vue": "^9.31.0",
|
||
"jsdom": "^25.0.1",
|
||
"prettier": "^3.3.3",
|
||
"typescript": "~5.6.3",
|
||
"vite": "^5.4.11",
|
||
"vitest": "^2.1.5",
|
||
"vue-tsc": "^2.1.10"
|
||
}
|
||
}
|