You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2026-01-03 23:22:30 +03:00
97 lines
3.2 KiB
JSON
97 lines
3.2 KiB
JSON
{
|
|
"name": "matrix-js-sdk",
|
|
"version": "2.4.3",
|
|
"description": "Matrix Client-Server SDK for Javascript",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test:build": "babel -s -d specbuild spec",
|
|
"test:run": "istanbul cover --report text --report cobertura --config .istanbul.yml -i \"lib/**/*.js\" node_modules/mocha/bin/_mocha -- --recursive specbuild --colors",
|
|
"test:watch": "mocha --watch --compilers js:babel-core/register --recursive spec --colors",
|
|
"test": "yarn test:build && yarn test:run",
|
|
"check": "yarn test:build && _mocha --recursive specbuild --colors",
|
|
"gendoc": "babel --no-babelrc --plugins transform-class-properties -d .jsdocbuild src && jsdoc -r .jsdocbuild -P package.json -R README.md -d .jsdoc",
|
|
"start": "yarn start:init && yarn start:watch",
|
|
"start:watch": "babel -s -w --skip-initial-build -d lib src",
|
|
"start:init": "babel -s -d lib src",
|
|
"clean": "rimraf lib dist",
|
|
"build": "babel -s -d lib src && rimraf dist && mkdir dist && browserify -d browser-index.js | exorcist dist/browser-matrix.js.map > dist/browser-matrix.js && terser -c -m -o dist/browser-matrix.min.js --source-map \"content='dist/browser-matrix.js.map'\" dist/browser-matrix.js",
|
|
"dist": "yarn build",
|
|
"watch": "watchify -d browser-index.js -o 'exorcist dist/browser-matrix.js.map > dist/browser-matrix.js' -v",
|
|
"lint": "eslint --max-warnings 93 src spec",
|
|
"prepare": "yarn clean && yarn build && git rev-parse HEAD > git-revision.txt"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/matrix-org/matrix-js-sdk"
|
|
},
|
|
"keywords": [
|
|
"matrix-org"
|
|
],
|
|
"browser": "browser-index.js",
|
|
"author": "matrix.org",
|
|
"license": "Apache-2.0",
|
|
"files": [
|
|
".babelrc",
|
|
".eslintrc.js",
|
|
"spec/.eslintrc.js",
|
|
"CHANGELOG.md",
|
|
"CONTRIBUTING.rst",
|
|
"LICENSE",
|
|
"README.md",
|
|
"RELEASING.md",
|
|
"examples",
|
|
"git-hooks",
|
|
"git-revision.txt",
|
|
"index.js",
|
|
"browser-index.js",
|
|
"lib",
|
|
"package.json",
|
|
"release.sh",
|
|
"spec",
|
|
"src"
|
|
],
|
|
"dependencies": {
|
|
"another-json": "^0.2.0",
|
|
"babel-runtime": "^6.26.0",
|
|
"bluebird": "3.5.5",
|
|
"browser-request": "^0.3.3",
|
|
"bs58": "^4.0.1",
|
|
"content-type": "^1.0.2",
|
|
"loglevel": "^1.6.4",
|
|
"qs": "^6.5.2",
|
|
"request": "^2.88.0",
|
|
"unhomoglyph": "^1.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.18.0",
|
|
"babel-eslint": "^10.0.1",
|
|
"babel-plugin-transform-async-to-bluebird": "^1.1.1",
|
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
|
"babel-preset-es2015": "^6.18.0",
|
|
"browserify": "^16.2.3",
|
|
"browserify-shim": "^3.8.13",
|
|
"eslint": "^5.12.0",
|
|
"eslint-config-google": "^0.7.1",
|
|
"eslint-plugin-babel": "^5.3.0",
|
|
"exorcist": "^1.0.1",
|
|
"expect": "^1.20.2",
|
|
"istanbul": "^0.4.5",
|
|
"jsdoc": "^3.5.5",
|
|
"lolex": "^1.5.2",
|
|
"matrix-mock-request": "^1.2.3",
|
|
"mocha": "^6.2.1",
|
|
"olm": "https://packages.matrix.org/npm/olm/olm-3.1.4.tgz",
|
|
"rimraf": "^3.0.0",
|
|
"source-map-support": "^0.5.13",
|
|
"sourceify": "^1.0.0",
|
|
"terser": "^4.3.8",
|
|
"watchify": "^3.11.1"
|
|
},
|
|
"browserify": {
|
|
"transform": [
|
|
"sourceify"
|
|
]
|
|
}
|
|
}
|