Files
echoes-of-the-ash/pwa/package.json

98 lines
2.9 KiB
JSON

{
"name": "echoes-of-the-ashes-pwa",
"private": true,
"version": "1.0.0",
"description": "Echoes of the Ash - A dark fantasy RPG adventure",
"author": {
"name": "Echoes of the Ash Team",
"email": "contact@echoesoftheash.com"
},
"homepage": "https://echoesoftheash.com",
"type": "module",
"main": "electron/main.cjs",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"copy-assets": "rm -rf ./public/images && cp -r ../images ./public/",
"electron:dev": "concurrently \"npm run dev\" \"wait-on http://localhost:5173 && electron .\"",
"electron:build": "npm run copy-assets && npm run build && electron-builder",
"electron:build:win": "npm run copy-assets && npm run build && electron-builder --win",
"electron:build:linux": "npm run copy-assets && npm run build && electron-builder --linux",
"electron:build:mac": "npm run copy-assets && npm run build && electron-builder --mac"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.20.0",
"axios": "^1.6.2",
"zustand": "^4.4.7",
"twemoji": "^14.0.2",
"i18next": "^23.7.0",
"react-i18next": "^14.0.0",
"i18next-browser-languagedetector": "^7.2.0"
},
"devDependencies": {
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@types/twemoji": "^13.1.0",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.55.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"typescript": "^5.2.2",
"vite": "^5.0.8",
"vite-plugin-pwa": "^0.17.4",
"workbox-window": "^7.0.0",
"electron": "^28.0.0",
"electron-builder": "^24.9.1",
"concurrently": "^8.2.2",
"wait-on": "^7.2.0",
"steamworks.js": "^0.3.0"
},
"build": {
"appId": "com.echoesoftheash.game",
"productName": "Echoes of the Ash",
"afterPack": "./electron/afterPack.cjs",
"directories": {
"output": "dist-electron"
},
"files": [
"dist/**/*",
"electron/**/*",
"public/steam_appid.txt"
],
"extraResources": [
{
"from": "node_modules/steamworks.js/lib",
"to": "steamworks",
"filter": [
"**/*"
]
}
],
"win": {
"target": [
"nsis",
"portable"
],
"icon": "electron/icons/icon.png"
},
"linux": {
"target": [
"AppImage",
"deb"
],
"category": "Game",
"icon": "electron/icons/icon.png",
"maintainer": "Echoes of the Ash Team <contact@echoesoftheash.com>"
},
"mac": {
"category": "public.app-category.games",
"icon": "electron/icons/icon.png"
}
}
}