enso/app/ide-desktop/lib/client/package.json
Paweł Buchowski 998d5999a3
Cognito auth 1/2 - extracted electron logic (#5793)
Provides functionality necessary for:
- opening URLs in the system browser (so that we can handle OAuth flows outside of the app)
- handling deep links to the application (so that the OAuth flows can return the user to the app)

### Important Notes

- Modifies `preload.ts` to expose the ability to open the system browser to the sandboxed parts of the app.
- Modifies `election-builder-config.ts` to register a deep link URL protocol scheme with the OS.
- Modifies the client's `index.ts` to register a handler for Electron `open-url` events
2023-03-09 16:02:28 +01:00

52 lines
1.3 KiB
JSON

{
"version": "0.0.0-dev",
"type": "module",
"author": {
"name": "Enso Team",
"email": "contact@enso.org"
},
"homepage": "https://github.com/enso-org/ide",
"repository": {
"type": "git",
"url": "git@github.com:enso-org/ide.git"
},
"bugs": {
"url": "https://github.com/enso-org/ide/issues"
},
"name": "enso",
"description": "Enso Data Processing Environment.",
"main": "index.cjs",
"dependencies": {
"@types/mime-types": "^2.1.1",
"@types/opener": "^1.4.0",
"chalk": "^5.2.0",
"create-servers": "^3.2.0",
"electron-is-dev": "^2.0.0",
"enso-gui-server": "^1.0.0",
"mime-types": "^2.1.35",
"string-length": "^5.0.1",
"yargs": "17.6.2"
},
"comments": {
"electron-builder": "We cannot update it to never version because of NSIS installer issue: https://github.com/enso-org/enso/issues/5169"
},
"devDependencies": {
"crypto-js": "4.1.1",
"electron": "23.0.0",
"electron-builder": "^22.14.13",
"electron-notarize": "1.2.2",
"enso-copy-plugin": "^1.0.0",
"esbuild": "^0.15.14",
"fast-glob": "^3.2.12",
"ts-node": "^10.9.1"
},
"scripts": {
"typecheck": "npx tsc --noEmit",
"lint": "npx --yes eslint src",
"start": "ts-node start.ts",
"build": "ts-node bundle.ts",
"dist": "ts-node dist.ts",
"watch": "ts-node watch.ts"
}
}