This project is designed to help developers understand and mitigate code injection and XSS vulnerabilities. It includes a backend API and a frontend interface for testing various attack vectors in a controlled environment.
51 lines
1.5 KiB
JSON
51 lines
1.5 KiB
JSON
{
|
|
"name": "frontend",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"pretty-quick": "pretty-quick",
|
|
"lint:prettier": "npx ts-node scripts/check-format.ts",
|
|
"prettier": "prettier --write . --config .prettierrc",
|
|
"prettier:commit": "npx ts-node scripts/prettier-commit.ts"
|
|
},
|
|
"dependencies": {
|
|
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
"@commitlint/cli": "^20.4.0",
|
|
"@commitlint/config-conventional": "^20.4.0",
|
|
"@originjs/vite-plugin-federation": "^1.4.1",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/jest": "^30.0.0",
|
|
"antd": "^6.2.2",
|
|
"dotenv": "^17.2.3",
|
|
"ora": "^9.1.0",
|
|
"prettier": "^3.8.1",
|
|
"pretty-quick": "^4.2.2",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4",
|
|
"react-router-dom": "^7.13.0",
|
|
"sass": "^1.97.3",
|
|
"web-vitals": "^5.1.0",
|
|
"zustand": "^5.0.11"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.1",
|
|
"@types/node": "^24.10.9",
|
|
"@types/react": "^19.2.10",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^5.1.2",
|
|
"eslint": "^9.39.1",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
"globals": "^16.5.0",
|
|
"typescript": "~5.9.3",
|
|
"typescript-eslint": "^8.46.4",
|
|
"vite": "^7.3.1"
|
|
}
|
|
}
|