@vue/test-utils and jsdom as dev dependencies, jsdom chosen per file with the vitest environment comment so the existing unit tests stay on node. The dialog's repo.shares is faked; the tests cover offering everyone, sharing with a person and a group, changing and removing a share (and the board's shared flag that follows), a refused share keeping the choice, the load retry, and the single-person instance. #5313. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
30 lines
636 B
JSON
30 lines
636 B
JSON
{
|
|
"name": "inkwell-frontend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc --noEmit && vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"pinia": "^2.2.0",
|
|
"vue": "^3.5.0",
|
|
"vue-router": "^4.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-vue": "^5.1.0",
|
|
"@vue/test-utils": "^2.5.1",
|
|
"autoprefixer": "^10.4.0",
|
|
"jsdom": "^30.1.2",
|
|
"postcss": "^8.4.0",
|
|
"tailwindcss": "^3.4.0",
|
|
"typescript": "~5.5.0",
|
|
"vite": "^5.4.0",
|
|
"vitest": "^3.2.7",
|
|
"vue-tsc": "^2.1.0"
|
|
}
|
|
}
|