71 lines
2.4 KiB
JSON
71 lines
2.4 KiB
JSON
{
|
|
"name": "svg-layout-designer-react",
|
|
"private": true,
|
|
"version": "v2.0.0",
|
|
"type": "module",
|
|
"postinstall": "npx patch-package",
|
|
"scripts": {
|
|
"d": "mprocs",
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"build:dotnet": "dotnet build ./csharp/SVGLDLibs/SVGLDLibs/SVGLDLibs.csproj",
|
|
"linter": "eslint src",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"test:nowatch": "vitest run",
|
|
"test:full": "(node ./test-server/http.js &) && (dotnet run --project=./csharp/SVGLDLibs/SVGLDWebAPI/SVGLDWebAPI.csproj &) && sleep 3 && vitest ; pkill dotnet ; pkill node",
|
|
"test:full:nowatch": "(node ./test-server/http.js &) && (dotnet run --project=./csharp/SVGLDLibs/SVGLDWebAPI/SVGLDWebAPI.csproj &) && sleep 3 && vitest run ; pkill dotnet ; pkill node",
|
|
"coverage": "vitest run coverage"
|
|
},
|
|
"dependencies": {
|
|
"@heroicons/react": "^2.0.14",
|
|
"@react-hook/size": "^2.1.2",
|
|
"interweave": "^13.0.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-svg-pan-zoom": "^3.12.1",
|
|
"react-window": "^1.8.8",
|
|
"sweetalert2": "^11.7.1",
|
|
"sweetalert2-react-content": "^5.0.7",
|
|
"transformation-matrix": "^2.14.0"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/dom": "^8.20.0",
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
"@testing-library/react": "^13.4.0",
|
|
"@testing-library/user-event": "^14.4.3",
|
|
"@types/react": "^18.0.27",
|
|
"@types/react-dom": "^18.0.10",
|
|
"@types/react-svg-pan-zoom": "^3.3.5",
|
|
"@types/react-window": "^1.8.5",
|
|
"@typescript-eslint/eslint-plugin": "^5.51.0",
|
|
"@typescript-eslint/parser": "^5.51.0",
|
|
"@vitejs/plugin-react": "^3.1.0",
|
|
"@vitejs/plugin-react-swc": "^3.1.0",
|
|
"@vitest/ui": "^0.28.4",
|
|
"autoprefixer": "^10.4.13",
|
|
"eslint": "^8.33.0",
|
|
"eslint-config-standard": "^17.0.0",
|
|
"eslint-config-standard-with-typescript": "^34.0.0",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"eslint-plugin-n": "^15.6.1",
|
|
"eslint-plugin-only-warn": "^1.1.0",
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
"eslint-plugin-react": "^7.32.2",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"jsdom": "^21.1.0",
|
|
"mprocs": "^0.6.4",
|
|
"nodemon": "^2.0.20",
|
|
"postcss": "^8.4.21",
|
|
"sass": "^1.58.0",
|
|
"tailwindcss": "^3.2.4",
|
|
"typescript": "^4.9.5",
|
|
"vite": "^4.1.1",
|
|
"vitest": "^0.28.4"
|
|
},
|
|
"pnpm": {
|
|
"patchedDependencies": {
|
|
"@types/react-svg-pan-zoom@3.3.5": "patches/@types__react-svg-pan-zoom@3.3.5.patch"
|
|
}
|
|
}
|
|
}
|