package.json.security-backup•3.05 kB
{
"name": "interrogation-game",
"version": "1.0.0",
"description": "取調室ライフバトルゲーム - Strategic Chat Battle Game with AI Suspect",
"main": "public/electron.js",
"homepage": "./",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"typecheck": "tsc --noEmit",
"lint": "eslint src --ext ts,tsx --fix",
"lint:check": "eslint src --ext ts,tsx",
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx}\"",
"test": "vitest",
"test:coverage": "vitest --coverage",
"test:ui": "vitest --ui",
"security": "npm audit && npm audit fix",
"build:analyze": "npm run build && npx webpack-bundle-analyzer dist/assets/*.js",
"clean": "rm -rf dist node_modules/.cache",
"pre-commit": "npm run lint:check && npm run typecheck && npm run test && npm run security",
"electron": "electron .",
"electron-dev": "cross-env ELECTRON_IS_DEV=true electron .",
"electron-build": "npm run build && electron-builder --win --publish=never",
"dist": "npm run build && electron-builder --win",
"dist:win": "npm run build && electron-builder --win --x64"
},
"dependencies": {
"axios": "^1.6.2",
"framer-motion": "^10.16.16",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"zustand": "^4.4.7"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.1",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^1.1.0",
"@vitest/ui": "^1.1.0",
"autoprefixer": "^10.4.16",
"cross-env": "^7.0.3",
"electron": "^36.3.2",
"electron-builder": "^26.0.12",
"electron-is-dev": "^3.0.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-security": "^1.7.1",
"jsdom": "^23.0.1",
"postcss": "^8.4.32",
"prettier": "^3.1.1",
"tailwindcss": "^3.4.0",
"typescript": "^5.3.3",
"vite": "^5.0.10",
"vitest": "^1.1.0",
"webpack-bundle-analyzer": "^4.10.1"
},
"engines": {
"node": ">=16.0.0"
},
"build": {
"appId": "com.interrogationgame.app",
"productName": "Interrogation Game",
"directories": {
"output": "release"
},
"files": [
"build/**/*",
"node_modules/**/*",
"public/electron.js"
],
"win": {
"target": [
{
"target": "nsis",
"arch": ["x64"]
}
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Interrogation Game"
}
}
}