mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 15:19:39 +03:00
6d403e792b
So we can use trailing function commas. The trailing comma proposal is actually at stage 3 now and there's a babel 6 plugin for it, which we should use when we switch back to babel 6.
86 lines
2.7 KiB
JSON
86 lines
2.7 KiB
JSON
{
|
|
"name": "matrix-react-sdk",
|
|
"version": "0.6.3",
|
|
"description": "SDK for matrix.org using React",
|
|
"author": "matrix.org",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/matrix-org/matrix-react-sdk"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"main": "lib/index.js",
|
|
"bin": {
|
|
"reskindex": "./reskindex.js"
|
|
},
|
|
"scripts": {
|
|
"reskindex": "reskindex -h header",
|
|
"build": "babel src -d lib --source-maps --stage 1",
|
|
"start": "babel src -w -d lib --source-maps --stage 1",
|
|
"lint": "eslint src/",
|
|
"lintall": "eslint src/ test/",
|
|
"clean": "rimraf lib",
|
|
"prepublish": "npm run build && git rev-parse HEAD > git-revision.txt",
|
|
"test": "karma start $KARMAFLAGS --browsers PhantomJS",
|
|
"test-multi": "karma start $KARMAFLAGS --single-run=false"
|
|
},
|
|
"dependencies": {
|
|
"classnames": "^2.1.2",
|
|
"draft-js": "^0.7.0",
|
|
"draft-js-export-html": "^0.2.2",
|
|
"draft-js-export-markdown": "^0.2.0",
|
|
"draft-js-import-markdown": "^0.1.6",
|
|
"emojione": "^2.2.2",
|
|
"favico.js": "^0.3.10",
|
|
"filesize": "^3.1.2",
|
|
"flux": "^2.0.3",
|
|
"fuse.js": "^2.2.0",
|
|
"glob": "^5.0.14",
|
|
"highlight.js": "^8.9.1",
|
|
"linkifyjs": "^2.0.0-beta.4",
|
|
"lodash": "^4.13.1",
|
|
"marked": "^0.3.5",
|
|
"matrix-js-sdk": "matrix-org/matrix-js-sdk#develop",
|
|
"optimist": "^0.6.1",
|
|
"q": "^1.4.1",
|
|
"react": "^15.0.1",
|
|
"react-addons-css-transition-group": "^15.1.0",
|
|
"react-dom": "^15.0.1",
|
|
"react-gemini-scrollbar": "matrix-org/react-gemini-scrollbar#c3d942e",
|
|
"sanitize-html": "^1.11.1",
|
|
"velocity-vector": "vector-im/velocity#059e3b2",
|
|
"whatwg-fetch": "^1.0.0"
|
|
},
|
|
"//babelversion": [
|
|
"brief experiments with babel6 seems to show that it generates source ",
|
|
"maps which confuse chrome and make setting breakpoints tricky. So ",
|
|
"let's stick with v5 for now."
|
|
],
|
|
"devDependencies": {
|
|
"babel": "^5.8.23",
|
|
"babel-core": "^5.8.38",
|
|
"babel-eslint": "^6.1.0",
|
|
"babel-loader": "^5.4.0",
|
|
"babel-polyfill": "^6.5.0",
|
|
"eslint": "^2.13.1",
|
|
"eslint-plugin-flowtype": "^2.3.0",
|
|
"eslint-plugin-react": "^5.2.2",
|
|
"expect": "^1.16.0",
|
|
"json-loader": "^0.5.3",
|
|
"karma": "^0.13.22",
|
|
"karma-chrome-launcher": "^0.2.3",
|
|
"karma-cli": "^0.1.2",
|
|
"karma-junit-reporter": "^0.4.1",
|
|
"karma-mocha": "^0.2.2",
|
|
"karma-phantomjs-launcher": "^1.0.0",
|
|
"karma-sourcemap-loader": "^0.3.7",
|
|
"karma-webpack": "^1.7.0",
|
|
"mocha": "^2.4.5",
|
|
"phantomjs-prebuilt": "^2.1.7",
|
|
"react-addons-test-utils": "^15.0.1",
|
|
"require-json": "0.0.1",
|
|
"rimraf": "^2.4.3",
|
|
"sinon": "^1.17.3",
|
|
"source-map-loader": "^0.1.5",
|
|
"webpack": "^1.12.14"
|
|
}
|
|
}
|