- Delete old Vite+Svelte frontend - Initialize new SvelteKit project with TypeScript - Configure Tailwind CSS v4 + DaisyUI - Implement JWT authentication with auto-refresh - Create login page with form validation (Zod) - Add protected route guards - Update Docker configuration for single-stage build - Add E2E tests with Playwright (6/11 passing) - Fix Svelte 5 reactivity with $state() runes Known issues: - 5 E2E tests failing (timing/async issues) - Token refresh implementation needs debugging - Validation error display timing
93 lines
2.6 KiB
JSON
93 lines
2.6 KiB
JSON
{
|
|
"name": "happy-dom",
|
|
"version": "17.6.3",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/capricorn86/happy-dom",
|
|
"repository": "https://github.com/capricorn86/happy-dom",
|
|
"author": "David Ortner",
|
|
"description": "Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.",
|
|
"main": "lib/index.js",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./lib/index.js",
|
|
"require": "./cjs/index.cjs",
|
|
"default": "./lib/index.js"
|
|
},
|
|
"./lib/*.js": {
|
|
"import": "./lib/*.js",
|
|
"require": "./cjs/*.cjs",
|
|
"default": "./lib/*.js"
|
|
},
|
|
"./lib/*.ts": {
|
|
"import": "./lib/*.ts",
|
|
"require": "./cjs/*.ts",
|
|
"default": "./lib/*.ts"
|
|
},
|
|
"./lib/*.map": {
|
|
"import": "./lib/*.map",
|
|
"require": "./cjs/*.map",
|
|
"default": "./lib/*.map"
|
|
},
|
|
"./cjs/*.cjs": {
|
|
"import": "./cjs/*.cjs",
|
|
"require": "./cjs/*.cjs",
|
|
"default": "./cjs/*.cjs"
|
|
},
|
|
"./cjs/*.ts": {
|
|
"import": "./cjs/*.ts",
|
|
"require": "./cjs/*.ts",
|
|
"default": "./cjs/*.ts"
|
|
},
|
|
"./cjs/*.map": {
|
|
"import": "./cjs/*.map",
|
|
"require": "./cjs/*.map",
|
|
"default": "./cjs/*.map"
|
|
},
|
|
"./src/*.ts": "./src/*.ts",
|
|
"./package.json": "./package.json",
|
|
"./.eslintrc.cjs": "./.eslintrc.cjs",
|
|
"./.prettierrc.cjs": "./.prettierrc.cjs"
|
|
},
|
|
"keywords": [
|
|
"jsdom",
|
|
"dom",
|
|
"browser",
|
|
"custom",
|
|
"elements",
|
|
"web",
|
|
"components",
|
|
"html",
|
|
"whatwg",
|
|
"w3c"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"compile": "npm run compile:esm && npm run compile:cjs npm run build-version-file",
|
|
"compile:esm": "tsc",
|
|
"compile:cjs": "node -e \"fs.rmSync('./cjs', { recursive: true, force: true })\" && tsc --moduleResolution Node --module CommonJS --outDir cjs && npm run compile:change-cjs-file-extension",
|
|
"compile:change-cjs-file-extension": "node ./bin/change-file-extension.cjs --dir=./cjs --fromExt=.js --toExt=.cjs",
|
|
"build-version-file": "node ./bin/build-version-file.cjs",
|
|
"watch": "tsc -w --preserveWatchOutput",
|
|
"test": "vitest run",
|
|
"test:ui": "vitest --ui",
|
|
"test:watch": "vitest",
|
|
"test:debug": "vitest run --inspect-brk --no-file-parallelism"
|
|
},
|
|
"dependencies": {
|
|
"webidl-conversions": "^7.0.0",
|
|
"whatwg-mimetype": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"@vitest/ui": "^2.1.4",
|
|
"@webref/css": "6.6.2",
|
|
"typescript": "^5.8.3",
|
|
"vitest": "^2.1.9"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
}
|
|
} |