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-10-21 23:00:55 +00:00
|
|
|
"version": "5.22.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-05-07 18:04:38 +00:00
|
|
|
"postinstall": "yarn build:acknowledgments && yarn build:fuses && snyk protect && patch-package && electron-builder 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 .",
|
2018-05-01 16:49:22 +00:00
|
|
|
"grunt": "grunt",
|
2020-04-15 17:25:20 +00:00
|
|
|
"generate": "yarn grunt",
|
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",
|
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",
|
2018-04-11 18:57:15 +00:00
|
|
|
"test-electron": "yarn grunt test",
|
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",
|
2020-09-28 19:01:53 +00:00
|
|
|
"ready": "npm-run-all --print-label clean-transpile grunt --parallel lint lint-deps test-node test-electron",
|
2019-12-17 20:25:57 +00:00
|
|
|
"dev": "run-p --print-label dev:*",
|
2020-02-06 19:28:01 +00:00
|
|
|
"dev:grunt": "yarn grunt 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-05-07 20:59:31 +00:00
|
|
|
"build": "run-s --print-label build:grunt build:typed-scss build:webpack build:release build:zip",
|
2020-09-16 16:40:15 +00:00
|
|
|
"build:acknowledgments": "node scripts/generate-acknowledgments.js",
|
2020-01-09 19:57:43 +00:00
|
|
|
"build:dev": "run-s --print-label build:grunt build:typed-scss build:webpack",
|
2019-12-17 20:25:57 +00:00
|
|
|
"build:grunt": "yarn grunt",
|
|
|
|
"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",
|
2020-05-13 18:44:24 +00:00
|
|
|
"build:zip": "node 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:*",
|
|
|
|
"verify:ts": "tsc --noEmit"
|
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-09-24 00:06:57 +00:00
|
|
|
"@signalapp/signal-client": "0.9.5",
|
2018-11-16 01:08:35 +00:00
|
|
|
"@sindresorhus/is": "0.8.0",
|
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-10-21 20:13:33 +00:00
|
|
|
"better-sqlite3": "https://github.com/signalapp/better-sqlite3#32828e03be0489572ab334239c5768c86697989f",
|
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",
|
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-05-03 23:24:40 +00:00
|
|
|
"humanize-duration": "3.26.0",
|
2018-11-16 01:08:35 +00:00
|
|
|
"intl-tel-input": "12.1.15",
|
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",
|
2019-01-14 21:49:58 +00:00
|
|
|
"redux": "4.0.1",
|
|
|
|
"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",
|
2019-01-14 21:49:58 +00:00
|
|
|
"reselect": "4.0.0",
|
2018-11-16 01:08:35 +00:00
|
|
|
"rimraf": "2.6.2",
|
2021-10-21 21:58:40 +00:00
|
|
|
"ringrtc": "https://github.com/signalapp/signal-ringrtc-node.git#f8764156753e68eb85220dc1c04a6ced3704bedf",
|
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-04-09 15:25:52 +00:00
|
|
|
"sharp": "0.28.1",
|
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",
|
|
|
|
"tmp": "0.0.33",
|
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-09-30 18:06:03 +00:00
|
|
|
"zkgroup": "https://github.com/signalapp/signal-zkgroup-node.git#0d2b3874d2e671fa5fdcc2154065cc061f977672",
|
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",
|
2020-01-07 01:49:00 +00:00
|
|
|
"@babel/preset-react": "7.7.4",
|
2021-05-27 15:44:06 +00:00
|
|
|
"@babel/preset-typescript": "7.13.0",
|
2021-04-13 21:33:24 +00:00
|
|
|
"@chanzuckerberg/axe-storybook-testing": "3.0.2",
|
2021-08-04 22:15:38 +00:00
|
|
|
"@electron/fuses": "1.2.1",
|
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-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",
|
2018-11-16 01:08:35 +00:00
|
|
|
"@types/mocha": "5.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-04-09 15:25:52 +00:00
|
|
|
"@types/sharp": "0.28.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",
|
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-08-31 16:47:57 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "4.30.0",
|
|
|
|
"@typescript-eslint/parser": "4.30.0",
|
2018-11-16 01:08:35 +00:00
|
|
|
"arraybuffer-loader": "1.0.3",
|
|
|
|
"asar": "0.14.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-10-20 23:42:39 +00:00
|
|
|
"electron": "13.5.1",
|
2021-08-04 22:15:38 +00:00
|
|
|
"electron-builder": "22.11.7",
|
2021-09-16 21:00:52 +00:00
|
|
|
"electron-mocha": "10.1.0",
|
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",
|
|
|
|
"eslint-config-airbnb-typescript-prettier": "3.1.0",
|
|
|
|
"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-05-06 22:07:11 +00:00
|
|
|
"grunt": "1.4.0",
|
2018-11-16 01:08:35 +00:00
|
|
|
"grunt-cli": "1.2.0",
|
|
|
|
"grunt-contrib-concat": "1.0.1",
|
|
|
|
"grunt-contrib-copy": "1.0.0",
|
|
|
|
"grunt-contrib-watch": "1.0.0",
|
|
|
|
"grunt-exec": "3.0.0",
|
|
|
|
"grunt-gitinfo": "0.1.7",
|
|
|
|
"grunt-sass": "3.0.1",
|
2021-04-07 19:59:58 +00:00
|
|
|
"html-webpack-plugin": "5.3.1",
|
2019-08-19 17:59:30 +00:00
|
|
|
"jsdoc": "3.6.2",
|
2018-11-16 01:08:35 +00:00
|
|
|
"mocha": "4.1.0",
|
|
|
|
"mocha-testcheck": "1.0.0-rc.0",
|
2021-01-11 09:57:53 +00:00
|
|
|
"node-gyp": "^6.1.0",
|
2020-09-04 15:35:42 +00:00
|
|
|
"node-sass": "4.14.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-04-26 16:38:50 +00:00
|
|
|
"prettier": "^2.2.1",
|
2018-11-16 01:08:35 +00:00
|
|
|
"react-docgen-typescript": "1.2.6",
|
2019-12-17 20:25:57 +00:00
|
|
|
"sass-loader": "7.2.0",
|
2021-07-22 19:53:49 +00:00
|
|
|
"sinon": "11.1.1",
|
2020-05-05 21:18:27 +00:00
|
|
|
"snyk": "1.316.1",
|
2018-11-28 00:20:48 +00:00
|
|
|
"spectron": "5.0.0",
|
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",
|
|
|
|
"typed-scss-modules": "0.0.11",
|
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",
|
|
|
|
"fast-glob/glob-parent": "5.1.2",
|
|
|
|
"read-last-lines/mz/thenify-all/thenify": "3.3.1",
|
2021-06-28 19:16:55 +00:00
|
|
|
"sharp/color/color-string": "1.5.5"
|
2020-09-14 17:10:05 +00:00
|
|
|
},
|
2018-03-02 19:43:03 +00:00
|
|
|
"engines": {
|
2021-04-03 00:29:14 +00:00
|
|
|
"node": "14.16.0"
|
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": [
|
2020-04-28 21:26:30 +00:00
|
|
|
"**/*.node",
|
2021-01-27 22:39:09 +00:00
|
|
|
"node_modules/zkgroup/libzkgroup.*",
|
2021-05-20 21:54:03 +00:00
|
|
|
"node_modules/@signalapp/signal-client/build/*.node",
|
|
|
|
"node_modules/mac-screen-capture-permissions/build/Release/*.node"
|
2020-04-15 23:12:28 +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}-mac-${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": [
|
2019-08-20 19:34:52 +00:00
|
|
|
"zip",
|
|
|
|
"dmg"
|
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",
|
2020-04-15 23:12:28 +00:00
|
|
|
"node_modules/sharp",
|
2021-01-27 22:39:09 +00:00
|
|
|
"node_modules/zkgroup/libzkgroup.*",
|
2021-05-14 01:18:43 +00:00
|
|
|
"node_modules/@signalapp/signal-client/build/*.node"
|
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",
|
2020-04-15 23:12:28 +00:00
|
|
|
"node_modules/sharp",
|
2021-01-27 22:39:09 +00:00
|
|
|
"node_modules/zkgroup/libzkgroup.*",
|
2021-05-14 01:18:43 +00:00
|
|
|
"node_modules/@signalapp/signal-client/build/*.node"
|
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-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/**",
|
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",
|
2020-04-15 23:12:28 +00:00
|
|
|
"node_modules/ref-napi/build/Release/*.node",
|
2021-04-05 22:18:19 +00:00
|
|
|
"node_modules/ref-array-napi/node_modules/ref-napi/build/Release/*.node",
|
2020-04-15 23:12:28 +00:00
|
|
|
"node_modules/ffi-napi/build/Release/*.node",
|
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",
|
2019-12-17 20:25:57 +00:00
|
|
|
"node_modules/sharp/build/**",
|
2021-02-12 17:59:50 +00:00
|
|
|
"!node_modules/sharp/{install,src,vendor/include,vendor/*/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-05-14 01:18:43 +00:00
|
|
|
"node_modules/@signalapp/signal-client/build/*${platform}*.node",
|
2021-03-15 21:26:21 +00:00
|
|
|
"node_modules/ringrtc/build/${platform}/**",
|
2021-05-20 21:54:03 +00:00
|
|
|
"node_modules/mac-screen-capture-permissions/build/Release/*.node",
|
2021-03-15 21:26:21 +00:00
|
|
|
"!**/node_modules/ffi-napi/deps",
|
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
|
|
|
}
|
|
|
|
}
|