signal-desktop/package.json

495 lines
18 KiB
JSON
Raw Normal View History

{
"name": "signal-desktop",
"productName": "Signal",
"description": "Private messaging from your desktop",
"desktopName": "signal.desktop",
"repository": "https://github.com/signalapp/Signal-Desktop.git",
2022-11-17 00:17:24 +00:00
"version": "6.0.0-beta.1",
"license": "AGPL-3.0-only",
"author": {
"name": "Signal Messenger, LLC",
"email": "support@signal.org"
},
2021-10-01 18:49:59 +00:00
"main": "app/main.js",
2014-11-23 03:36:52 +00:00
"scripts": {
2021-12-17 17:50:42 +00:00
"postinstall": "yarn build:acknowledgments && patch-package && yarn electron:install-app-deps && rimraf node_modules/dtrace-provider",
"postuninstall": "yarn build:acknowledgments",
2017-03-10 18:35:58 +00:00
"start": "electron .",
"generate": "npm-run-all build-protobuf build:esbuild sass get-expire-time copy-and-concat",
2021-04-07 17:08:38 +00:00
"build-release": "yarn run build",
"sign-release": "node ts/updater/generateSignature.js",
2022-02-24 19:39:26 +00:00
"notarize": "echo 'No longer necessary'",
2021-12-14 16:43:46 +00:00
"get-strings": "node ts/scripts/get-strings.js",
"push-strings": "node ts/scripts/push-strings.js",
2021-12-14 16:43:46 +00:00
"get-expire-time": "node ts/scripts/get-expire-time.js",
"copy-and-concat": "node ts/scripts/copy-and-concat.js",
2022-02-11 19:33:06 +00:00
"sass": "sass stylesheets/manifest.scss:stylesheets/manifest.css stylesheets/manifest_bridge.scss:stylesheets/manifest_bridge.css",
2022-03-23 20:49:27 +00:00
"build-module-protobuf": "pbjs --target static-module --force-long --no-verify --no-create --wrap commonjs --out ts/protobuf/compiled.js protos/*.proto && pbts --out ts/protobuf/compiled.d.ts ts/protobuf/compiled.js",
2018-05-07 23:08:43 +00:00
"clean-module-protobuf": "rm -f ts/protobuf/compiled.d.ts ts/protobuf/compiled.js",
"build-protobuf": "yarn build-module-protobuf",
"clean-protobuf": "yarn clean-module-protobuf",
2021-08-06 21:21:01 +00:00
"prepare-beta-build": "node scripts/prepare_beta_build.js",
"prepare-alpha-build": "node scripts/prepare_alpha_build.js",
"prepare-alpha-version": "node scripts/prepare_alpha_version.js",
"prepare-staging-build": "node scripts/prepare_staging_build.js",
2021-08-06 21:21:01 +00:00
"prepare-windows-cert": "node scripts/prepare_windows_cert.js",
"publish-to-apt": "NAME=$npm_package_name VERSION=$npm_package_version ./aptly.sh",
"test": "yarn test-node && yarn test-electron && yarn test-lint-intl",
2022-01-12 19:15:58 +00:00
"test-electron": "node ts/scripts/test-electron.js",
"test-release": "node ts/scripts/test-release.js",
2022-09-01 16:35:44 +00:00
"test-node": "electron-mocha --timeout 10000 --file test/setup-test-node.js --recursive test/modules ts/test-node ts/test-both",
"test-mock": "mocha ts/test-mock/**/*_test.js",
"test-node-coverage": "nyc --reporter=lcov --reporter=text mocha --recursive test/modules ts/test-node ts/test-both",
"test-lint-intl": "ts-node ./build/intl-linter/linter.ts --test",
"eslint": "eslint --cache .",
"lint": "run-s --print-label lint-prettier check:types eslint",
"lint-deps": "node ts/util/lint/linter.js",
"lint-license-comments": "ts-node ts/util/lint/license_comments.ts",
2022-03-22 22:08:10 +00:00
"lint-prettier": "pprettier --check '**/*.{ts,tsx,d.ts,js,json,html,scss,md,yml,yaml}' '!node_modules/**'",
"lint-intl": "ts-node ./build/intl-linter/linter.ts",
"danger:local": "./danger/danger.sh local --base main",
"danger:ci": "./danger/danger.sh ci --base origin/main",
2022-03-22 22:08:10 +00:00
"format": "pprettier --write '**/*.{ts,tsx,d.ts,js,json,html,scss,md,yml,yaml}' '!node_modules/**'",
2022-02-11 21:38:52 +00:00
"transpile": "run-p check:types build:esbuild",
"check:types": "tsc --noEmit",
"clean-transpile-once": "rimraf app/**/*.js app/*.js sticker-creator/**/*.js sticker-creator/*.js ts/**/*.js ts/*.js tsconfig.tsbuildinfo",
"clean-transpile": "yarn run clean-transpile-once && yarn run clean-transpile-once",
"open-coverage": "open coverage/lcov-report/index.html",
"ready": "npm-run-all --print-label clean-transpile generate --parallel lint lint-deps lint-intl test-node test-electron",
2019-12-17 20:25:57 +00:00
"dev": "run-p --print-label dev:*",
2022-02-11 21:38:52 +00:00
"dev:transpile": "run-p \"check:types --watch\" dev:esbuild",
"dev:webpack": "run-p dev:esbuild dev:webpack:sticker-creator",
"dev:webpack:sticker-creator": "cross-env NODE_ENV=development webpack serve --mode development",
"dev:esbuild": "node scripts/esbuild.js --watch",
2019-12-17 20:25:57 +00:00
"dev:typed-scss": "yarn build:typed-scss -w",
"dev:storybook": "cross-env SIGNAL_ENV=storybook start-storybook -p 6006 -s ./",
2022-02-11 19:33:06 +00:00
"dev:sass": "yarn sass --watch",
"build": "run-s --print-label generate build:typed-scss build:webpack build:release",
"build:acknowledgments": "node scripts/generate-acknowledgments.js",
2021-12-14 16:43:46 +00:00
"build:dev": "run-s --print-label generate build:typed-scss build:webpack",
2019-12-17 20:25:57 +00:00
"build:typed-scss": "tsm sticker-creator",
2022-02-11 21:38:52 +00:00
"build:webpack": "run-p build:webpack:sticker-creator \"build:esbuild --prod\"",
2021-04-14 19:43:11 +00:00
"build:webpack:sticker-creator": "cross-env NODE_ENV=production webpack",
2022-02-11 21:38:52 +00:00
"build:esbuild": "node scripts/esbuild.js",
2019-12-17 20:25:57 +00:00
"build:electron": "electron-builder --config.extraMetadata.environment=$SIGNAL_ENV",
2021-04-07 17:08:38 +00:00
"build:release": "cross-env SIGNAL_ENV=production yarn build:electron -- --config.directories.output=release",
2019-12-17 20:25:57 +00:00
"preverify:ts": "yarn build:typed-scss",
"verify": "run-p --print-label verify:*",
2021-12-03 22:49:15 +00:00
"verify:ts": "tsc --noEmit",
"electron:install-app-deps": "electron-builder install-app-deps"
},
"optionalDependencies": {
"fs-xattr": "0.3.0"
},
"dependencies": {
"@formatjs/fast-memoize": "1.2.6",
2022-07-19 06:16:47 +00:00
"@indutny/frameless-titlebar": "2.3.5",
2022-11-14 19:35:37 +00:00
"@popperjs/core": "2.11.6",
"@react-spring/web": "9.5.5",
2022-10-21 23:30:05 +00:00
"@signalapp/libsignal-client": "0.21.1",
"@sindresorhus/is": "0.8.0",
2021-12-01 02:14:25 +00:00
"@types/fabric": "4.5.3",
2019-12-17 20:25:57 +00:00
"array-move": "2.1.0",
2021-04-13 21:33:24 +00:00
"axe-core": "4.1.4",
2021-06-07 16:43:42 +00:00
"backbone": "1.4.0",
"better-sqlite3": "https://github.com/signalapp/better-sqlite3#afdbd49cf18d0046d7385ca4d23da20c66f00d50",
"bezier-easing": "2.1.0",
2021-07-14 23:39:52 +00:00
"blob-util": "2.0.2",
2021-01-29 22:44:57 +00:00
"blueimp-load-image": "5.14.0",
2020-05-27 21:37:06 +00:00
"blurhash": "1.1.3",
"classnames": "2.2.5",
"config": "1.28.1",
2019-12-17 20:25:57 +00:00
"copy-text-to-clipboard": "2.1.0",
2020-09-16 19:31:05 +00:00
"dashdash": "1.14.1",
"dicer": "0.3.1",
"direction": "1.0.4",
"emoji-datasource": "14.0.0",
"emoji-datasource-apple": "14.0.0",
"emoji-regex": "10.1.0",
"encoding": "0.1.13",
2021-12-01 02:14:25 +00:00
"fabric": "4.6.0",
"fast-glob": "3.2.1",
"filesize": "3.6.1",
"firstline": "1.2.1",
"focus-trap-react": "8.8.1",
2021-10-06 16:25:22 +00:00
"form-data": "4.0.0",
"fs-extra": "5.0.0",
"fuse.js": "6.5.3",
"glob": "7.1.6",
2022-02-09 17:21:15 +00:00
"google-libphonenumber": "3.2.27",
2022-06-27 18:59:51 +00:00
"got": "11.8.5",
2022-06-24 16:52:48 +00:00
"heic-convert": "1.2.4",
2019-12-17 20:25:57 +00:00
"history": "4.9.0",
2021-12-06 17:18:48 +00:00
"humanize-duration": "3.27.1",
2021-11-30 17:51:53 +00:00
"intl-tel-input": "17.0.13",
2020-05-05 21:18:27 +00:00
"jquery": "3.5.0",
2019-06-19 17:00:28 +00:00
"js-yaml": "3.13.1",
2020-02-12 21:59:17 +00:00
"linkify-it": "2.2.0",
"lodash": "4.17.21",
2021-07-02 19:21:24 +00:00
"long": "4.0.0",
"lru-cache": "6.0.0",
"mac-screen-capture-permissions": "2.0.0",
"memoizee": "0.4.14",
2020-05-05 21:18:27 +00:00
"mkdirp": "0.5.2",
2022-07-08 17:20:07 +00:00
"moment": "2.29.4",
"mp4box": "0.5.2",
"mustache": "2.3.0",
2022-02-11 19:32:37 +00:00
"node-fetch": "2.6.7",
"normalize-path": "3.0.0",
"p-map": "2.1.0",
2020-09-04 01:25:19 +00:00
"p-props": "4.0.0",
2021-08-23 17:12:05 +00:00
"p-queue": "6.6.2",
"p-timeout": "4.1.0",
"parchment": "1.1.4",
"pify": "3.0.0",
2022-10-03 22:53:41 +00:00
"pino": "8.6.1",
2022-06-17 21:46:12 +00:00
"protobufjs": "6.11.3",
"proxy-agent": "5.0.0",
2022-01-05 17:59:59 +00:00
"qrcode-generator": "1.4.4",
"quill": "1.3.7",
"quill-delta": "4.0.1",
2022-06-07 00:48:02 +00:00
"react": "17.0.2",
2020-05-27 21:37:06 +00:00
"react-blurhash": "0.1.2",
"react-contextmenu": "2.11.0",
2022-06-07 00:48:02 +00:00
"react-dom": "17.0.2",
"react-dropzone": "10.2.2",
2022-06-07 00:48:02 +00:00
"react-hot-loader": "4.13.0",
"react-intl": "6.1.1",
"react-measure": "2.3.0",
2022-06-07 00:48:02 +00:00
"react-popper": "2.3.0",
"react-quill": "2.0.0-beta.4",
"react-redux": "7.2.8",
2019-12-17 20:25:57 +00:00
"react-router-dom": "5.0.1",
2022-06-07 00:48:02 +00:00
"react-sortable-hoc": "2.0.0",
2022-06-17 00:48:57 +00:00
"react-textarea-autosize": "8.3.4",
2022-06-07 00:48:02 +00:00
"react-virtualized": "9.22.3",
2021-01-12 00:23:03 +00:00
"read-last-lines": "1.8.0",
"redux": "4.1.2",
2019-01-14 21:49:58 +00:00
"redux-logger": "3.0.6",
"redux-promise-middleware": "6.1.0",
"redux-thunk": "2.3.0",
2019-12-17 20:25:57 +00:00
"redux-ts-utils": "3.2.2",
"reselect": "4.1.2",
"rimraf": "2.6.2",
2022-11-14 18:47:48 +00:00
"ringrtc": "https://github.com/signalapp/signal-ringrtc-node.git#e062457b82340f698999470ae792ecdc3ee1af8c",
"sanitize.css": "11.0.0",
"semver": "5.4.1",
2022-06-17 22:33:46 +00:00
"sharp": "0.30.5",
"split2": "4.0.0",
"testcheck": "1.0.0-rc.2",
2022-08-31 19:57:21 +00:00
"typeface-inter": "3.18.1",
2021-05-07 19:04:05 +00:00
"underscore": "1.12.1",
"uuid": "3.3.2",
"websocket": "1.0.28",
2021-07-07 16:37:55 +00:00
"zod": "3.5.1"
},
"devDependencies": {
"@babel/core": "7.14.3",
2022-06-07 00:48:02 +00:00
"@babel/plugin-proposal-class-properties": "7.17.12",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.17.12",
"@babel/plugin-proposal-optional-chaining": "7.17.12",
"@babel/plugin-transform-runtime": "7.18.2",
"@babel/plugin-transform-typescript": "7.18.4",
"@babel/preset-react": "7.17.12",
"@babel/preset-typescript": "7.17.12",
2021-11-23 22:00:44 +00:00
"@electron/fuses": "1.5.0",
2022-03-22 20:45:34 +00:00
"@mixer/parallel-prettier": "2.0.1",
"@signalapp/mock-server": "2.11.0",
2022-06-07 00:48:02 +00:00
"@storybook/addon-a11y": "6.5.6",
"@storybook/addon-actions": "6.5.6",
"@storybook/addon-controls": "6.5.6",
2022-06-24 16:52:48 +00:00
"@storybook/addon-interactions": "6.5.9",
2022-06-07 00:48:02 +00:00
"@storybook/addon-knobs": "6.4.0",
"@storybook/addon-measure": "6.5.6",
"@storybook/addon-toolbars": "6.5.6",
"@storybook/addon-viewport": "6.5.6",
"@storybook/addons": "6.5.6",
2022-06-24 16:52:48 +00:00
"@storybook/jest": "0.0.10",
2022-06-07 00:48:02 +00:00
"@storybook/react": "6.5.6",
2022-06-24 16:52:48 +00:00
"@storybook/testing-library": "0.0.13",
2021-08-30 21:32:56 +00:00
"@types/backbone": "1.4.5",
2022-04-07 22:49:23 +00:00
"@types/better-sqlite3": "7.5.0",
2021-01-29 22:44:57 +00:00
"@types/blueimp-load-image": "5.14.1",
"@types/chai": "4.2.18",
"@types/chai-as-promised": "7.1.4",
"@types/classnames": "2.2.3",
2021-10-01 18:49:59 +00:00
"@types/config": "0.0.39",
2020-09-16 19:31:05 +00:00
"@types/dashdash": "1.14.0",
"@types/debug": "4.1.7",
"@types/dicer": "0.2.2",
"@types/direction": "1.0.0",
"@types/filesize": "3.6.0",
"@types/fs-extra": "5.0.5",
2022-02-09 17:21:15 +00:00
"@types/google-libphonenumber": "7.4.23",
2019-12-17 20:25:57 +00:00
"@types/history": "4.7.2",
2022-06-24 16:52:48 +00:00
"@types/humanize-duration": "3.18.1",
2021-11-30 17:51:53 +00:00
"@types/intl-tel-input": "17.0.4",
2021-08-30 21:32:56 +00:00
"@types/jquery": "3.5.6",
"@types/js-yaml": "3.12.0",
"@types/json-to-ast": "2.1.2",
2020-02-12 21:59:17 +00:00
"@types/linkify-it": "2.1.0",
"@types/lodash": "4.14.106",
2020-09-04 01:25:19 +00:00
"@types/long": "4.0.1",
"@types/lru-cache": "5.1.0",
"@types/memoizee": "0.4.2",
"@types/mkdirp": "0.5.2",
2021-12-09 08:06:04 +00:00
"@types/mocha": "9.0.0",
2021-08-30 21:32:56 +00:00
"@types/mustache": "4.1.2",
2022-11-14 19:35:37 +00:00
"@types/node": "16.18.3",
"@types/node-fetch": "2.6.2",
"@types/normalize-path": "3.0.0",
"@types/pify": "3.0.2",
"@types/quill": "1.3.10",
2022-06-07 00:48:02 +00:00
"@types/react": "17.0.45",
"@types/react-dom": "17.0.17",
"@types/react-measure": "2.0.5",
2022-06-07 00:48:02 +00:00
"@types/react-redux": "7.1.24",
2019-12-17 20:25:57 +00:00
"@types/react-router-dom": "4.3.4",
"@types/react-sortable-hoc": "0.6.5",
"@types/react-virtualized": "9.18.12",
2019-01-14 21:49:58 +00:00
"@types/redux-logger": "3.0.7",
"@types/rimraf": "2.0.2",
"@types/semver": "5.5.0",
2021-12-03 22:49:15 +00:00
"@types/sharp": "0.29.4",
2021-07-22 19:53:49 +00:00
"@types/sinon": "10.0.2",
"@types/split2": "3.2.1",
2021-04-07 22:40:12 +00:00
"@types/terser-webpack-plugin": "5.0.3",
"@types/underscore": "1.10.3",
"@types/uuid": "3.4.4",
2021-04-07 19:59:58 +00:00
"@types/webpack-dev-server": "3.11.3",
"@types/websocket": "1.0.0",
2021-12-09 08:06:04 +00:00
"@types/yargs": "17.0.7",
2022-11-18 00:45:19 +00:00
"@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.43.0",
"arraybuffer-loader": "1.0.3",
"asar": "3.1.0",
2019-12-17 20:25:57 +00:00
"babel-core": "7.0.0-bridge.0",
"babel-loader": "8.0.6",
"babel-plugin-lodash": "3.3.4",
2022-07-20 21:29:09 +00:00
"casual": "1.6.2",
"chai": "4.3.4",
"chai-as-promised": "7.1.1",
"chalk": "4.1.2",
"core-js": "2.6.9",
2019-12-17 20:25:57 +00:00
"cross-env": "5.2.0",
"css-loader": "3.2.0",
"danger": "11.1.2",
"debug": "4.3.3",
2022-11-17 17:32:58 +00:00
"electron": "21.3.0",
2022-04-27 21:15:57 +00:00
"electron-builder": "23.0.8",
2021-12-09 08:06:04 +00:00
"electron-mocha": "11.0.2",
"electron-notarize": "1.2.1",
"endanger": "7.0.4",
2022-09-20 23:52:32 +00:00
"esbuild": "0.15.8",
2022-11-18 00:45:19 +00:00
"eslint": "8.27.0",
"eslint-config-airbnb-typescript-prettier": "5.0.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-mocha": "10.1.0",
"eslint-plugin-more": "1.0.5",
"eslint-plugin-react": "7.31.10",
2019-12-17 20:25:57 +00:00
"file-loader": "4.2.0",
2021-04-07 19:59:58 +00:00
"html-webpack-plugin": "5.3.1",
"json-to-ast": "2.1.0",
2021-12-09 08:06:04 +00:00
"mocha": "9.1.3",
"mocha-testcheck": "1.0.0-rc.0",
2022-04-08 07:18:28 +00:00
"node-gyp": "9.0.0",
2019-12-17 20:25:57 +00:00
"npm-run-all": "4.1.5",
"nyc": "11.4.1",
2021-07-13 18:54:53 +00:00
"patch-package": "6.4.7",
2021-12-09 08:06:04 +00:00
"playwright": "1.17.1",
2022-11-18 00:45:19 +00:00
"prettier": "2.7.1",
"sass": "1.49.7",
2021-11-09 16:53:37 +00:00
"sass-loader": "10.2.0",
2021-07-22 19:53:49 +00:00
"sinon": "11.1.1",
2019-12-17 20:25:57 +00:00
"style-loader": "1.0.0",
2021-04-07 22:40:12 +00:00
"terser-webpack-plugin": "5.1.1",
"ts-loader": "4.1.0",
2019-12-17 20:25:57 +00:00
"ts-node": "8.3.0",
2021-11-08 21:43:37 +00:00
"typed-scss-modules": "4.1.1",
2022-11-22 22:46:21 +00:00
"typescript": "4.9.3",
2021-04-07 19:59:58 +00:00
"webpack": "5.30.0",
"webpack-cli": "4.9.2",
"webpack-dev-server": "4.7.4"
2017-03-10 18:35:58 +00:00
},
2020-09-14 17:10:05 +00:00
"resolutions": {
2021-05-17 18:04:30 +00:00
"@storybook/react/@storybook/core/node-fetch": "2.6.1",
2022-06-07 00:48:02 +00:00
"@types/react": "17.0.45",
"@types/react-dom": "17.0.17",
2022-03-02 16:55:35 +00:00
"dmg-license": "https://registry.yarnpkg.com/nop/-/nop-1.0.0.tgz",
2021-12-06 21:58:07 +00:00
"fabric/canvas": "https://registry.yarnpkg.com/nop/-/nop-1.0.0.tgz",
"fabric/jsdom": "https://registry.yarnpkg.com/nop/-/nop-1.0.0.tgz",
2021-05-17 18:04:30 +00:00
"fast-glob/glob-parent": "5.1.2",
"read-last-lines/mz/thenify-all/thenify": "3.3.1",
2022-07-20 21:29:09 +00:00
"sharp/color/color-string": "1.9.0"
2020-09-14 17:10:05 +00:00
},
"engines": {
2022-11-23 21:38:47 +00:00
"node": "16.16.0"
},
2017-03-10 18:35:58 +00:00
"build": {
"appId": "org.whispersystems.signal-desktop",
"mac": {
2021-12-03 22:49:15 +00:00
"artifactName": "${name}-mac-${arch}-${version}.${ext}",
2017-04-06 22:10:04 +00:00
"category": "public.app-category.social-networking",
2019-05-16 22:32:38 +00:00
"darkModeSupport": true,
"hardenedRuntime": true,
"entitlements": "./build/entitlements.mac.plist",
"icon": "build/icons/mac/icon.icns",
"publish": [
{
"provider": "generic",
"url": "https://updates.signal.org/desktop"
}
],
2022-03-03 22:16:44 +00:00
"mergeASARs": true,
"singleArchFiles": "node_modules/{@signalapp/libsignal-client/prebuilds/**,ringrtc/build/**,sharp/**}",
2017-05-03 18:32:20 +00:00
"target": [
2021-12-03 22:49:15 +00:00
{
"target": "zip",
"arch": [
"x64",
"arm64"
]
},
{
"target": "dmg",
"arch": [
"x64",
2021-12-17 00:11:18 +00:00
"arm64",
"universal"
2021-12-03 22:49:15 +00:00
]
}
2017-05-03 18:32:20 +00:00
],
2017-05-05 01:37:29 +00:00
"bundleVersion": "1"
2017-04-06 22:10:04 +00:00
},
"win": {
Beta versions support: SxS support, in-app env/instance display (#1606) * Script for beta config; unique data dir, in-app env/type display To release a beta build, increment the version and add -beta-N to the end, then go through all the standard release activities. The prepare-build npm script then updates key bits of the package.json to ensure that the beta build can be installed alongside a production build. This includes a new name ('Signal Beta') and a different location for application data. Note: Beta builds can be installed alongside production builds. As part of this, a couple new bits of data are shown across the app: - Environment (development or test, not shown if production) - App Instance (disabled in production; used for multiple accounts) These are shown in: - The window title - both environment and app instance. You can tell beta builds because the app name, preceding these data bits, is different. - The about window - both environment and app instance. You can tell beta builds from the version number. - The header added to the debug log - just environment. The version number will tell us if it's a beta build, and app instance isn't helpful. * Turn on single-window mode in non-production modes Because it's really frightening when you see 'unable to read from db' errors in the console. * aply.sh: More instructions for initial setup and testing * Gruntfile: Get consistent with use of package.json datas * Linux: manually update desktop keys, since macros not available
2017-10-30 20:57:13 +00:00
"artifactName": "${name}-win-${version}.${ext}",
2021-08-06 21:21:01 +00:00
"certificateSubjectName": "Signal Messenger, LLC",
"certificateSha1": "8C9A0B5C852EC703D83EF7BFBCEB54B796073759",
"signingHashAlgorithms": [
"sha256"
],
"publisherName": "Signal Messenger, LLC",
"icon": "build/icons/win/icon.ico",
"publish": [
{
"provider": "generic",
"url": "https://updates.signal.org/desktop"
}
],
"target": [
"nsis"
2022-03-08 17:21:37 +00:00
]
2017-03-10 18:35:58 +00:00
},
2018-03-05 23:24:56 +00:00
"nsis": {
2022-03-08 18:16:44 +00:00
"deleteAppDataOnUninstall": true
2018-03-05 23:24:56 +00:00
},
2017-03-10 18:35:58 +00:00
"linux": {
"category": "Network;InstantMessaging;Chat",
"desktop": {
"StartupWMClass": "Signal"
},
2017-03-10 18:35:58 +00:00
"target": [
"deb"
2017-04-27 23:57:31 +00:00
],
"icon": "build/icons/png"
2017-03-10 18:35:58 +00:00
},
"deb": {
"depends": [
"libnotify4",
"libxtst6",
"libnss3",
"libasound2",
"libxss1"
]
},
"protocols": {
"name": "sgnl-url-scheme",
"schemes": [
"sgnl",
"signalcaptcha"
]
},
"beforeBuild": "scripts/install-cross-deps.js",
2021-12-17 17:50:42 +00:00
"afterPack": "ts/scripts/after-pack.js",
"afterSign": "ts/scripts/after-sign.js",
"afterAllArtifactBuild": "ts/scripts/after-all-artifact-build.js",
2022-04-06 18:24:27 +00:00
"asar": {
"smartUnpack": false
},
"asarUnpack": [
2022-04-06 18:24:27 +00:00
"**/*.node",
"node_modules/sharp/{build,vendor}/**",
"!node_modules/sharp/**/*.{js,json}"
],
2017-03-10 18:35:58 +00:00
"files": [
"package.json",
"config/default.json",
"config/${env.SIGNAL_ENV}.json",
"config/local-${env.SIGNAL_ENV}.json",
"background.html",
"about.html",
"screenShare.html",
"settings.html",
"permissions_popup.html",
"debug_log.html",
"loading.html",
"_locales/**",
"protos/*",
"js/**",
"libtextsecure/**",
"ts/**/*.js",
"ts/*.js",
"stylesheets/*.css",
"!js/register.js",
"app/*",
2021-04-07 22:40:12 +00:00
"preload.bundle.js",
2019-12-17 20:25:57 +00:00
"preload_utils.js",
"main.js",
"images/**",
2019-10-04 18:06:17 +00:00
"fonts/**",
2020-06-04 18:16:19 +00:00
"sounds/*",
"build/icons",
"node_modules/**",
2019-12-17 20:25:57 +00:00
"sticker-creator/preload.js",
"sticker-creator/window/*.js",
2019-12-17 20:25:57 +00:00
"sticker-creator/dist/**",
"!node_modules/emoji-datasource/emoji_pretty.json",
2020-01-23 21:17:06 +00:00
"!node_modules/emoji-datasource/**/*.png",
"!node_modules/emoji-datasource-apple/emoji_pretty.json",
"!node_modules/emoji-datasource-apple/img/apple/sheets*",
"!node_modules/spellchecker/vendor/hunspell/**/*",
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples,*.d.ts,.snyk-*.flag,benchmark}",
"!**/node_modules/.bin",
"!**/node_modules/**/build/**",
2021-12-07 18:46:08 +00:00
"node_modules/intl-tel-input/build/**",
"!**/node_modules/**/prebuilds/**",
"!**/*.{o,hprof,orig,pyc,pyo,rbc}",
"!**/._*",
2020-10-30 01:46:37 +00:00
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,thumbs.db,.gitignore,.gitattributes,.flowconfig,.yarn-metadata.json,.idea,appveyor.yml,.travis.yml,circle.yml,npm-debug.log,.nyc_output,yarn.lock,.yarn-integrity}",
"node_modules/spellchecker/build/Release/*.node",
"node_modules/websocket/build/Release/*.node",
"!node_modules/websocket/builderror.log",
"node_modules/socks/build/*.js",
"node_modules/socks/build/common/*.js",
"node_modules/socks/build/client/*.js",
"node_modules/smart-buffer/build/*.js",
2021-12-03 22:49:15 +00:00
"node_modules/sharp/build/**/*${arch}*.node",
2021-12-22 19:51:15 +00:00
"node_modules/sharp/build/**/*.dll",
"!node_modules/sharp/{install,src,vendor}",
"!node_modules/sharp/vendor",
"node_modules/sharp/vendor/*/*${arch}*/**",
"!node_modules/sharp/vendor/*/*${arch}*/**/include/**",
2021-12-22 19:51:15 +00:00
"!node_modules/sharp/vendor/*/*win32*/**/*.{dll,lib}",
"!node_modules/better-sqlite3/deps/*",
"!node_modules/better-sqlite3/src/*",
2021-04-14 19:43:11 +00:00
"node_modules/better-sqlite3/build/Release/better_sqlite3.node",
"node_modules/@signalapp/libsignal-client/prebuilds/${platform}-${arch}/*.node",
2021-12-03 22:49:15 +00:00
"node_modules/ringrtc/build/${platform}/*${arch}*.node",
"node_modules/mac-screen-capture-permissions/build/Release/*.node",
2021-04-07 22:40:12 +00:00
"!**/node_modules/react-dom/*/*.development.js",
"!node_modules/.cache"
2017-04-10 18:07:59 +00:00
]
}
}