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",
|
2020-09-01 21:12:00 +00:00
|
|
|
"version": "1.35.1-beta.3",
|
2017-03-08 00:55:24 +00:00
|
|
|
"license": "GPL-3.0",
|
|
|
|
"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
|
|
|
},
|
2017-03-02 22:04:38 +00:00
|
|
|
"main": "main.js",
|
2014-11-23 03:36:52 +00:00
|
|
|
"scripts": {
|
2020-05-05 21:18:27 +00:00
|
|
|
"postinstall": "snyk protect && patch-package && electron-builder install-app-deps && rimraf node_modules/dtrace-provider",
|
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",
|
2019-12-17 20:25:57 +00:00
|
|
|
"build-release": "npm 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",
|
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
- Icons at the top of every screen
- Gray background, blue buttons, thinner text
- Simpler copy
- A new design for the install flow. It features:
- Immediate entry into the QR code screen
- Animated dots to show that we're loading the QR code from the server
- Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
2018-02-22 18:40:32 +00:00
|
|
|
"prepare-beta-build": "node prepare_beta_build.js",
|
|
|
|
"prepare-import-build": "node prepare_import_build.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",
|
2019-08-19 22:26:45 +00:00
|
|
|
"test-node": "electron-mocha --recursive test/app test/modules ts/test",
|
2018-04-11 20:31:35 +00:00
|
|
|
"test-node-coverage": "nyc --reporter=lcov --reporter=text mocha --recursive test/app test/modules ts/test",
|
2018-04-11 18:57:15 +00:00
|
|
|
"eslint": "eslint .",
|
2018-04-30 22:13:30 +00:00
|
|
|
"lint": "yarn format --list-different && yarn lint-windows",
|
2018-07-07 00:48:14 +00:00
|
|
|
"lint-windows": "yarn eslint && yarn tslint",
|
2018-09-20 22:24:52 +00:00
|
|
|
"lint-deps": "node ts/util/lint/linter.js",
|
2018-05-22 19:31:43 +00:00
|
|
|
"tslint": "tslint --format stylish --project .",
|
2018-05-04 20:04:06 +00:00
|
|
|
"format": "prettier --write \"*.{css,js,json,md,scss,ts,tsx}\" \"./**/*.{css,js,json,md,scss,ts,tsx}\"",
|
2018-03-26 18:44:45 +00:00
|
|
|
"transpile": "tsc",
|
2019-04-03 00:46:30 +00:00
|
|
|
"clean-transpile": "rimraf ts/**/*.js && rimraf ts/*.js",
|
2018-04-03 22:56:12 +00:00
|
|
|
"open-coverage": "open coverage/lcov-report/index.html",
|
2019-12-17 20:25:57 +00:00
|
|
|
"ready": "yarn clean-transpile && yarn grunt && yarn lint && yarn test-node && yarn test-electron && yarn lint-deps",
|
|
|
|
"dev": "run-p --print-label dev:*",
|
2020-02-06 19:28:01 +00:00
|
|
|
"dev:grunt": "yarn grunt dev",
|
2020-07-13 23:47:27 +00:00
|
|
|
"dev:webpack": "cross-env NODE_ENV=development webpack-dev-server --hot",
|
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 ./",
|
2020-05-13 18:44:24 +00:00
|
|
|
"build": "run-s --print-label build:grunt build:typed-scss build:webpack build:release build:zip",
|
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",
|
|
|
|
"build:webpack": "cross-env NODE_ENV=production webpack",
|
|
|
|
"build:electron": "electron-builder --config.extraMetadata.environment=$SIGNAL_ENV",
|
|
|
|
"build:release": "cross-env SIGNAL_ENV=production npm run build:electron -- --config.directories.output=release",
|
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": {
|
2020-02-19 21:11:06 +00:00
|
|
|
"@journeyapps/sqlcipher": "https://github.com/scottnonnenberg-signal/node-sqlcipher.git#b10f232fac62ba7f8775c9e086bb5558fe7d948b",
|
2018-11-16 01:08:35 +00:00
|
|
|
"@sindresorhus/is": "0.8.0",
|
2019-12-17 20:25:57 +00:00
|
|
|
"array-move": "2.1.0",
|
2018-11-16 01:08:35 +00:00
|
|
|
"backbone": "1.3.3",
|
|
|
|
"blob-util": "1.3.0",
|
|
|
|
"blueimp-canvas-to-blob": "3.14.0",
|
|
|
|
"blueimp-load-image": "2.18.0",
|
2020-05-27 21:37:06 +00:00
|
|
|
"blurhash": "1.1.3",
|
2018-11-16 01:08:35 +00:00
|
|
|
"bunyan": "1.8.12",
|
|
|
|
"classnames": "2.2.5",
|
|
|
|
"config": "1.28.1",
|
2019-12-17 20:25:57 +00:00
|
|
|
"copy-text-to-clipboard": "2.1.0",
|
2020-03-19 17:57:50 +00:00
|
|
|
"curve25519-n": "https://github.com/scottnonnenberg-signal/node-curve25519.git#3e94f60bc54b2426476520d8d1a0aa835c25f5cc",
|
2019-06-27 20:35:21 +00:00
|
|
|
"draft-js": "0.10.5",
|
2020-01-23 21:17:06 +00:00
|
|
|
"emoji-datasource": "5.0.1",
|
|
|
|
"emoji-datasource-apple": "5.0.1",
|
2019-06-27 20:35:21 +00:00
|
|
|
"emoji-regex": "8.0.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",
|
|
|
|
"form-data": "2.3.2",
|
|
|
|
"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",
|
2019-12-03 20:02:50 +00:00
|
|
|
"google-libphonenumber": "3.2.6",
|
2018-11-16 01:08:35 +00:00
|
|
|
"got": "8.2.0",
|
2019-01-16 03:03:56 +00:00
|
|
|
"he": "1.2.0",
|
2019-12-17 20:25:57 +00:00
|
|
|
"history": "4.9.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",
|
2020-08-26 00:36:56 +00:00
|
|
|
"lodash": "4.17.20",
|
2019-03-20 17:42:28 +00:00
|
|
|
"memoizee": "0.4.14",
|
2020-05-05 21:18:27 +00:00
|
|
|
"mkdirp": "0.5.2",
|
2018-11-16 01:08:35 +00:00
|
|
|
"moment": "2.21.0",
|
|
|
|
"mustache": "2.3.0",
|
2020-08-11 21:23:37 +00:00
|
|
|
"node-fetch": "2.6.0",
|
2019-07-19 17:34:38 +00:00
|
|
|
"node-gyp": "5.0.3",
|
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-02-07 19:37:04 +00:00
|
|
|
"p-queue": "6.2.1",
|
2018-11-16 01:08:35 +00:00
|
|
|
"pify": "3.0.0",
|
2019-01-14 21:49:58 +00:00
|
|
|
"protobufjs": "6.8.6",
|
2020-04-28 21:26:30 +00:00
|
|
|
"proxy-agent": "3.1.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",
|
2020-01-07 01:49:00 +00:00
|
|
|
"react-popper": "1.3.7",
|
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",
|
2020-06-04 18:16:19 +00:00
|
|
|
"react-tooltip-lite": "1.12.0",
|
2019-01-14 21:49:58 +00:00
|
|
|
"react-virtualized": "9.21.0",
|
2018-11-16 01:08:35 +00:00
|
|
|
"read-last-lines": "1.3.0",
|
2019-01-14 21:49:58 +00:00
|
|
|
"redux": "4.0.1",
|
|
|
|
"redux-logger": "3.0.6",
|
|
|
|
"redux-promise-middleware": "6.1.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",
|
2020-09-04 13:38:08 +00:00
|
|
|
"ringrtc": "https://github.com/signalapp/signal-ringrtc-node.git#4ad4a1b0fcc9d89231ea48d62523f57936d69b2a",
|
2020-01-09 19:57:43 +00:00
|
|
|
"sanitize-filename": "1.6.3",
|
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",
|
2019-12-17 20:25:57 +00:00
|
|
|
"sharp": "0.23.0",
|
2018-12-13 21:41:42 +00:00
|
|
|
"tar": "4.4.8",
|
2018-11-16 01:08:35 +00:00
|
|
|
"testcheck": "1.0.0-rc.2",
|
|
|
|
"tmp": "0.0.33",
|
|
|
|
"to-arraybuffer": "1.0.1",
|
2019-12-19 23:27:02 +00:00
|
|
|
"typeface-inter": "3.10.0",
|
2018-11-16 01:08:35 +00:00
|
|
|
"underscore": "1.9.0",
|
|
|
|
"uuid": "3.3.2",
|
2020-04-15 23:12:28 +00:00
|
|
|
"websocket": "1.0.28",
|
2020-05-16 00:01:14 +00:00
|
|
|
"zkgroup": "https://github.com/signalapp/signal-zkgroup-node.git#2d7db946cc88492b65cc66e9aa9de0c9e664fd8d"
|
2018-01-08 21:19:25 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-01-07 01:49:00 +00:00
|
|
|
"@babel/core": "7.7.7",
|
2019-12-19 23:27:02 +00:00
|
|
|
"@babel/plugin-proposal-class-properties": "7.7.4",
|
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",
|
|
|
|
"@babel/preset-typescript": "7.7.7",
|
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",
|
2020-04-28 21:26:30 +00:00
|
|
|
"@types/agent-base": "4.2.0",
|
2020-07-27 18:15:32 +00:00
|
|
|
"@types/backbone": "1.4.3",
|
2020-05-27 21:37:06 +00:00
|
|
|
"@types/blueimp-load-image": "2.23.6",
|
2018-11-16 01:08:35 +00:00
|
|
|
"@types/chai": "4.1.2",
|
|
|
|
"@types/classnames": "2.2.3",
|
2019-03-28 17:09:26 +00:00
|
|
|
"@types/config": "0.0.34",
|
2019-06-27 20:35:21 +00:00
|
|
|
"@types/draft-js": "0.10.32",
|
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-03-28 17:09:26 +00:00
|
|
|
"@types/got": "9.4.1",
|
2019-12-17 20:25:57 +00:00
|
|
|
"@types/history": "4.7.2",
|
|
|
|
"@types/html-webpack-plugin": "3.2.1",
|
2020-07-10 18:28:49 +00:00
|
|
|
"@types/jquery": "3.5.0",
|
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",
|
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",
|
2020-08-11 21:23:37 +00:00
|
|
|
"@types/node-fetch": "2.5.7",
|
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",
|
2019-01-14 21:49:58 +00:00
|
|
|
"@types/react": "16.8.5",
|
|
|
|
"@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",
|
2019-12-19 23:27:02 +00:00
|
|
|
"@types/sharp": "0.23.1",
|
2018-11-16 01:08:35 +00:00
|
|
|
"@types/sinon": "4.3.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",
|
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",
|
2019-12-17 20:25:57 +00:00
|
|
|
"@types/webpack": "4.39.0",
|
|
|
|
"@types/webpack-dev-server": "3.1.7",
|
2020-07-10 18:28:49 +00:00
|
|
|
"@types/websocket": "1.0.0",
|
2020-09-01 00:09:28 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "3.10.1",
|
|
|
|
"@typescript-eslint/parser": "3.10.1",
|
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",
|
2018-11-16 01:08:35 +00:00
|
|
|
"chai": "4.1.2",
|
2020-02-27 01:53:39 +00:00
|
|
|
"core-js": "2.4.1",
|
2019-12-17 20:25:57 +00:00
|
|
|
"cross-env": "5.2.0",
|
|
|
|
"css-loader": "3.2.0",
|
2019-03-28 17:09:26 +00:00
|
|
|
"dashdash": "1.14.1",
|
2020-07-02 20:31:06 +00:00
|
|
|
"electron": "8.3.4",
|
2020-03-03 22:08:37 +00:00
|
|
|
"electron-builder": "22.3.6",
|
2020-05-05 21:18:27 +00:00
|
|
|
"electron-mocha": "8.1.1",
|
|
|
|
"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",
|
|
|
|
"eslint-plugin-mocha": "8.0.0",
|
|
|
|
"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",
|
2018-11-16 01:08:35 +00:00
|
|
|
"grunt": "1.0.1",
|
|
|
|
"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",
|
2019-12-17 20:25:57 +00:00
|
|
|
"html-webpack-plugin": "3.2.0",
|
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",
|
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",
|
2019-05-31 22:42:01 +00:00
|
|
|
"patch-package": "6.1.2",
|
2020-01-08 17:44:54 +00:00
|
|
|
"prettier": "1.19.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",
|
2018-11-16 01:08:35 +00:00
|
|
|
"sinon": "4.4.2",
|
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",
|
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",
|
2020-09-01 00:09:28 +00:00
|
|
|
"tslint": "6",
|
2019-12-17 20:25:57 +00:00
|
|
|
"tslint-microsoft-contrib": "6.2.0",
|
2019-01-14 21:49:58 +00:00
|
|
|
"tslint-react": "3.6.0",
|
2019-12-17 20:25:57 +00:00
|
|
|
"typed-scss-modules": "0.0.11",
|
2020-02-07 19:37:04 +00:00
|
|
|
"typescript": "3.7.4",
|
2019-12-17 20:25:57 +00:00
|
|
|
"webpack": "4.39.2",
|
|
|
|
"webpack-cli": "3.3.7",
|
|
|
|
"webpack-dev-server": "3.8.0"
|
2017-03-10 18:35:58 +00:00
|
|
|
},
|
2018-03-02 19:43:03 +00:00
|
|
|
"engines": {
|
2020-02-19 21:48:41 +00:00
|
|
|
"node": "12.13.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",
|
2020-04-15 23:12:28 +00:00
|
|
|
"node_modules/zkgroup/libzkgroup.*"
|
|
|
|
],
|
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",
|
|
|
|
"node_modules/zkgroup/libzkgroup.*"
|
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}",
|
2020-02-20 01:44:03 +00:00
|
|
|
"certificateSubjectName": "Signal (Quiet Riddle Ventures, LLC)",
|
|
|
|
"certificateSha1": "77B2AA4421E5F377454B8B91E573746592D1543D",
|
2017-10-04 21:05:23 +00:00
|
|
|
"publisherName": "Signal (Quiet Riddle Ventures, 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",
|
|
|
|
"node_modules/zkgroup/libzkgroup.*"
|
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",
|
|
|
|
"libappindicator1",
|
|
|
|
"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": [
|
|
|
|
"sgnl"
|
|
|
|
]
|
|
|
|
},
|
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",
|
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/**",
|
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/*",
|
2017-04-10 07:22:38 +00:00
|
|
|
"preload.js",
|
2019-12-17 20:25:57 +00:00
|
|
|
"preload_utils.js",
|
2018-07-03 22:03:13 +00:00
|
|
|
"about_preload.js",
|
2018-07-03 22:33:50 +00:00
|
|
|
"settings_preload.js",
|
2018-07-12 20:03:17 +00:00
|
|
|
"permissions_popup_preload.js",
|
2018-07-03 22:33:50 +00:00
|
|
|
"debug_log_preload.js",
|
2020-03-25 23:45:37 +00:00
|
|
|
"loading_preload.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/**/*",
|
2017-03-30 22:06:41 +00:00
|
|
|
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples,*.d.ts}",
|
|
|
|
"!**/node_modules/.bin",
|
2017-04-26 22:54:46 +00:00
|
|
|
"!**/node_modules/*/build/**",
|
2017-03-30 22:06:41 +00:00
|
|
|
"!**/*.{o,hprof,orig,pyc,pyo,rbc}",
|
|
|
|
"!**/._*",
|
2017-12-06 20:44:16 +00:00
|
|
|
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,thumbs.db,.gitignore,.gitattributes,.editorconfig,.flowconfig,.yarn-metadata.json,.idea,appveyor.yml,.travis.yml,circle.yml,npm-debug.log,.nyc_output,yarn.lock,.yarn-integrity}",
|
|
|
|
"node_modules/spellchecker/build/Release/*.node",
|
2018-08-02 19:25:00 +00:00
|
|
|
"node_modules/websocket/build/Release/*.node",
|
2019-08-19 22:26:45 +00:00
|
|
|
"node_modules/curve25519-n/build/Release/*.node",
|
2020-04-15 23:12:28 +00:00
|
|
|
"node_modules/ref-napi/build/Release/*.node",
|
|
|
|
"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/**",
|
2019-05-13 23:24:00 +00:00
|
|
|
"!node_modules/@journeyapps/sqlcipher/deps/*",
|
|
|
|
"!node_modules/@journeyapps/sqlcipher/build/*",
|
2020-06-04 18:16:19 +00:00
|
|
|
"!node_modules/@journeyapps/sqlcipher/lib/binding/node-*",
|
|
|
|
"node_modules/ringrtc/build/**"
|
2017-04-10 18:07:59 +00:00
|
|
|
]
|
2014-10-30 01:32:29 +00:00
|
|
|
}
|
|
|
|
}
|