Fantasy-Map-Generator/package.json
Marc Emmanuel 93e7b9d3dd feat: add Playwright for end-to-end testing and update snapshots
- Introduced Playwright for E2E testing with a new configuration file.
- Added test scripts to package.json for running E2E tests.
- Updated package-lock.json and package.json with new dependencies for Playwright and types.
- Created new SVG snapshot files for various layers (ruler, scaleBar, temperature, terrain, vignette, zones) to support visual testing.
- Excluded e2e directory from TypeScript compilation.
2026-01-23 11:22:27 +01:00

46 lines
1.3 KiB
JSON

{
"name": "fantasy-map-generator",
"version": "1.110.0",
"description": "Azgaar's _Fantasy Map Generator_ is a free web application that helps fantasy writers, game masters, and cartographers create and edit fantasy maps.",
"homepage": "https://github.com/Azgaar/Fantasy-Map-Generator#readme",
"bugs": {
"url": "https://github.com/Azgaar/Fantasy-Map-Generator/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Azgaar/Fantasy-Map-Generator.git"
},
"license": "MIT",
"author": "Azgaar",
"main": "main.js",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"test": "vitest",
"test:browser": "vitest --config=vitest.browser.config.ts",
"test:e2e": "playwright test"
},
"devDependencies": {
"@playwright/test": "^1.57.0",
"@types/d3": "^7.4.3",
"@types/delaunator": "^5.0.3",
"@types/node": "^25.0.10",
"@types/polylabel": "^1.1.3",
"@vitest/browser": "^4.0.18",
"@vitest/browser-playwright": "^4.0.18",
"playwright": "^1.57.0",
"typescript": "^5.9.3",
"vite": "^7.3.1",
"vitest": "^4.0.18"
},
"dependencies": {
"alea": "^1.0.1",
"d3": "^7.9.0",
"delaunator": "^5.0.1",
"polylabel": "^2.0.1"
},
"engines": {
"node": ">=24.0.0"
}
}