8e4ca0bc79
To make the build script work on Windows, added the `shx` package in dev dependency and changed the `rm` and `ln` commands to `shx rm` and `shx ln`.
54 lines
2.2 KiB
JSON
54 lines
2.2 KiB
JSON
{
|
|
"name": "ente",
|
|
"version": "1.6.63",
|
|
"private": true,
|
|
"description": "Desktop client for Ente Photos",
|
|
"author": "Ente <code@ente.io>",
|
|
"main": "app/main.js",
|
|
"scripts": {
|
|
"build": "yarn build-renderer && yarn build-main",
|
|
"build-main": "tsc && electron-builder",
|
|
"build-main:quick": "tsc && electron-builder --dir --config.compression=store --config.mac.identity=null",
|
|
"build-renderer": "cd ../web && yarn install && yarn build:photos && cd ../desktop && shx rm -f out && shx ln -sf ../web/apps/photos/out out",
|
|
"build:quick": "yarn build-renderer && yarn build-main:quick",
|
|
"dev": "concurrently --names 'main,rndr,tscw' \"yarn dev-main\" \"yarn dev-renderer\" \"yarn dev-main-watch\"",
|
|
"dev-main": "tsc && electron app/main.js",
|
|
"dev-main-watch": "tsc --watch --preserveWatchOutput",
|
|
"dev-renderer": "cd ../web && yarn install && yarn dev:photos",
|
|
"postinstall": "electron-builder install-app-deps",
|
|
"lint": "yarn prettier --check . && eslint --ext .ts src",
|
|
"lint-fix": "yarn prettier --write . && eslint --fix --ext .ts src"
|
|
},
|
|
"dependencies": {
|
|
"any-shell-escape": "^0.1.1",
|
|
"auto-launch": "^5.0.5",
|
|
"chokidar": "^3.5.3",
|
|
"compare-versions": "^6.1.0",
|
|
"electron-log": "^4.3.5",
|
|
"electron-store": "^8.0.1",
|
|
"electron-updater": "^4.3.8",
|
|
"ffmpeg-static": "^5.1.0",
|
|
"html-entities": "^2.4.0",
|
|
"jpeg-js": "^0.4.4",
|
|
"next-electron-server": "^1",
|
|
"node-stream-zip": "^1.15.0",
|
|
"onnxruntime-node": "^1.16.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/auto-launch": "^5.0.2",
|
|
"@types/ffmpeg-static": "^3.0.1",
|
|
"@typescript-eslint/eslint-plugin": "^7",
|
|
"@typescript-eslint/parser": "^7",
|
|
"concurrently": "^8",
|
|
"electron": "^25.8.4",
|
|
"electron-builder": "^24.6.4",
|
|
"electron-builder-notarize": "^1.2.0",
|
|
"eslint": "^8",
|
|
"prettier": "^3",
|
|
"prettier-plugin-organize-imports": "^3.2",
|
|
"prettier-plugin-packagejson": "^2.4",
|
|
"shx": "^0.3.4",
|
|
"typescript": "^5"
|
|
},
|
|
"productName": "ente"
|
|
}
|