2015-06-10 00:40:42 +08:00
|
|
|
{
|
|
|
|
"name": "matrix-react-sdk",
|
2019-12-09 19:34:42 +08:00
|
|
|
"version": "1.7.5",
|
2015-06-10 00:40:42 +08:00
|
|
|
"description": "SDK for matrix.org using React",
|
|
|
|
"author": "matrix.org",
|
2015-06-10 01:52:26 +08:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/matrix-org/matrix-react-sdk"
|
|
|
|
},
|
2015-07-03 22:56:04 +08:00
|
|
|
"license": "Apache-2.0",
|
2015-09-09 23:57:55 +08:00
|
|
|
"main": "lib/index.js",
|
2016-11-01 23:15:31 +08:00
|
|
|
"files": [
|
2018-12-06 19:44:00 +08:00
|
|
|
".babelrc",
|
2017-01-24 00:19:29 +08:00
|
|
|
".eslintrc.js",
|
2016-11-01 23:15:31 +08:00
|
|
|
"CHANGELOG.md",
|
|
|
|
"CONTRIBUTING.rst",
|
|
|
|
"LICENSE",
|
|
|
|
"README.md",
|
|
|
|
"code_style.md",
|
|
|
|
"git-revision.txt",
|
|
|
|
"header",
|
|
|
|
"jenkins.sh",
|
|
|
|
"karma.conf.js",
|
|
|
|
"lib",
|
|
|
|
"package.json",
|
|
|
|
"release.sh",
|
|
|
|
"scripts",
|
|
|
|
"src",
|
2018-04-25 23:07:16 +08:00
|
|
|
"test",
|
|
|
|
"res"
|
2016-11-01 23:15:31 +08:00
|
|
|
],
|
2015-09-11 22:42:11 +08:00
|
|
|
"bin": {
|
2017-10-19 17:51:54 +08:00
|
|
|
"reskindex": "scripts/reskindex.js",
|
2017-10-19 19:11:21 +08:00
|
|
|
"matrix-gen-i18n": "scripts/gen-i18n.js",
|
|
|
|
"matrix-prune-i18n": "scripts/prune-i18n.js"
|
2015-09-11 22:42:11 +08:00
|
|
|
},
|
2015-06-10 00:40:42 +08:00
|
|
|
"scripts": {
|
2017-05-10 00:13:27 +08:00
|
|
|
"reskindex": "node scripts/reskindex.js -h header",
|
|
|
|
"reskindex:watch": "node scripts/reskindex.js -h header -w",
|
2019-01-20 10:31:06 +08:00
|
|
|
"rethemendex": "res/css/rethemendex.sh",
|
2017-10-19 17:51:54 +08:00
|
|
|
"i18n": "matrix-gen-i18n",
|
2017-10-19 19:11:21 +08:00
|
|
|
"prunei18n": "matrix-prune-i18n",
|
2019-07-11 23:39:22 +08:00
|
|
|
"diff-i18n": "cp src/i18n/strings/en_EN.json src/i18n/strings/en_EN_orig.json && ./scripts/gen-i18n.js && node scripts/compare-file.js src/i18n/strings/en_EN_orig.json src/i18n/strings/en_EN.json",
|
2019-03-11 22:22:02 +08:00
|
|
|
"build": "yarn reskindex && yarn start:init",
|
2018-09-26 01:07:46 +08:00
|
|
|
"build:watch": "babel src -w --skip-initial-build -d lib --source-maps --copy-files",
|
2019-03-11 22:22:02 +08:00
|
|
|
"start": "yarn start:init && yarn start:all",
|
|
|
|
"start:all": "concurrently --kill-others-on-fail --prefix \"{time} [{name}]\" -n build,reskindex \"yarn build:watch\" \"yarn reskindex:watch\"",
|
2018-09-26 01:07:46 +08:00
|
|
|
"start:init": "babel src -d lib --source-maps --copy-files",
|
2016-07-02 02:30:53 +08:00
|
|
|
"lint": "eslint src/",
|
2016-07-02 01:38:51 +08:00
|
|
|
"lintall": "eslint src/ test/",
|
2019-01-24 08:38:49 +08:00
|
|
|
"lintwithexclusions": "eslint --max-warnings 0 --ignore-path .eslintignore.errorfiles src test",
|
2019-07-10 01:09:31 +08:00
|
|
|
"stylelint": "stylelint 'res/css/**/*.scss'",
|
2015-09-09 23:57:55 +08:00
|
|
|
"clean": "rimraf lib",
|
2019-03-12 00:06:05 +08:00
|
|
|
"prepare": "yarn clean && yarn build && git rev-parse HEAD > git-revision.txt",
|
2019-03-14 12:11:45 +08:00
|
|
|
"test": "karma start --single-run=true --browsers VectorChromeHeadless",
|
2019-10-09 23:38:18 +08:00
|
|
|
"test-multi": "karma start",
|
|
|
|
"e2etests": "./test/end-to-end-tests/run.sh --riot-url http://localhost:8080"
|
2015-06-10 00:40:42 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-11-22 00:56:44 +08:00
|
|
|
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
2018-10-09 23:28:24 +08:00
|
|
|
"babel-runtime": "^6.26.0",
|
2016-11-15 19:22:39 +08:00
|
|
|
"blueimp-canvas-to-blob": "^3.5.0",
|
2016-12-01 21:12:22 +08:00
|
|
|
"browser-encrypt-attachment": "^0.3.0",
|
2016-05-16 22:35:39 +08:00
|
|
|
"browser-request": "^0.3.3",
|
2015-06-13 00:34:17 +08:00
|
|
|
"classnames": "^2.1.2",
|
2018-01-08 04:32:41 +08:00
|
|
|
"commonmark": "^0.28.1",
|
2017-05-25 18:24:17 +08:00
|
|
|
"counterpart": "^0.18.0",
|
2019-08-05 17:08:30 +08:00
|
|
|
"create-react-class": "^15.6.0",
|
2019-07-23 15:12:24 +08:00
|
|
|
"diff-dom": "^4.1.3",
|
2019-07-19 22:09:23 +08:00
|
|
|
"diff-match-patch": "^1.0.4",
|
2019-10-01 17:59:14 +08:00
|
|
|
"emojibase-data": "^4.0.2",
|
2019-05-19 23:11:12 +08:00
|
|
|
"emojibase-regex": "^3.0.0",
|
2019-11-09 07:07:11 +08:00
|
|
|
"escape-html": "^1.0.3",
|
2017-01-20 23:12:50 +08:00
|
|
|
"file-saver": "^1.3.3",
|
2017-04-30 20:00:47 +08:00
|
|
|
"filesize": "3.5.6",
|
2017-06-10 04:42:34 +08:00
|
|
|
"flux": "2.1.1",
|
2019-09-27 16:00:54 +08:00
|
|
|
"focus-visible": "^5.0.2",
|
2016-06-01 19:24:21 +08:00
|
|
|
"fuse.js": "^2.2.0",
|
2019-08-05 17:07:25 +08:00
|
|
|
"gemini-scrollbar": "github:matrix-org/gemini-scrollbar#91e1e566",
|
2018-04-18 17:53:01 +08:00
|
|
|
"gfm.css": "^1.1.1",
|
2015-09-17 19:10:01 +08:00
|
|
|
"glob": "^5.0.14",
|
2019-11-01 03:20:08 +08:00
|
|
|
"glob-to-regexp": "^0.4.1",
|
2019-06-28 03:36:45 +08:00
|
|
|
"highlight.js": "^9.15.8",
|
2020-01-03 08:40:18 +08:00
|
|
|
"humanize": "^0.0.9",
|
2018-12-06 09:00:09 +08:00
|
|
|
"is-ip": "^2.0.0",
|
2016-11-12 01:22:44 +08:00
|
|
|
"isomorphic-fetch": "^2.2.1",
|
2018-06-24 02:28:42 +08:00
|
|
|
"linkifyjs": "^2.1.6",
|
2019-07-11 17:52:18 +08:00
|
|
|
"lodash": "^4.17.14",
|
2019-09-18 04:37:59 +08:00
|
|
|
"lolex": "4.2",
|
2019-12-11 18:39:04 +08:00
|
|
|
"matrix-js-sdk": "github:matrix-org/matrix-js-sdk#develop",
|
2015-09-17 19:10:01 +08:00
|
|
|
"optimist": "^0.6.1",
|
2018-04-18 17:53:01 +08:00
|
|
|
"pako": "^1.0.5",
|
2019-01-15 01:10:20 +08:00
|
|
|
"png-chunks-extract": "^1.0.0",
|
2017-05-04 23:22:06 +08:00
|
|
|
"prop-types": "^15.5.8",
|
2018-06-12 18:11:43 +08:00
|
|
|
"qrcode-react": "^0.1.16",
|
2019-03-06 05:32:14 +08:00
|
|
|
"qs": "^6.6.0",
|
2017-11-10 19:42:56 +08:00
|
|
|
"querystring": "^0.2.0",
|
2019-09-07 02:19:06 +08:00
|
|
|
"react": "^16.9.0",
|
|
|
|
"react-addons-css-transition-group": "15.6.2",
|
2018-04-18 17:53:01 +08:00
|
|
|
"react-beautiful-dnd": "^4.0.1",
|
2019-09-07 02:19:06 +08:00
|
|
|
"react-dom": "^16.9.0",
|
2020-01-03 08:40:18 +08:00
|
|
|
"react-focus-lock": "^2.2.1",
|
2019-09-18 00:55:49 +08:00
|
|
|
"react-gemini-scrollbar": "github:matrix-org/react-gemini-scrollbar#9cf17f63b7c0b0ec5f31df27da0f82f7238dc594",
|
2018-07-13 01:43:49 +08:00
|
|
|
"resize-observer-polyfill": "^1.5.0",
|
2018-09-18 01:20:12 +08:00
|
|
|
"sanitize-html": "^1.18.4",
|
2017-01-18 19:39:44 +08:00
|
|
|
"text-encoding-utf-8": "^1.0.1",
|
2017-07-06 16:28:48 +08:00
|
|
|
"url": "^0.11.0",
|
2019-03-20 18:54:06 +08:00
|
|
|
"velocity-animate": "^1.5.2",
|
2019-12-07 21:07:52 +08:00
|
|
|
"what-input": "^5.2.6",
|
2018-11-23 23:50:23 +08:00
|
|
|
"whatwg-fetch": "^1.1.1",
|
|
|
|
"zxcvbn": "^4.4.2"
|
2015-06-10 00:40:42 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-10-09 23:28:24 +08:00
|
|
|
"babel-cli": "^6.26.0",
|
|
|
|
"babel-core": "^6.26.3",
|
2018-10-27 11:48:11 +08:00
|
|
|
"babel-eslint": "^10.0.1",
|
2018-10-09 23:28:24 +08:00
|
|
|
"babel-loader": "^7.1.5",
|
2016-10-17 22:36:27 +08:00
|
|
|
"babel-plugin-add-module-exports": "^0.2.1",
|
2019-03-29 00:22:17 +08:00
|
|
|
"babel-plugin-transform-builtin-extend": "^1.1.2",
|
2018-10-09 23:28:24 +08:00
|
|
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
|
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
|
|
|
"babel-polyfill": "^6.26.0",
|
|
|
|
"babel-preset-es2015": "^6.24.1",
|
|
|
|
"babel-preset-es2016": "^6.24.1",
|
|
|
|
"babel-preset-es2017": "^6.24.1",
|
|
|
|
"babel-preset-react": "^6.24.1",
|
2019-03-06 22:07:26 +08:00
|
|
|
"chokidar": "^2.1.2",
|
2018-09-26 01:07:46 +08:00
|
|
|
"concurrently": "^4.0.1",
|
2019-01-10 02:10:35 +08:00
|
|
|
"eslint": "^5.12.0",
|
2017-01-20 22:08:14 +08:00
|
|
|
"eslint-config-google": "^0.7.1",
|
2018-10-27 11:48:11 +08:00
|
|
|
"eslint-plugin-babel": "^5.2.1",
|
2017-01-20 22:08:14 +08:00
|
|
|
"eslint-plugin-flowtype": "^2.30.0",
|
2019-11-27 21:31:44 +08:00
|
|
|
"eslint-plugin-jest": "^23.0.4",
|
2018-05-03 00:30:37 +08:00
|
|
|
"eslint-plugin-react": "^7.7.0",
|
2019-10-07 23:52:50 +08:00
|
|
|
"eslint-plugin-react-hooks": "^2.0.1",
|
2017-10-18 02:19:01 +08:00
|
|
|
"estree-walker": "^0.5.0",
|
2019-03-06 22:07:26 +08:00
|
|
|
"expect": "^24.1.0",
|
2019-01-19 00:55:00 +08:00
|
|
|
"file-loader": "^3.0.1",
|
2017-10-18 02:19:01 +08:00
|
|
|
"flow-parser": "^0.57.3",
|
2018-12-25 10:55:10 +08:00
|
|
|
"jest-mock": "^23.2.0",
|
2019-03-06 22:07:26 +08:00
|
|
|
"karma": "^4.0.1",
|
2019-03-14 12:11:45 +08:00
|
|
|
"karma-chrome-launcher": "^2.2.0",
|
2018-10-09 23:28:24 +08:00
|
|
|
"karma-cli": "^1.0.1",
|
2017-07-27 21:47:22 +08:00
|
|
|
"karma-logcapture-reporter": "0.0.1",
|
2018-10-09 23:28:24 +08:00
|
|
|
"karma-mocha": "^1.3.0",
|
2016-03-29 06:29:49 +08:00
|
|
|
"karma-sourcemap-loader": "^0.3.7",
|
2017-07-27 21:47:22 +08:00
|
|
|
"karma-spec-reporter": "^0.0.31",
|
2018-10-09 23:28:24 +08:00
|
|
|
"karma-summary-reporter": "^1.5.1",
|
|
|
|
"karma-webpack": "^4.0.0-beta.0",
|
2019-03-27 23:07:14 +08:00
|
|
|
"matrix-mock-request": "^1.2.3",
|
2019-08-13 00:41:36 +08:00
|
|
|
"matrix-react-test-utils": "^0.2.2",
|
2018-04-13 00:16:18 +08:00
|
|
|
"mocha": "^5.0.5",
|
2019-09-18 04:33:32 +08:00
|
|
|
"react-test-renderer": "^16.9.0",
|
2015-12-01 01:33:04 +08:00
|
|
|
"require-json": "0.0.1",
|
|
|
|
"rimraf": "^2.4.3",
|
2018-05-21 17:44:00 +08:00
|
|
|
"sinon": "^5.0.7",
|
2018-04-09 20:53:02 +08:00
|
|
|
"source-map-loader": "^0.2.3",
|
2019-04-09 21:05:53 +08:00
|
|
|
"stylelint": "^9.10.1",
|
|
|
|
"stylelint-config-standard": "^18.2.0",
|
2019-07-10 01:35:57 +08:00
|
|
|
"stylelint-scss": "^3.9.0",
|
2017-10-18 02:19:01 +08:00
|
|
|
"walk": "^2.3.9",
|
2018-10-09 23:28:24 +08:00
|
|
|
"webpack": "^4.20.2",
|
|
|
|
"webpack-cli": "^3.1.1"
|
2015-06-10 00:40:42 +08:00
|
|
|
}
|
|
|
|
}
|