Files
Toju/package.json
2025-12-28 08:23:30 +01:00

122 lines
4.0 KiB
JSON

{
"name": "metoyou",
"version": "1.0.0",
"description": "P2P Discord-like chat application",
"main": "electron/main.js",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"build:all": "npm run build && cd server && npm run build",
"build:prod": "ng build --configuration production --base-href='./'",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"server:build": "cd server && npm run build",
"server:start": "cd server && npm start",
"server:dev": "cd server && npm run dev",
"electron": "ng build && electron .",
"electron:dev": "concurrently \"ng serve\" \"wait-on http://localhost:4200 && cross-env NODE_ENV=development electron .\"",
"electron:full": "concurrently --kill-others \"cd server && npm start\" \"ng serve\" \"wait-on http://localhost:4200 http://localhost:3001/api/health && cross-env NODE_ENV=development electron .\"",
"electron:full:build": "npm run build:all && concurrently --kill-others \"cd server && npm start\" \"cross-env NODE_ENV=production electron .\"",
"electron:build": "npm run build:prod && electron-builder",
"electron:build:win": "npm run build:prod && electron-builder --win",
"electron:build:mac": "npm run build:prod && electron-builder --mac",
"electron:build:linux": "npm run build:prod && electron-builder --linux",
"electron:build:all": "npm run build:prod && electron-builder --win --mac --linux",
"build:prod:all": "npm run build:prod && cd server && npm run build",
"build:prod:win": "npm run build:prod:all && electron-builder --win",
"dev": "npm run electron:full"
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"overrides": [
{
"files": "*.html",
"options": {
"parser": "angular"
}
}
]
},
"private": true,
"packageManager": "npm@10.9.2",
"dependencies": {
"@angular/common": "^21.0.0",
"@angular/compiler": "^21.0.0",
"@angular/core": "^21.0.0",
"@angular/forms": "^21.0.0",
"@angular/platform-browser": "^21.0.0",
"@angular/router": "^21.0.0",
"@ng-icons/core": "^33.0.0",
"@ng-icons/lucide": "^33.0.0",
"@ngrx/effects": "^21.0.1",
"@ngrx/entity": "^21.0.1",
"@ngrx/store": "^21.0.1",
"@ngrx/store-devtools": "^21.0.1",
"@spartan-ng/brain": "^0.0.1-alpha.589",
"@spartan-ng/cli": "^0.0.1-alpha.589",
"@spartan-ng/ui-core": "^0.0.1-alpha.380",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"rxjs": "~7.8.0",
"simple-peer": "^9.11.1",
"sql.js": "^1.13.0",
"tslib": "^2.3.0",
"uuid": "^13.0.0"
},
"devDependencies": {
"@angular/build": "^21.0.4",
"@angular/cli": "^21.0.4",
"@angular/compiler-cli": "^21.0.0",
"@types/simple-peer": "^9.11.9",
"@types/uuid": "^10.0.0",
"autoprefixer": "^10.4.23",
"concurrently": "^8.2.2",
"cross-env": "^10.1.0",
"electron": "^39.2.7",
"electron-builder": "^26.0.12",
"postcss": "^8.5.6",
"tailwindcss": "^3.4.19",
"typescript": "~5.9.2",
"wait-on": "^7.2.0"
},
"build": {
"appId": "com.metoyou.app",
"productName": "MetoYou",
"directories": {
"output": "dist-electron"
},
"files": [
"dist/client/**/*",
"electron/**/*",
"node_modules/**/*",
"!node_modules/**/test/**/*",
"!node_modules/**/tests/**/*",
"!node_modules/**/*.d.ts",
"!node_modules/**/*.map"
],
"nodeGypRebuild": false,
"buildDependenciesFromSource": false,
"npmRebuild": false,
"mac": {
"category": "public.app-category.social-networking",
"target": "dmg"
},
"win": {
"target": "nsis",
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"linux": {
"target": ["AppImage", "deb"],
"category": "Network;Chat",
"executableName": "metoyou",
"executableArgs": ["--no-sandbox"]
}
}
}