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",
|
2021-12-14 19:01:28 +00:00
|
|
|
"version": "5.27.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": {
|
|
|
|
"name": "Open Whisper Systems",
|
2018-01-30 22:22:51 +00:00
|
|
|
"email": "support@signal.org"
|
2017-03-08 00:55:24 +00:00
|
|
|
},
|
2021-10-01 18:49:59 +00:00
|
|
|
"main": "app/main.js",
|
2014-11-23 03:36:52 +00:00
|
|
|
"scripts": {
|
2021-12-03 22:49:15 +00:00
|
|
|
"postinstall": "yarn build:acknowledgments && yarn build:fuses && patch-package && yarn electron:install-app-deps && rimraf node_modules/dtrace-provider",
|
2020-09-16 16:40:15 +00:00
|
|
|
"postuninstall": "yarn build:acknowledgments",
|
2017-03-10 18:35:58 +00:00
|
|
|
"start": "electron .",
|
2021-12-14 16:43:46 +00:00
|
|
|
"generate": "npm-run-all build-protobuf transpile sass get-expire-time copy-and-concat",
|
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",
|
2019-10-10 18:30:47 +00:00
|
|
|
"notarize": "node ts/build/notarize.js",
|
2021-12-14 16:43:46 +00:00
|
|
|
"get-strings": "node ts/scripts/get-strings.js",
|
|
|
|
"get-expire-time": "node ts/scripts/get-expire-time.js",
|
|
|
|
"copy-and-concat": "node ts/scripts/copy-and-concat.js",
|
|
|
|
"sass": "npm-run-all sass-manifest sass-manifest-bridge",
|
|
|
|
"sass-base": "node-sass --source-map true --importer node_modules/node-sass-import-once/index.js",
|
|
|
|
"sass-manifest": "yarn sass-base stylesheets/manifest.scss stylesheets/manifest.css",
|
|
|
|
"sass-manifest-bridge": "yarn sass-base stylesheets/manifest_bridge.scss stylesheets/manifest_bridge.css",
|
2018-05-07 23:08:43 +00:00
|
|
|
"build-module-protobuf": "pbjs --target static-module --wrap commonjs --out ts/protobuf/compiled.js protos/*.proto && pbts --out ts/protobuf/compiled.d.ts ts/protobuf/compiled.js",
|
|
|
|
"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",
|
|
|
|
"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",
|
2018-04-10 21:47:25 +00:00
|
|
|
"test": "yarn test-node && yarn test-electron",
|
2021-12-09 08:06:04 +00:00
|
|
|
"test-electron": "node ts/build/test-electron.js",
|
|
|
|
"test-release": "node ts/build/test-release.js",
|
2021-02-04 19:54:03 +00:00
|
|
|
"test-node": "electron-mocha --file test/setup-test-node.js --recursive test/app test/modules ts/test-node ts/test-both",
|
2020-12-04 20:41:40 +00:00
|
|
|
"test-node-coverage": "nyc --reporter=lcov --reporter=text mocha --recursive test/app test/modules ts/test-node ts/test-both",
|
2021-03-15 21:44:12 +00:00
|
|
|
"eslint": "eslint --cache .",
|
2020-09-28 19:00:49 +00:00
|
|
|
"lint": "yarn format --list-different && yarn 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",
|
2021-06-23 18:18:47 +00:00
|
|
|
"format": "prettier --write \"*.{html,css,js,json,md,scss,ts,tsx}\" \"./**/*.{html,css,js,json,md,scss,ts,tsx}\"",
|
2018-03-26 18:44:45 +00:00
|
|
|
"transpile": "tsc",
|
2021-07-07 19:09:49 +00:00
|
|
|
"clean-transpile-once": "rimraf app/**/*.js app/*.js ts/**/*.js ts/*.js tsconfig.tsbuildinfo",
|
|
|
|
"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",
|
2021-12-14 16:43:46 +00:00
|
|
|
"ready": "npm-run-all --print-label clean-transpile generate --parallel lint lint-deps test-node test-electron",
|
2019-12-17 20:25:57 +00:00
|
|
|
"dev": "run-p --print-label dev:*",
|
2021-03-12 23:49:54 +00:00
|
|
|
"dev:transpile": "yarn run transpile --watch --preserveWatchOutput",
|
2021-04-07 19:59:58 +00:00
|
|
|
"dev:webpack": "cross-env NODE_ENV=development webpack serve --mode development",
|
2019-12-17 20:25:57 +00:00
|
|
|
"dev:typed-scss": "yarn build:typed-scss -w",
|
2020-07-13 23:47:27 +00:00
|
|
|
"dev:storybook": "cross-env SIGNAL_ENV=storybook start-storybook -p 6006 -s ./",
|
2021-04-06 20:12:33 +00:00
|
|
|
"storybook:axe": "build-storybook && axe-storybook",
|
2021-12-14 16:43:46 +00:00
|
|
|
"build": "run-s --print-label generate build:typed-scss build:webpack build:fuses:release build:release build:fuses build:zip",
|
2020-09-16 16:40:15 +00:00
|
|
|
"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",
|
2021-08-09 20:06:21 +00:00
|
|
|
"build:webpack": "run-p build:webpack:sticker-creator build:webpack:preload build:webpack:sql-worker build:webpack:heic-worker",
|
2021-04-14 19:43:11 +00:00
|
|
|
"build:webpack:sticker-creator": "cross-env NODE_ENV=production webpack",
|
|
|
|
"build:webpack:preload": "cross-env NODE_ENV=production webpack -c webpack-preload.config.ts",
|
|
|
|
"build:webpack:sql-worker": "cross-env NODE_ENV=production webpack -c webpack-sql-worker.config.ts",
|
2021-08-09 20:06:21 +00:00
|
|
|
"build:webpack:heic-worker": "cross-env NODE_ENV=production webpack -c webpack-heic-worker.config.ts",
|
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",
|
2021-05-07 18:04:38 +00:00
|
|
|
"build:fuses": "node scripts/fuse-electron.js",
|
2021-11-23 22:00:44 +00:00
|
|
|
"build:fuses:release": "node scripts/fuse-electron.js --release",
|
2021-12-14 16:43:46 +00:00
|
|
|
"build:zip": "node ts/scripts/zip-macos-release.js",
|
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"
|
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": {
|
2021-08-03 17:04:49 +00:00
|
|
|
"@popperjs/core": "2.9.2",
|
2021-10-14 16:52:42 +00:00
|
|
|
"@react-spring/web": "9.2.6",
|
2021-12-03 22:49:15 +00:00
|
|
|
"@signalapp/signal-client": "0.11.1",
|
2018-11-16 01:08:35 +00:00
|
|
|
"@sindresorhus/is": "0.8.0",
|
2021-12-01 02:14:25 +00:00
|
|
|
"@types/fabric": "4.5.3",
|
2020-09-28 23:46:31 +00:00
|
|
|
"abort-controller": "3.0.0",
|
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",
|
2021-11-08 21:43:37 +00:00
|
|
|
"better-sqlite3": "https://github.com/signalapp/better-sqlite3#92ed9e36351577fe007d139fbd7b4f3e797a8454",
|
2021-09-29 20:59:37 +00:00
|
|
|
"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",
|
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",
|
2021-09-16 23:25:11 +00:00
|
|
|
"emoji-datasource": "7.0.2",
|
|
|
|
"emoji-datasource-apple": "7.0.2",
|
|
|
|
"emoji-regex": "9.2.2",
|
2020-10-22 19:06:18 +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",
|
2019-06-27 20:35:21 +00:00
|
|
|
"fuse.js": "3.4.4",
|
2020-02-27 01:53:39 +00:00
|
|
|
"glob": "7.1.6",
|
2021-02-16 20:10:17 +00:00
|
|
|
"google-libphonenumber": "3.2.17",
|
2021-10-06 16:25:22 +00:00
|
|
|
"got": "11.8.2",
|
2021-08-09 20:06:21 +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",
|
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",
|
2020-05-05 21:18:27 +00:00
|
|
|
"mkdirp": "0.5.2",
|
2021-05-07 15:44:41 +00:00
|
|
|
"moment": "2.29.1",
|
2018-11-16 01:08:35 +00:00
|
|
|
"mustache": "2.3.0",
|
2020-09-14 17:10:05 +00:00
|
|
|
"node-fetch": "2.6.1",
|
2020-09-04 01:25:19 +00:00
|
|
|
"node-forge": "0.10.0",
|
2020-02-21 23:40:04 +00:00
|
|
|
"normalize-path": "3.0.0",
|
2020-05-05 21:18:27 +00:00
|
|
|
"os-locale": "3.0.1",
|
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",
|
2020-10-21 16:53:32 +00:00
|
|
|
"parchment": "1.1.4",
|
2018-11-16 01:08:35 +00:00
|
|
|
"pify": "3.0.0",
|
2021-03-10 22:41:38 +00:00
|
|
|
"pino": "6.11.1",
|
|
|
|
"pino-multi-stream": "5.3.0",
|
2021-02-13 00:43:24 +00:00
|
|
|
"protobufjs": "6.10.2",
|
2021-09-03 00:29:15 +00:00
|
|
|
"proxy-agent": "5.0.0",
|
2020-10-21 16:53:32 +00:00
|
|
|
"quill": "1.3.7",
|
|
|
|
"quill-delta": "4.0.1",
|
2019-01-14 21:49:58 +00:00
|
|
|
"react": "16.8.3",
|
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",
|
2019-01-14 21:49:58 +00:00
|
|
|
"react-dom": "16.8.3",
|
2019-12-17 20:25:57 +00:00
|
|
|
"react-dropzone": "10.1.7",
|
|
|
|
"react-hot-loader": "4.12.11",
|
2019-06-27 20:35:21 +00:00
|
|
|
"react-measure": "2.3.0",
|
2021-08-03 17:04:49 +00:00
|
|
|
"react-popper": "2.2.5",
|
2020-10-21 16:53:32 +00:00
|
|
|
"react-quill": "2.0.0-beta.2",
|
2019-12-17 20:25:57 +00:00
|
|
|
"react-redux": "7.1.0",
|
|
|
|
"react-router-dom": "5.0.1",
|
|
|
|
"react-sortable-hoc": "1.9.1",
|
2019-01-14 21:49:58 +00:00
|
|
|
"react-virtualized": "9.21.0",
|
2021-01-12 00:23:03 +00:00
|
|
|
"read-last-lines": "1.8.0",
|
2021-11-01 19:13:35 +00:00
|
|
|
"redux": "4.0.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",
|
2021-12-03 20:22:58 +00:00
|
|
|
"ringrtc": "https://github.com/signalapp/signal-ringrtc-node.git#7564aff3d10f7c9b70134a0dc8acdfe8512f75e1",
|
2021-03-10 22:41:38 +00:00
|
|
|
"rotating-file-stream": "2.1.5",
|
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-12-03 22:49:15 +00:00
|
|
|
"sharp": "0.29.3",
|
2021-10-21 22:53:14 +00:00
|
|
|
"split2": "4.0.0",
|
2018-11-16 01:08:35 +00:00
|
|
|
"testcheck": "1.0.0-rc.2",
|
2019-12-19 23:27:02 +00:00
|
|
|
"typeface-inter": "3.10.0",
|
2021-05-07 19:04:05 +00:00
|
|
|
"underscore": "1.12.1",
|
2018-11-16 01:08:35 +00:00
|
|
|
"uuid": "3.3.2",
|
2020-04-15 23:12:28 +00:00
|
|
|
"websocket": "1.0.28",
|
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",
|
2019-12-19 23:27:02 +00:00
|
|
|
"@babel/plugin-proposal-class-properties": "7.7.4",
|
2021-09-03 21:39:46 +00:00
|
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "7.14.5",
|
2021-03-11 20:36:31 +00:00
|
|
|
"@babel/plugin-proposal-optional-chaining": "7.13.8",
|
2020-02-21 23:40:04 +00:00
|
|
|
"@babel/plugin-transform-runtime": "7.8.3",
|
2021-12-15 18:08:04 +00:00
|
|
|
"@babel/plugin-transform-typescript": "7.16.1",
|
2020-01-07 01:49:00 +00:00
|
|
|
"@babel/preset-react": "7.7.4",
|
2021-11-12 23:44:20 +00:00
|
|
|
"@babel/preset-typescript": "7.16.0",
|
2021-04-13 21:33:24 +00:00
|
|
|
"@chanzuckerberg/axe-storybook-testing": "3.0.2",
|
2021-11-23 22:00:44 +00:00
|
|
|
"@electron/fuses": "1.5.0",
|
2019-12-17 20:25:57 +00:00
|
|
|
"@storybook/addon-actions": "5.1.11",
|
|
|
|
"@storybook/addon-knobs": "5.1.11",
|
|
|
|
"@storybook/addons": "5.1.11",
|
|
|
|
"@storybook/react": "5.1.11",
|
2021-08-30 21:32:56 +00:00
|
|
|
"@types/backbone": "1.4.5",
|
2021-08-17 16:17:16 +00:00
|
|
|
"@types/better-sqlite3": "7.4.0",
|
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",
|
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",
|
2018-11-16 01:08:35 +00:00
|
|
|
"@types/google-libphonenumber": "7.4.14",
|
2019-12-17 20:25:57 +00:00
|
|
|
"@types/history": "4.7.2",
|
2021-05-03 23:24:40 +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",
|
2019-03-28 17:09:26 +00:00
|
|
|
"@types/js-yaml": "3.12.0",
|
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",
|
2019-03-28 17:09:26 +00:00
|
|
|
"@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",
|
2021-04-02 18:48:25 +00:00
|
|
|
"@types/node": "14.14.37",
|
2020-08-11 21:23:37 +00:00
|
|
|
"@types/node-fetch": "2.5.7",
|
2020-09-04 01:25:19 +00:00
|
|
|
"@types/node-forge": "0.9.5",
|
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",
|
2021-09-03 00:29:15 +00:00
|
|
|
"@types/pino": "6.3.6",
|
|
|
|
"@types/pino-multi-stream": "5.1.0",
|
2020-10-21 16:53:32 +00:00
|
|
|
"@types/quill": "1.3.10",
|
2021-09-29 20:59:37 +00:00
|
|
|
"@types/react": "16.8.6",
|
2019-01-14 21:49:58 +00:00
|
|
|
"@types/react-dom": "16.8.2",
|
2019-06-27 20:35:21 +00:00
|
|
|
"@types/react-measure": "2.0.5",
|
2019-12-17 20:25:57 +00:00
|
|
|
"@types/react-redux": "7.1.2",
|
|
|
|
"@types/react-router-dom": "4.3.4",
|
|
|
|
"@types/react-sortable-hoc": "0.6.5",
|
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-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",
|
2021-10-21 22:53:14 +00:00
|
|
|
"@types/split2": "3.2.1",
|
2019-12-17 20:25:57 +00:00
|
|
|
"@types/storybook__addon-actions": "3.4.3",
|
|
|
|
"@types/storybook__addon-knobs": "5.0.3",
|
|
|
|
"@types/storybook__react": "4.0.2",
|
2021-04-07 22:40:12 +00:00
|
|
|
"@types/terser-webpack-plugin": "5.0.3",
|
2020-07-10 18:28:49 +00:00
|
|
|
"@types/underscore": "1.10.3",
|
2019-03-28 17:09:26 +00:00
|
|
|
"@types/uuid": "3.4.4",
|
2021-04-07 19:59:58 +00:00
|
|
|
"@types/webpack-dev-server": "3.11.3",
|
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",
|
2021-12-14 01:15:24 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.6.0",
|
|
|
|
"@typescript-eslint/parser": "5.6.0",
|
2018-11-16 01:08:35 +00:00
|
|
|
"arraybuffer-loader": "1.0.3",
|
2021-11-16 00:49:34 +00:00
|
|
|
"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",
|
2021-05-17 18:03:42 +00:00
|
|
|
"chai": "4.3.4",
|
|
|
|
"chai-as-promised": "7.1.1",
|
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",
|
2021-12-09 08:06:04 +00:00
|
|
|
"electron": "16.0.4",
|
2021-12-03 22:49:15 +00:00
|
|
|
"electron-builder": "22.14.5",
|
2021-12-09 08:06:04 +00:00
|
|
|
"electron-mocha": "11.0.2",
|
2020-05-05 21:18:27 +00:00
|
|
|
"electron-notarize": "0.1.1",
|
2020-09-01 00:09:28 +00:00
|
|
|
"eslint": "7.7.0",
|
2021-12-14 01:15:24 +00:00
|
|
|
"eslint-config-airbnb-typescript-prettier": "4.2.0",
|
2020-09-01 00:09:28 +00:00
|
|
|
"eslint-config-prettier": "6.11.0",
|
|
|
|
"eslint-plugin-import": "2.22.0",
|
2021-09-10 16:22:13 +00:00
|
|
|
"eslint-plugin-mocha": "9.0.0",
|
2020-09-01 00:09:28 +00:00
|
|
|
"eslint-plugin-more": "1.0.0",
|
|
|
|
"eslint-plugin-react": "7.20.6",
|
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",
|
2021-12-09 08:06:04 +00:00
|
|
|
"mocha": "9.1.3",
|
2018-11-16 01:08:35 +00:00
|
|
|
"mocha-testcheck": "1.0.0-rc.0",
|
2021-11-08 21:43:37 +00:00
|
|
|
"node-gyp": "7.1.2",
|
|
|
|
"node-sass": "6.0.1",
|
2018-11-16 01:08:35 +00:00
|
|
|
"node-sass-import-once": "1.2.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",
|
2021-12-09 08:06:04 +00:00
|
|
|
"playwright": "1.17.1",
|
2021-11-11 22:43:05 +00:00
|
|
|
"prettier": "2.4.1",
|
2018-11-16 01:08:35 +00:00
|
|
|
"react-docgen-typescript": "1.2.6",
|
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",
|
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",
|
2021-08-27 20:21:42 +00:00
|
|
|
"typescript": "4.4.2",
|
2021-04-07 19:59:58 +00:00
|
|
|
"webpack": "5.30.0",
|
|
|
|
"webpack-cli": "4.6.0",
|
|
|
|
"webpack-dev-server": "3.11.2"
|
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",
|
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",
|
2021-12-15 01:00:01 +00:00
|
|
|
"sharp/color/color-string": "1.7.4"
|
2020-09-14 17:10:05 +00:00
|
|
|
},
|
2018-03-02 19:43:03 +00:00
|
|
|
"engines": {
|
2021-12-09 08:06:04 +00:00
|
|
|
"node": "16.9.1"
|
2018-03-02 19:43:03 +00:00
|
|
|
},
|
2017-03-10 18:35:58 +00:00
|
|
|
"build": {
|
|
|
|
"appId": "org.whispersystems.signal-desktop",
|
|
|
|
"mac": {
|
2020-04-15 23:12:28 +00:00
|
|
|
"asarUnpack": [
|
2021-11-11 15:24:28 +00:00
|
|
|
"**/*.node"
|
2020-04-15 23:12:28 +00:00
|
|
|
],
|
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"
|
|
|
|
}
|
|
|
|
],
|
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",
|
|
|
|
"arm64"
|
|
|
|
]
|
|
|
|
}
|
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": {
|
2019-12-19 23:27:02 +00:00
|
|
|
"asarUnpack": [
|
2020-08-13 01:30:47 +00:00
|
|
|
"**/*.node",
|
2019-12-19 23:27:02 +00:00
|
|
|
"node_modules/spellchecker/vendor/hunspell_dictionaries",
|
2021-11-11 15:24:28 +00:00
|
|
|
"node_modules/sharp"
|
2019-12-19 23:27:02 +00:00
|
|
|
],
|
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"
|
|
|
|
}
|
|
|
|
],
|
2017-05-05 23:28:27 +00:00
|
|
|
"target": [
|
2018-05-01 16:47:10 +00:00
|
|
|
"nsis"
|
2019-05-24 23:58:27 +00:00
|
|
|
]
|
2017-03-10 18:35:58 +00:00
|
|
|
},
|
2018-03-05 23:24:56 +00:00
|
|
|
"nsis": {
|
|
|
|
"deleteAppDataOnUninstall": true
|
|
|
|
},
|
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"
|
|
|
|
},
|
2019-12-19 23:27:02 +00:00
|
|
|
"asarUnpack": [
|
2020-08-13 01:30:47 +00:00
|
|
|
"**/*.node",
|
2019-12-19 23:27:02 +00:00
|
|
|
"node_modules/spellchecker/vendor/hunspell_dictionaries",
|
2021-11-11 15:24:28 +00:00
|
|
|
"node_modules/sharp"
|
2019-12-19 23:27:02 +00:00
|
|
|
],
|
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-06 18:05:26 +00:00
|
|
|
"beforeBuild": "scripts/install-cross-deps.js",
|
2021-04-05 22:18:19 +00:00
|
|
|
"asarUnpack": [
|
2021-08-09 20:06:21 +00:00
|
|
|
"ts/workers/heicConverter.bundle.js",
|
2021-04-14 19:43:11 +00:00
|
|
|
"ts/sql/mainWorker.bundle.js",
|
|
|
|
"node_modules/better-sqlite3/build/Release/better_sqlite3.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/**",
|
|
|
|
"protos/*",
|
|
|
|
"js/**",
|
2021-04-16 23:13:13 +00:00
|
|
|
"libtextsecure/**",
|
2018-04-11 19:10:57 +00:00
|
|
|
"ts/**/*.js",
|
|
|
|
"ts/*.js",
|
2017-04-10 07:22:38 +00:00
|
|
|
"stylesheets/*.css",
|
|
|
|
"!js/register.js",
|
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",
|
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/**",
|
2019-12-17 20:25:57 +00:00
|
|
|
"sticker-creator/preload.js",
|
|
|
|
"sticker-creator/dist/**",
|
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/**",
|
2017-03-30 22:06:41 +00:00
|
|
|
"!**/*.{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}",
|
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",
|
2021-12-03 22:49:15 +00:00
|
|
|
"node_modules/sharp/build/**/*${arch}*.node",
|
2021-12-06 18:05:26 +00:00
|
|
|
"!node_modules/sharp/{install,src,vendor}",
|
|
|
|
"!node_modules/sharp/vendor",
|
|
|
|
"node_modules/sharp/vendor/*/*${arch}*/**",
|
|
|
|
"!node_modules/sharp/vendor/*/*${arch}*/**/include/**",
|
2021-04-05 22:18:19 +00:00
|
|
|
"!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",
|
2021-12-03 22:49:15 +00:00
|
|
|
"node_modules/@signalapp/signal-client/prebuilds/${platform}-${arch}/*.node",
|
|
|
|
"node_modules/ringrtc/build/${platform}/*${arch}*.node",
|
2021-05-20 21:54:03 +00:00
|
|
|
"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
|
|
|
]
|
2014-10-30 01:32:29 +00:00
|
|
|
}
|
|
|
|
}
|