-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f857fc5
commit 31189d9
Showing
4 changed files
with
108 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1 @@ | ||
{ | ||
"name": "@deep-foundation/perception-app", | ||
"version": "0.0.20", | ||
"description": "Your second memory.", | ||
"homepage": "https://deep.foundation/", | ||
"author": { | ||
"name": "Deep Foundation", | ||
"email": "[email protected]" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/deep-foundation/deepmemo-app" | ||
}, | ||
"license": "MIT", | ||
"main": "build/src/index.js", | ||
"scripts": { | ||
"build": "rimraf ./build/src && tsc", | ||
"test": "jest", | ||
"electron:start-live": "node ./live-runner.js", | ||
"electron:start": "npm run build && electron --inspect=5858 ./", | ||
"electron:debug": "APP_DEV=true electron .", | ||
"electron:pack": "npm run build && node patch-electron-builder.cjs && electron-builder --publish never -c ./electron-builder.config.js", | ||
"electron:pack-demo": "npm run build && node patch-electron-builder.cjs && CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --publish never -c ./electron-builder.config.demo.js", | ||
"electron:sign": "npm run electron:sign-prod && npm run electron:sign-dev", | ||
"electron:sign-prod": "electron-osx-sign dist/mas/sdk.app --entitlements=./entitlements.mas.plist --entitlements-inherit=./entitlements.mas.inherit.plist --identity='Developer ID Application: Deep Foundation (XXXXXXXXXX)' --platform=mas --type=distribution --provisioning-profile=developer-id-sdk.provisionprofile", | ||
"electron:sign-dev": "electron-osx-sign dist/mas-dev/sdk.app --identity='Developer ID Application: Deep Foundation (XXXXXXXXXX)' --platform=mas --type=development --entitlements=./entitlements.mas.plist --entitlements-inherit=./entitlements.mas.inherit.plist --provisioning-profile=./sdkdevelopment.provisionprofile", | ||
"electron:notarize": "node notarize.cjs", | ||
"electron:make": "npm run build && electron-builder build --config ./electron-builder.config.js", | ||
"electron:make-and-publish": "npm run build && electron-builder build --config ./electron-builder.config.js --publish always" | ||
}, | ||
"dependencies": { | ||
"@capacitor-community/electron": "^4.0.1", | ||
"chokidar": "~3.5.2", | ||
"electron-is-dev": "~2.0.0", | ||
"electron-serve": "~1.1.0", | ||
"electron-unhandled": "~3.0.2", | ||
"electron-updater": "~4.3.9", | ||
"electron-window-state": "~5.0.3", | ||
"express": "^4.17.1", | ||
"fix-path": "^3.0.0", | ||
"fkill": "^7.2.1", | ||
"internal-ip": "^6.2.0", | ||
"microtime": "^3.0.0", | ||
"rimraf": "^5.0.1", | ||
"socket.io": "^4.2.0", | ||
"typescript": "^5.0.4" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^29.5.3", | ||
"@types/node": "^20.12.7", | ||
"electron": "^15.5.7", | ||
"electron-builder": "^23.0.2", | ||
"electron-notarize": "^1.2.2", | ||
"electron-rebuild": "~2.3.5", | ||
"jest": "^29.6.1", | ||
"jest-environment-jsdom": "^29.6.1", | ||
"node-gyp": "^8.4.1", | ||
"puppeteer": "^20.9.0", | ||
"ts-jest": "^29.1.1" | ||
}, | ||
"keywords": [ | ||
"capacitor", | ||
"electron" | ||
] | ||
} | ||
{"name":"@deep-foundation/perception-app","version":"0.0.20","description":"Your second memory.","homepage":"https://deep.foundation/","author":{"name":"Deep Foundation","email":"[email protected]"},"repository":{"type":"git","url":"https://github.com/deep-foundation/deepmemo-app"},"license":"MIT","main":"build/src/index.js","scripts":{"build":"rimraf ./build/src && tsc","test":"jest","electron:start-live":"node ./live-runner.js","electron:start":"npm run build && electron --inspect=5858 ./","electron:debug":"APP_DEV=true electron .","electron:pack":"npm run build && node patch-electron-builder.cjs && electron-builder --publish never -c ./electron-builder.config.js","electron:pack-demo":"npm run build && node patch-electron-builder.cjs && CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --publish never -c ./electron-builder.config.demo.js","electron:sign":"npm run electron:sign-prod && npm run electron:sign-dev","electron:sign-prod":"electron-osx-sign dist/mas/sdk.app --entitlements=./entitlements.mas.plist --entitlements-inherit=./entitlements.mas.inherit.plist --identity='Developer ID Application: Deep Foundation (XXXXXXXXXX)' --platform=mas --type=distribution --provisioning-profile=developer-id-sdk.provisionprofile","electron:sign-dev":"electron-osx-sign dist/mas-dev/sdk.app --identity='Developer ID Application: Deep Foundation (XXXXXXXXXX)' --platform=mas --type=development --entitlements=./entitlements.mas.plist --entitlements-inherit=./entitlements.mas.inherit.plist --provisioning-profile=./sdkdevelopment.provisionprofile","electron:notarize":"node notarize.cjs","electron:make":"npm run build && electron-builder build --config ./electron-builder.config.js","electron:make-and-publish":"npm run build && electron-builder build --config ./electron-builder.config.js --publish always"},"dependencies":{"@capacitor-community/electron":"^4.0.1","chokidar":"~3.5.2","electron-is-dev":"~2.0.0","electron-serve":"~1.1.0","electron-unhandled":"~3.0.2","electron-updater":"~4.3.9","electron-window-state":"~5.0.3","express":"^4.17.1","fix-path":"^3.0.0","fkill":"^7.2.1","internal-ip":"^6.2.0","microtime":"^3.0.0","rimraf":"^5.0.1","socket.io":"^4.2.0","typescript":"^5.0.4"},"devDependencies":{"@types/jest":"^29.5.3","@types/node":"^20.12.7","electron":"^15.5.7","electron-builder":"^23.0.2","electron-notarize":"^1.2.2","electron-rebuild":"~2.3.5","jest":"^29.6.1","jest-environment-jsdom":"^29.6.1","node-gyp":"^8.4.1","puppeteer":"^20.9.0","ts-jest":"^29.1.1"},"keywords":["capacitor","electron"]} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
const nextPckg = JSON.parse(fs.readFileSync(path.join(__dirname, 'package.json'), 'utf8')); | ||
const electronPckg = JSON.parse(fs.readFileSync(path.join(__dirname, 'electron', 'package.json'), 'utf8')); | ||
electronPckg.id = nextPckg.id; | ||
fs.writeFileSync(path.join(__dirname, 'electron', 'package.json'), JSON.stringify(electronPckg)); |