Files
nimbus/package.json
Mazen Touati 8780a79557 feat: persist UI state (#32)
* feat: persist UI state

* test: fix var declaration

* test: increate e2e timeout

sometimes there might be a network latency to load CDN assets like the fonts. Let's give the tests a maximum of 1 minute to fully run.
2026-01-11 01:32:57 +01:00

86 lines
3.4 KiB
JSON

{
"private": true,
"type": "module",
"scripts": {
"style:check": "eslint --config tools/eslint/.eslintrc.cjs --ignore-path tools/eslint/.eslintignore resources/js --ext .js,.ts,.vue",
"style:fix": "npm run style:check -- --fix",
"type:check": "vue-tsc --noEmit --project ./resources/tsconfig.json",
"vite": "vite --config vite.config.js",
"build": "npm run type:check && npm run vite -- build && cp -a ./resources/dist-static/. ./resources/dist",
"build:dev": "npm run vite -- build --mode=development && cp -a ./resources/dist-static/. ./resources/dist",
"dev": "npm run vite -- dev",
"test": "vitest --config resources/js/tests/vitest.config.js",
"test:ui": "npm run test -- --ui",
"test:run": "npm run test -- run",
"test:coverage": "npm run test:run --coverage",
"test:watch": "npm run test -- --watch",
"test:snapshot": "npm run test:run --reporter=verbose --update",
"test:e2e": "npx playwright test -c ./tests/E2E/playwright.config.ts",
"test:e2e:ui": "npm run test:e2e -- --ui"
},
"devDependencies": {
"@playwright/test": "^1.56.1",
"@rushstack/eslint-patch": "^1.8.0",
"@tailwindcss/postcss": "^4.0.6",
"@tailwindcss/vite": "^4.1.13",
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/user-event": "^14.6.1",
"@testing-library/vue": "^8.1.0",
"@types/node": "^22.13.5",
"@typescript-eslint/eslint-plugin": "^8.43.0",
"@typescript-eslint/parser": "^8.43.0",
"@vitejs/plugin-vue": "^5.2.1",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/test-utils": "^2.4.6",
"@vueuse/core": "^12.8.2",
"axios": "^1.8.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-vue": "^9.23.0",
"jsdom": "^27.0.0",
"laravel-vite-plugin": "^1.2.0",
"lucide-vue-next": "^0.475.0",
"prettier": "^3.3.0",
"prettier-plugin-organize-imports": "^4.0.0",
"prettier-plugin-tailwindcss": "^0.6.11",
"radix-vue": "^1.9.14",
"tailwind-merge": "^3.3.1",
"tailwindcss": "^4.1.13",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.6.3",
"vite": "^6.1.0",
"vitest": "^3.2.4",
"vue": "^3.4.0",
"vue-eslint-parser": "^10.2.0",
"vue-router": "^4.2.5",
"vue-tsc": "^2.0.24"
},
"dependencies": {
"@codemirror/lang-json": "^6.0.1",
"@codemirror/lint": "^6.8.4",
"@faker-js/faker": "^9.6.0",
"@pinia/testing": "^1.0.2",
"@types/json-schema": "^7.0.15",
"codemirror": "^6.0.1",
"codemirror-json-schema": "^0.8.0",
"concurrently": "^9.2.1",
"jsonc-parser": "^3.3.1",
"pinia": "^3.0.1",
"pinia-plugin-persistedstate": "^4.7.1",
"pretty-bytes": "^7.0.1",
"pretty-ms": "^9.3.0",
"reka-ui": "^2.5.0",
"tw-animate-css": "^1.3.8",
"vee-validate": "^4.15.0",
"vue-codemirror": "^6.1.1",
"vue-sonner": "^2.0.8"
}
}