nxtgauge-frontend-solid/package.json
Ashwin Kumar f990b9a9e0 feat: comprehensive testing infrastructure (without workflow pending token scope)
- Add vitest, Playwright, ESLint, Prettier configs
- Add unit tests and e2e accessibility/visual tests
- Add MSW mocks and test setup
- Update scripts and .gitignore
- Install required dev dependencies

Note: GitHub Actions workflow will be added after token scope is granted.
2026-04-08 02:43:29 +02:00

59 lines
1.7 KiB
JSON

{
"name": "nxtgauge-frontend-solid",
"type": "module",
"scripts": {
"dev": "vinxi dev",
"build": "vinxi build",
"start": "vinxi start",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test",
"test:accessibility": "playwright test --config=playwright.a11y.config.ts",
"test:visual": "playwright test --config=playwright.visual.config.ts",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"dependencies": {
"@solidjs/meta": "^0.29.4",
"@solidjs/router": "^0.15.0",
"@solidjs/start": "^1.3.2",
"lucide-solid": "^1.7.0",
"solid-js": "^1.9.5",
"solid-markdown": "^2.1.1",
"vinxi": "^0.5.7"
},
"devDependencies": {
"@axe-core/playwright": "^1.8.0",
"@chromatic-com/storybook": "^5.1.0",
"@playwright/test": "^1.58.2",
"@solidjs/testing-library": "^0.8.0",
"@storybook/addon-a11y": "^10.3.3",
"@storybook/addon-docs": "^10.3.3",
"@storybook/addon-vitest": "^10.3.3",
"@testing-library/jest-dom": "^6.6.3",
"@vitest/browser": "^3.2.4",
"@vitest/coverage-v8": "^3.2.4",
"eslint": "^10.1.0",
"jsdom": "^25.0.1",
"loki": "^0.35.1",
"msw": "^2.7.3",
"@mswjs/data": "^0.16.2",
"pixelmatch": "^7.1.0",
"playwright": "^1.58.2",
"pngjs": "^7.0.0",
"storybook": "^10.3.3",
"storybook-solidjs-vite": "^10.0.11",
"tailwindcss": "^4.2.2",
"visbug": "^0.1.14",
"vitest": "^4.1.1",
"vitest-plugin-solid": "^0.2.0",
"@typescript-eslint/parser": "^7.0.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"eslint-plugin-solid": "^1.8.0",
"prettier": "^3.0.0"
},
"engines": {
"node": ">=20"
}
}