2014-10-30 01:32:29 +00:00
|
|
|
{
|
2016-01-01 22:23:44 +00:00
|
|
|
"name": "signal-desktop",
|
2017-03-30 23:40:09 +00:00
|
|
|
"productName": "Signal",
|
2017-03-08 00:55:24 +00:00
|
|
|
"description": "Private messaging from your desktop",
|
2019-10-10 18:51:16 +00:00
|
|
|
"desktopName": "signal.desktop",
|
2018-01-30 22:22:51 +00:00
|
|
|
"repository": "https://github.com/signalapp/Signal-Desktop.git",
|
2023-03-15 19:30:58 +00:00
|
|
|
"version": "6.11.0-beta.1",
|
2020-11-02 22:15:04 +00:00
|
|
|
"license": "AGPL-3.0-only",
|
2017-03-08 00:55:24 +00:00
|
|
|
"author": {
|
2022-03-17 21:22:51 +00:00
|
|
|
"name": "Signal Messenger, LLC",
|
2018-01-30 22:22:51 +00:00
|
|
|
"email": "support@signal.org"
|
2017-03-08 00:55:24 +00:00
|
|
|
},
|
2023-01-12 20:58:53 +00:00
|
|
|
"browserslist": "last 1 chrome versions",
|
2021-10-01 18:49:59 +00:00
|
|
|
"main": "app/main.js",
|
2014-11-23 03:36:52 +00:00
|
|
|
"scripts": {
|
2023-02-01 02:03:44 +00:00
|
|
|
"postinstall": "yarn build:acknowledgments && patch-package && yarn electron:install-app-deps",
|
2020-09-16 16:40:15 +00:00
|
|
|
"postuninstall": "yarn build:acknowledgments",
|
2017-03-10 18:35:58 +00:00
|
|
|
"start": "electron .",
|
2023-01-13 00:24:59 +00:00
|
|
|
"generate": "npm-run-all build-protobuf build:esbuild sass get-expire-time copy-components",
|
2021-04-07 17:08:38 +00:00
|
|
|
"build-release": "yarn run build",
|
2019-03-28 17:09:26 +00:00
|
|
|
"sign-release": "node ts/updater/generateSignature.js",
|
2022-02-24 19:39:26 +00:00
|
|
|
"notarize": "echo 'No longer necessary'",
|
2023-03-13 21:10:35 +00:00
|
|
|
"get-strings": "node ts/scripts/get-strings.js && node ts/scripts/gen-nsis-script.js",
|
2023-03-16 20:19:43 +00:00
|
|
|
"push-strings": "node ts/scripts/remove-strings.js && node ts/scripts/push-strings.js",
|
2021-12-14 16:43:46 +00:00
|
|
|
"get-expire-time": "node ts/scripts/get-expire-time.js",
|
2023-01-13 00:24:59 +00:00
|
|
|
"copy-components": "node ts/scripts/copy.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",
|
2018-05-07 23:12:53 +00:00
|
|
|
"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",
|
2022-06-14 22:08:38 +00:00
|
|
|
"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",
|
2018-05-01 05:36:21 +00:00
|
|
|
"publish-to-apt": "NAME=$npm_package_name VERSION=$npm_package_version ./aptly.sh",
|
2023-01-05 22:43:33 +00:00
|
|
|
"test": "yarn test-node && yarn test-electron && yarn test-lint-intl && yarn test-eslint",
|
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",
|
2022-02-11 22:32:51 +00:00
|
|
|
"test-mock": "mocha ts/test-mock/**/*_test.js",
|
2023-01-13 20:07:26 +00:00
|
|
|
"test-eslint": "mocha .eslint/rules/**/*.test.js --ignore-leaks",
|
2022-01-12 20:50:44 +00:00
|
|
|
"test-node-coverage": "nyc --reporter=lcov --reporter=text mocha --recursive test/modules ts/test-node ts/test-both",
|
2022-10-03 21:19:54 +00:00
|
|
|
"test-lint-intl": "ts-node ./build/intl-linter/linter.ts --test",
|
2022-12-02 22:09:13 +00:00
|
|
|
"eslint": "eslint --cache . --max-warnings 0",
|
2022-03-04 19:00:11 +00:00
|
|
|
"lint": "run-s --print-label lint-prettier check:types eslint",
|
2018-09-20 22:24:52 +00:00
|
|
|
"lint-deps": "node ts/util/lint/linter.js",
|
2020-12-12 00:49:30 +00:00
|
|
|
"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/**'",
|
2022-10-03 21:19:54 +00:00
|
|
|
"lint-intl": "ts-node ./build/intl-linter/linter.ts",
|
2022-09-16 18:32:28 +00:00
|
|
|
"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/**'",
|
2023-02-23 21:32:19 +00:00
|
|
|
"svgo": "svgo --multipass images/**/*.svg",
|
2022-02-11 21:38:52 +00:00
|
|
|
"transpile": "run-p check:types build:esbuild",
|
|
|
|
"check:types": "tsc --noEmit",
|
2023-03-16 18:06:45 +00:00
|
|
|
"clean-transpile-once": "rimraf sticker-creator app/**/*.js app/*.js ts/**/*.js ts/*.js tsconfig.tsbuildinfo",
|
2021-07-07 19:09:49 +00:00
|
|
|
"clean-transpile": "yarn run clean-transpile-once && yarn run clean-transpile-once",
|
2018-04-03 22:56:12 +00:00
|
|
|
"open-coverage": "open coverage/lcov-report/index.html",
|
2022-10-03 21:19:54 +00:00
|
|
|
"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:esbuild": "node scripts/esbuild.js --watch",
|
2020-07-13 23:47:27 +00:00
|
|
|
"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",
|
2023-03-16 00:59:30 +00:00
|
|
|
"build": "run-s --print-label generate build:esbuild:prod build:release",
|
2020-09-16 16:40:15 +00:00
|
|
|
"build:acknowledgments": "node scripts/generate-acknowledgments.js",
|
2023-03-16 00:59:30 +00:00
|
|
|
"build:dev": "run-s --print-label generate build:esbuild:prod",
|
2022-02-11 21:38:52 +00:00
|
|
|
"build:esbuild": "node scripts/esbuild.js",
|
2023-03-16 00:59:30 +00:00
|
|
|
"build:esbuild:prod": "node scripts/esbuild.js --prod",
|
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
|
|
|
"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"
|
2018-01-08 21:19:25 +00:00
|
|
|
},
|
2020-01-09 19:57:43 +00:00
|
|
|
"optionalDependencies": {
|
|
|
|
"fs-xattr": "0.3.0"
|
|
|
|
},
|
2018-01-08 21:19:25 +00:00
|
|
|
"dependencies": {
|
2022-10-03 21:19:54 +00:00
|
|
|
"@formatjs/fast-memoize": "1.2.6",
|
2022-07-19 06:16:47 +00:00
|
|
|
"@indutny/frameless-titlebar": "2.3.5",
|
2023-01-19 19:56:02 +00:00
|
|
|
"@indutny/sneequals": "4.0.0",
|
2022-11-14 19:35:37 +00:00
|
|
|
"@popperjs/core": "2.11.6",
|
|
|
|
"@react-spring/web": "9.5.5",
|
2023-02-10 19:31:28 +00:00
|
|
|
"@signalapp/better-sqlite3": "8.4.3",
|
2023-02-08 17:14:59 +00:00
|
|
|
"@signalapp/libsignal-client": "0.22.0",
|
2023-03-10 23:40:49 +00:00
|
|
|
"@signalapp/ringrtc": "2.25.2",
|
2021-12-01 02:14:25 +00:00
|
|
|
"@types/fabric": "4.5.3",
|
2021-06-07 16:43:42 +00:00
|
|
|
"backbone": "1.4.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",
|
2018-11-16 01:08:35 +00:00
|
|
|
"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",
|
2022-03-01 22:44:29 +00:00
|
|
|
"dicer": "0.3.1",
|
2022-03-23 20:23:28 +00:00
|
|
|
"direction": "1.0.4",
|
2022-04-07 18:50:42 +00:00
|
|
|
"emoji-datasource": "14.0.0",
|
|
|
|
"emoji-datasource-apple": "14.0.0",
|
|
|
|
"emoji-regex": "10.1.0",
|
2023-02-14 17:07:00 +00:00
|
|
|
"encoding": "0.1.13",
|
2021-12-01 02:14:25 +00:00
|
|
|
"fabric": "4.6.0",
|
2020-02-21 23:40:04 +00:00
|
|
|
"fast-glob": "3.2.1",
|
2018-11-16 01:08:35 +00:00
|
|
|
"filesize": "3.6.1",
|
|
|
|
"firstline": "1.2.1",
|
2021-10-04 17:14:00 +00:00
|
|
|
"focus-trap-react": "8.8.1",
|
2021-10-06 16:25:22 +00:00
|
|
|
"form-data": "4.0.0",
|
2018-11-16 01:08:35 +00:00
|
|
|
"fs-extra": "5.0.0",
|
2022-04-05 00:38:22 +00:00
|
|
|
"fuse.js": "6.5.3",
|
2020-02-27 01:53:39 +00:00
|
|
|
"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",
|
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",
|
2021-05-07 14:46:09 +00:00
|
|
|
"lodash": "4.17.21",
|
2021-07-02 19:21:24 +00:00
|
|
|
"long": "4.0.0",
|
2021-03-10 20:36:58 +00:00
|
|
|
"lru-cache": "6.0.0",
|
2021-05-20 21:54:03 +00:00
|
|
|
"mac-screen-capture-permissions": "2.0.0",
|
2019-03-20 17:42:28 +00:00
|
|
|
"memoizee": "0.4.14",
|
2022-07-08 17:20:07 +00:00
|
|
|
"moment": "2.29.4",
|
2022-08-12 23:44:10 +00:00
|
|
|
"mp4box": "0.5.2",
|
2022-02-11 19:32:37 +00:00
|
|
|
"node-fetch": "2.6.7",
|
2020-02-21 23:40:04 +00:00
|
|
|
"normalize-path": "3.0.0",
|
2019-05-16 22:32:11 +00:00
|
|
|
"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",
|
2022-05-10 01:12:04 +00:00
|
|
|
"p-timeout": "4.1.0",
|
2020-10-21 16:53:32 +00:00
|
|
|
"parchment": "1.1.4",
|
2018-11-16 01:08:35 +00:00
|
|
|
"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",
|
2021-09-03 00:29:15 +00:00
|
|
|
"proxy-agent": "5.0.0",
|
2022-01-05 17:59:59 +00:00
|
|
|
"qrcode-generator": "1.4.4",
|
2020-10-21 16:53:32 +00:00
|
|
|
"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",
|
2019-03-20 20:43:24 +00:00
|
|
|
"react-contextmenu": "2.11.0",
|
2022-06-07 00:48:02 +00:00
|
|
|
"react-dom": "17.0.2",
|
|
|
|
"react-hot-loader": "4.13.0",
|
2022-10-03 21:19:54 +00:00
|
|
|
"react-intl": "6.1.1",
|
2019-06-27 20:35:21 +00:00
|
|
|
"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-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",
|
2022-02-23 18:48:40 +00:00
|
|
|
"redux": "4.1.2",
|
2019-01-14 21:49:58 +00:00
|
|
|
"redux-logger": "3.0.6",
|
|
|
|
"redux-promise-middleware": "6.1.0",
|
2020-10-30 18:00:01 +00:00
|
|
|
"redux-thunk": "2.3.0",
|
2019-12-17 20:25:57 +00:00
|
|
|
"redux-ts-utils": "3.2.2",
|
2021-11-12 22:37:44 +00:00
|
|
|
"reselect": "4.1.2",
|
2018-11-16 01:08:35 +00:00
|
|
|
"rimraf": "2.6.2",
|
2020-01-13 22:28:28 +00:00
|
|
|
"sanitize.css": "11.0.0",
|
2018-11-16 01:08:35 +00:00
|
|
|
"semver": "5.4.1",
|
2021-10-21 22:53:14 +00:00
|
|
|
"split2": "4.0.0",
|
2023-01-13 20:07:26 +00:00
|
|
|
"type-fest": "3.5.0",
|
2018-11-16 01:08:35 +00:00
|
|
|
"uuid": "3.3.2",
|
2022-12-16 02:03:01 +00:00
|
|
|
"websocket": "1.0.34",
|
2021-07-07 16:37:55 +00:00
|
|
|
"zod": "3.5.1"
|
2018-01-08 21:19:25 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-05-27 15:44:06 +00:00
|
|
|
"@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",
|
2023-03-13 21:10:35 +00:00
|
|
|
"@formatjs/intl": "2.6.7",
|
2023-02-23 18:38:09 +00:00
|
|
|
"@mixer/parallel-prettier": "2.0.3",
|
2023-02-13 22:40:11 +00:00
|
|
|
"@signalapp/mock-server": "2.15.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",
|
2023-01-12 20:58:53 +00:00
|
|
|
"@storybook/builder-webpack5": "6.5.15",
|
2022-06-24 16:52:48 +00:00
|
|
|
"@storybook/jest": "0.0.10",
|
2023-01-12 20:58:53 +00:00
|
|
|
"@storybook/manager-webpack5": "6.5.15",
|
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",
|
2021-01-29 22:44:57 +00:00
|
|
|
"@types/blueimp-load-image": "5.14.1",
|
2021-05-17 18:03:42 +00:00
|
|
|
"@types/chai": "4.2.18",
|
|
|
|
"@types/chai-as-promised": "7.1.4",
|
2018-11-16 01:08:35 +00:00
|
|
|
"@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",
|
2022-02-11 22:32:51 +00:00
|
|
|
"@types/debug": "4.1.7",
|
2022-03-01 22:44:29 +00:00
|
|
|
"@types/dicer": "0.2.2",
|
2022-03-23 20:23:28 +00:00
|
|
|
"@types/direction": "1.0.0",
|
2018-11-16 01:08:35 +00:00
|
|
|
"@types/filesize": "3.6.0",
|
2019-03-28 17:09:26 +00:00
|
|
|
"@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",
|
2019-03-28 17:09:26 +00:00
|
|
|
"@types/js-yaml": "3.12.0",
|
2022-10-03 21:19:54 +00:00
|
|
|
"@types/json-to-ast": "2.1.2",
|
2020-02-12 21:59:17 +00:00
|
|
|
"@types/linkify-it": "2.1.0",
|
2018-11-16 01:08:35 +00:00
|
|
|
"@types/lodash": "4.14.106",
|
2020-09-04 01:25:19 +00:00
|
|
|
"@types/long": "4.0.1",
|
2021-03-10 20:36:58 +00:00
|
|
|
"@types/lru-cache": "5.1.0",
|
2019-03-20 17:42:28 +00:00
|
|
|
"@types/memoizee": "0.4.2",
|
2021-12-09 08:06:04 +00:00
|
|
|
"@types/mocha": "9.0.0",
|
2022-11-14 19:35:37 +00:00
|
|
|
"@types/node": "16.18.3",
|
|
|
|
"@types/node-fetch": "2.6.2",
|
2020-02-27 01:53:39 +00:00
|
|
|
"@types/normalize-path": "3.0.0",
|
2019-03-28 17:09:26 +00:00
|
|
|
"@types/pify": "3.0.2",
|
2020-10-21 16:53:32 +00:00
|
|
|
"@types/quill": "1.3.10",
|
2022-06-07 00:48:02 +00:00
|
|
|
"@types/react": "17.0.45",
|
|
|
|
"@types/react-dom": "17.0.17",
|
2019-06-27 20:35:21 +00:00
|
|
|
"@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",
|
2019-03-28 17:09:26 +00:00
|
|
|
"@types/react-virtualized": "9.18.12",
|
2019-01-14 21:49:58 +00:00
|
|
|
"@types/redux-logger": "3.0.7",
|
2019-03-28 17:09:26 +00:00
|
|
|
"@types/rimraf": "2.0.2",
|
2018-11-16 01:08:35 +00:00
|
|
|
"@types/semver": "5.5.0",
|
2021-07-22 19:53:49 +00:00
|
|
|
"@types/sinon": "10.0.2",
|
2021-10-21 22:53:14 +00:00
|
|
|
"@types/split2": "3.2.1",
|
2021-04-07 22:40:12 +00:00
|
|
|
"@types/terser-webpack-plugin": "5.0.3",
|
2019-03-28 17:09:26 +00:00
|
|
|
"@types/uuid": "3.4.4",
|
2020-07-10 18:28:49 +00:00
|
|
|
"@types/websocket": "1.0.0",
|
2021-12-09 08:06:04 +00:00
|
|
|
"@types/yargs": "17.0.7",
|
2023-03-20 19:58:07 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.55.0",
|
|
|
|
"@typescript-eslint/parser": "5.55.0",
|
2021-11-16 00:49:34 +00:00
|
|
|
"asar": "3.1.0",
|
2022-12-02 21:42:51 +00:00
|
|
|
"axe-core": "4.1.4",
|
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",
|
2021-05-17 18:03:42 +00:00
|
|
|
"chai": "4.3.4",
|
|
|
|
"chai-as-promised": "7.1.1",
|
2022-10-03 21:19:54 +00:00
|
|
|
"chalk": "4.1.2",
|
2021-03-15 21:26:21 +00:00
|
|
|
"core-js": "2.6.9",
|
2019-12-17 20:25:57 +00:00
|
|
|
"cross-env": "5.2.0",
|
|
|
|
"css-loader": "3.2.0",
|
2022-09-16 18:32:28 +00:00
|
|
|
"danger": "11.1.2",
|
2022-02-11 22:32:51 +00:00
|
|
|
"debug": "4.3.3",
|
2023-03-20 19:58:07 +00:00
|
|
|
"electron": "22.3.3",
|
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",
|
2022-05-03 17:07:16 +00:00
|
|
|
"electron-notarize": "1.2.1",
|
2022-09-16 18:32:28 +00:00
|
|
|
"endanger": "7.0.4",
|
2023-03-20 19:58:07 +00:00
|
|
|
"esbuild": "0.17.11",
|
2022-12-21 18:41:48 +00:00
|
|
|
"eslint": "8.30.0",
|
2022-11-18 00:45:19 +00:00
|
|
|
"eslint-config-airbnb-typescript-prettier": "5.0.0",
|
|
|
|
"eslint-config-prettier": "8.5.0",
|
|
|
|
"eslint-plugin-import": "2.26.0",
|
2023-01-05 22:43:33 +00:00
|
|
|
"eslint-plugin-local-rules": "1.3.2",
|
2022-11-18 00:45:19 +00:00
|
|
|
"eslint-plugin-mocha": "10.1.0",
|
|
|
|
"eslint-plugin-more": "1.0.5",
|
|
|
|
"eslint-plugin-react": "7.31.10",
|
2021-04-07 19:59:58 +00:00
|
|
|
"html-webpack-plugin": "5.3.1",
|
2022-10-03 21:19:54 +00:00
|
|
|
"json-to-ast": "2.1.0",
|
2021-12-09 08:06:04 +00:00
|
|
|
"mocha": "9.1.3",
|
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",
|
2018-11-16 01:08:35 +00:00
|
|
|
"nyc": "11.4.1",
|
2021-07-13 18:54:53 +00:00
|
|
|
"patch-package": "6.4.7",
|
2023-03-13 23:41:47 +00:00
|
|
|
"playwright": "1.31.2",
|
2023-02-23 18:38:09 +00:00
|
|
|
"prettier": "2.8.0",
|
2022-02-11 16:59:24 +00:00
|
|
|
"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",
|
2023-02-08 23:52:58 +00:00
|
|
|
"svgo": "3.0.2",
|
2021-04-07 22:40:12 +00:00
|
|
|
"terser-webpack-plugin": "5.1.1",
|
2018-11-16 01:08:35 +00:00
|
|
|
"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",
|
2023-03-20 19:58:07 +00:00
|
|
|
"typescript": "5.0.2",
|
2023-03-17 00:35:57 +00:00
|
|
|
"webpack": "5.76.0",
|
2022-03-28 23:18:00 +00:00
|
|
|
"webpack-cli": "4.9.2",
|
2023-01-12 20:58:53 +00:00
|
|
|
"webpack-dev-server": "4.11.1"
|
2017-03-10 18:35:58 +00:00
|
|
|
},
|
2020-09-14 17:10:05 +00:00
|
|
|
"resolutions": {
|
2023-02-23 18:38:09 +00:00
|
|
|
"@mixer/parallel-prettier/prettier": "2.8.0",
|
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",
|
2022-12-01 17:52:58 +00:00
|
|
|
"read-last-lines/mz/thenify-all/thenify": "3.3.1"
|
2020-09-14 17:10:05 +00:00
|
|
|
},
|
2018-03-02 19:43:03 +00:00
|
|
|
"engines": {
|
2022-12-15 21:31:43 +00:00
|
|
|
"node": "16.17.1"
|
2018-03-02 19:43:03 +00:00
|
|
|
},
|
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,
|
2019-10-10 18:30:47 +00:00
|
|
|
"hardenedRuntime": true,
|
|
|
|
"entitlements": "./build/entitlements.mac.plist",
|
2017-04-21 21:31:58 +00:00
|
|
|
"icon": "build/icons/mac/icon.icns",
|
2017-10-04 21:04:52 +00:00
|
|
|
"publish": [
|
|
|
|
{
|
|
|
|
"provider": "generic",
|
|
|
|
"url": "https://updates.signal.org/desktop"
|
|
|
|
}
|
|
|
|
],
|
2022-03-03 22:16:44 +00:00
|
|
|
"mergeASARs": true,
|
2023-01-18 23:31:10 +00:00
|
|
|
"releaseInfo": {
|
|
|
|
"vendor": {
|
|
|
|
"minOSVersion": "17.0.0"
|
|
|
|
}
|
|
|
|
},
|
2023-01-09 18:38:57 +00:00
|
|
|
"singleArchFiles": "node_modules/@signalapp/{libsignal-client/prebuilds/**,ringrtc/build/**}",
|
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",
|
2017-04-21 21:31:58 +00:00
|
|
|
"icon": "build/icons/win/icon.ico",
|
2017-10-04 21:04:52 +00:00
|
|
|
"publish": [
|
|
|
|
{
|
|
|
|
"provider": "generic",
|
|
|
|
"url": "https://updates.signal.org/desktop"
|
|
|
|
}
|
|
|
|
],
|
2023-01-18 23:31:10 +00:00
|
|
|
"releaseInfo": {
|
|
|
|
"vendor": {
|
|
|
|
"minOSVersion": "6.1.0"
|
|
|
|
}
|
|
|
|
},
|
2023-02-08 01:30:00 +00:00
|
|
|
"signDlls": true,
|
2017-05-05 23:28:27 +00:00
|
|
|
"target": [
|
2018-05-01 16:47:10 +00:00
|
|
|
"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": {
|
2019-07-19 17:36:12 +00:00
|
|
|
"category": "Network;InstantMessaging;Chat",
|
2017-09-13 20:43:00 +00:00
|
|
|
"desktop": {
|
|
|
|
"StartupWMClass": "Signal"
|
|
|
|
},
|
2017-03-10 18:35:58 +00:00
|
|
|
"target": [
|
2018-05-01 16:47:10 +00:00
|
|
|
"deb"
|
2017-04-27 23:57:31 +00:00
|
|
|
],
|
|
|
|
"icon": "build/icons/png"
|
2017-03-10 18:35:58 +00:00
|
|
|
},
|
2017-12-14 19:32:04 +00:00
|
|
|
"deb": {
|
2017-12-15 00:30:24 +00:00
|
|
|
"depends": [
|
|
|
|
"libnotify4",
|
|
|
|
"libxtst6",
|
|
|
|
"libnss3",
|
|
|
|
"libasound2",
|
|
|
|
"libxss1"
|
|
|
|
]
|
2017-12-14 19:32:04 +00:00
|
|
|
},
|
2019-12-18 19:21:35 +00:00
|
|
|
"protocols": {
|
|
|
|
"name": "sgnl-url-scheme",
|
|
|
|
"schemes": [
|
2021-05-06 00:09:29 +00:00
|
|
|
"sgnl",
|
|
|
|
"signalcaptcha"
|
2019-12-18 19:21:35 +00:00
|
|
|
]
|
|
|
|
},
|
2021-12-17 17:50:42 +00:00
|
|
|
"afterPack": "ts/scripts/after-pack.js",
|
2022-02-24 20:24:48 +00:00
|
|
|
"afterSign": "ts/scripts/after-sign.js",
|
2022-04-05 23:13:11 +00:00
|
|
|
"afterAllArtifactBuild": "ts/scripts/after-all-artifact-build.js",
|
2022-04-06 18:24:27 +00:00
|
|
|
"asar": {
|
|
|
|
"smartUnpack": false
|
|
|
|
},
|
2021-04-05 22:18:19 +00:00
|
|
|
"asarUnpack": [
|
2022-12-01 17:52:58 +00:00
|
|
|
"**/*.node"
|
2021-04-05 22:18:19 +00:00
|
|
|
],
|
2017-03-10 18:35:58 +00:00
|
|
|
"files": [
|
2017-04-10 07:22:38 +00:00
|
|
|
"package.json",
|
|
|
|
"config/default.json",
|
2017-05-05 00:26:51 +00:00
|
|
|
"config/${env.SIGNAL_ENV}.json",
|
|
|
|
"config/local-${env.SIGNAL_ENV}.json",
|
2017-04-10 07:22:38 +00:00
|
|
|
"background.html",
|
2017-10-17 15:03:47 +00:00
|
|
|
"about.html",
|
2021-05-20 21:54:03 +00:00
|
|
|
"screenShare.html",
|
2018-07-03 22:33:50 +00:00
|
|
|
"settings.html",
|
|
|
|
"permissions_popup.html",
|
|
|
|
"debug_log.html",
|
2020-03-25 23:45:37 +00:00
|
|
|
"loading.html",
|
2017-04-10 07:22:38 +00:00
|
|
|
"_locales/**",
|
|
|
|
"js/**",
|
2021-04-16 23:13:13 +00:00
|
|
|
"libtextsecure/**",
|
2018-04-11 19:10:57 +00:00
|
|
|
"ts/**/*.js",
|
|
|
|
"ts/*.js",
|
2022-12-14 20:32:07 +00:00
|
|
|
"!build",
|
|
|
|
"!ts/{storybook,test-node,test-mock,test-both,test-electron}",
|
|
|
|
"!**/{tsconfig,bower,component}.json",
|
|
|
|
"!**/.{github,husky,grenrc,npmrc,nycrc,taprc,bithoundrc}",
|
|
|
|
"!**/.testem.json",
|
|
|
|
"!**/.babelrc*",
|
|
|
|
"!**/.eslintrc*",
|
|
|
|
"!**/.prettier*",
|
|
|
|
"!**/.jscs*",
|
|
|
|
"!**/*travis*.yml",
|
|
|
|
"!**/{CHANGES,TODO,CHANGES.md~,README.md~}",
|
|
|
|
"!**/*.stories.js",
|
|
|
|
"!**/*.jest.js",
|
|
|
|
"!**/*.{bak,bnf,flow,patch,markdown,bnf,mli,ts,map}",
|
|
|
|
"!node_modules/intl-tel-input/composer.json",
|
2017-04-10 07:22:38 +00:00
|
|
|
"!js/register.js",
|
2022-12-14 20:32:07 +00:00
|
|
|
"stylesheets/*.css",
|
2017-06-22 00:31:20 +00:00
|
|
|
"app/*",
|
2021-04-07 22:40:12 +00:00
|
|
|
"preload.bundle.js",
|
2019-12-17 20:25:57 +00:00
|
|
|
"preload_utils.js",
|
2023-03-14 15:55:31 +00:00
|
|
|
"about.preload.bundle.js",
|
|
|
|
"about.browser.bundle.js",
|
2017-04-10 07:22:38 +00:00
|
|
|
"main.js",
|
|
|
|
"images/**",
|
2019-10-04 18:06:17 +00:00
|
|
|
"fonts/**",
|
2020-06-04 18:16:19 +00:00
|
|
|
"sounds/*",
|
|
|
|
"build/icons",
|
2017-04-10 07:22:38 +00:00
|
|
|
"node_modules/**",
|
2022-11-30 00:53:39 +00:00
|
|
|
"!node_modules/underscore/**",
|
2017-12-06 20:44:16 +00:00
|
|
|
"!node_modules/emoji-datasource/emoji_pretty.json",
|
2020-01-23 21:17:06 +00:00
|
|
|
"!node_modules/emoji-datasource/**/*.png",
|
2017-12-06 20:44:16 +00:00
|
|
|
"!node_modules/emoji-datasource-apple/emoji_pretty.json",
|
2019-06-17 18:46:42 +00:00
|
|
|
"!node_modules/emoji-datasource-apple/img/apple/sheets*",
|
2017-08-17 01:09:50 +00:00
|
|
|
"!node_modules/spellchecker/vendor/hunspell/**/*",
|
2021-03-15 21:26:21 +00:00
|
|
|
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples,*.d.ts,.snyk-*.flag,benchmark}",
|
2017-03-30 22:06:41 +00:00
|
|
|
"!**/node_modules/.bin",
|
2021-04-05 22:18:19 +00:00
|
|
|
"!**/node_modules/**/build/**",
|
2021-12-07 18:46:08 +00:00
|
|
|
"node_modules/intl-tel-input/build/**",
|
2021-11-11 15:24:28 +00:00
|
|
|
"!**/node_modules/**/prebuilds/**",
|
2022-12-14 20:32:07 +00:00
|
|
|
"!**/*.{o,hprof,orig,pyc,pyo,rbc,c,h,m}",
|
2017-03-30 22:06:41 +00:00
|
|
|
"!**/._*",
|
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}",
|
2017-12-06 20:44:16 +00:00
|
|
|
"node_modules/spellchecker/build/Release/*.node",
|
2018-08-02 19:25:00 +00:00
|
|
|
"node_modules/websocket/build/Release/*.node",
|
2021-01-29 22:17:28 +00:00
|
|
|
"!node_modules/websocket/builderror.log",
|
2018-11-28 00:20:48 +00:00
|
|
|
"node_modules/socks/build/*.js",
|
|
|
|
"node_modules/socks/build/common/*.js",
|
|
|
|
"node_modules/socks/build/client/*.js",
|
|
|
|
"node_modules/smart-buffer/build/*.js",
|
2022-12-14 20:48:36 +00:00
|
|
|
"!node_modules/@signalapp/better-sqlite3/deps/*",
|
|
|
|
"!node_modules/@signalapp/better-sqlite3/src/*",
|
|
|
|
"node_modules/@signalapp/better-sqlite3/build/Release/better_sqlite3.node",
|
2022-03-24 21:47:21 +00:00
|
|
|
"node_modules/@signalapp/libsignal-client/prebuilds/${platform}-${arch}/*.node",
|
2023-01-09 18:38:57 +00:00
|
|
|
"!node_modules/@signalapp/ringrtc/scripts/*",
|
|
|
|
"node_modules/@signalapp/ringrtc/build/${platform}/*${arch}*.node",
|
2021-05-20 21:54:03 +00:00
|
|
|
"node_modules/mac-screen-capture-permissions/build/Release/*.node",
|
2023-02-22 04:21:30 +00:00
|
|
|
"node_modules/fs-xattr/build/Release/*.node",
|
2021-04-07 22:40:12 +00:00
|
|
|
"!**/node_modules/react-dom/*/*.development.js",
|
2022-12-13 17:09:50 +00:00
|
|
|
"!node_modules/mp4box/**",
|
|
|
|
"node_modules/mp4box/package.json",
|
|
|
|
"node_modules/mp4box/dist/mp4box.all.js",
|
2021-04-07 22:40:12 +00:00
|
|
|
"!node_modules/.cache"
|
2017-04-10 18:07:59 +00:00
|
|
|
]
|
2014-10-30 01:32:29 +00:00
|
|
|
}
|
|
|
|
}
|