package.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "lightcord",
  3. "version": "0.1.2",
  4. "description": "",
  5. "main": "dist/index.js",
  6. "scripts": {
  7. "compile": "node compile.js",
  8. "test": "npm run compile && electron .",
  9. "run": "electron .",
  10. "build": "npm run build:minify && npm run build:electron && npm run build:after",
  11. "build:electron": "npm run build:electron_win && npm run build:electron_linux",
  12. "build:electron_win": "electron-packager ./distApp --ignore=\"(distApp|builds|\\.ts|\\.so\\.4)\" --arch=ia32 --win32metadata.ProductName=\"Lightcord\" --win32metadata.CompanyName=\"Lightcord\" --protocol=discord --platform=\"win32\" --out=builds --icon=app.ico --executable-name=\"Lightcord\" --asar.unpack=*.{node,dll} --overwrite",
  13. "build:electron_linux": "electron-packager ./distApp --ignore=\"(distApp|builds|\\.ts|\\.dll)\" --arch=x64 --protocol=discord --platform=\"linux\" --out=builds --icon=app.ico --executable-name=\"Lightcord\" --asar.unpack=*.{node,so.4} --overwrite",
  14. "build:minify": "node build.js",
  15. "build:after": "node afterbuild.js",
  16. "devInstall": "npm i -g --arch=ia32 electron@8.4.0 && npm i -g typescript && npm i --save-dev @types/node@12.12.39 && npm i --save-dev --arch=ia32 electron@8.4.0 && node installSubModules.js && echo \"Everything is installed. You should be able to do `npm run test` to compile everything and launch.\"",
  17. "devInstall:64": "npm i -g --arch=x64 electron@8.4.0 && npm i -g typescript && npm i --save-dev @types/node@12.12.39 && npm i --save-dev --arch=x64 electron@8.4.0 && node installSubModules.js && echo \"Everything is installed. You should be able to do `npm run test` to compile everything and launch.\""
  18. },
  19. "author": "",
  20. "license": "ISC",
  21. "dependencies": {
  22. "auto-launch": "^5.0.5",
  23. "custom-electron-titlebar": "^3.2.2-hotfix62",
  24. "glasstron": "0.0.3",
  25. "mkdirp": "^1.0.4",
  26. "node-fetch": "^2.6.0",
  27. "request": "^2.88.2",
  28. "rimraf": "^3.0.2",
  29. "tmp": "^0.2.1",
  30. "yauzl": "^2.10.0"
  31. },
  32. "private": true,
  33. "devDependencies": {
  34. "@types/auto-launch": "^5.0.1",
  35. "@types/electron-devtools-installer": "^2.2.0",
  36. "@types/mkdirp": "^1.0.0",
  37. "@types/node": "^12.12.39",
  38. "@types/rimraf": "^3.0.0",
  39. "@types/uuid": "^8.0.0",
  40. "@types/yauzl": "^2.9.1",
  41. "cross-spawn": "^7.0.3",
  42. "electron": "^8.4.0",
  43. "react": "^16.13.1",
  44. "react-dom": "^16.13.1",
  45. "terser": "^4.7.0",
  46. "yazl": "^2.5.1"
  47. }
  48. }