{ "name": "matrix-js-sdk", "version": "0.14.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 --reporter mocha-jenkins-reporter --reporter-options junit_report_path=reports/test-results.xml", "test:watch": "mocha --watch --compilers js:babel-core/register --recursive spec --colors", "test": "npm run test:build && npm run test:run", "check": "npm run test:build && _mocha --recursive specbuild --colors", "gendoc": "babel --no-babelrc -d .jsdocbuild src && jsdoc -r .jsdocbuild -P package.json -R README.md -d .jsdoc", "start": "npm run start:init && npm run 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 && uglifyjs -c -m -o dist/browser-matrix.min.js --source-map dist/browser-matrix.min.js.map --in-source-map dist/browser-matrix.js.map dist/browser-matrix.js", "dist": "npm run build", "watch": "watchify -d browser-index.js -o 'exorcist dist/browser-matrix.js.map > dist/browser-matrix.js' -v", "lint": "eslint --max-warnings 101 src spec", "prepublish": "npm run clean && npm run 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", "jenkins.sh", "lib", "package.json", "release.sh", "spec", "src" ], "dependencies": { "another-json": "^0.2.0", "babel-runtime": "^6.26.0", "base-x": "3.0.4", "bluebird": "^3.5.0", "browser-request": "^0.3.3", "bs58": "^4.0.1", "content-type": "^1.0.2", "loglevel": "1.6.1", "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-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", "exorcist": "^0.4.0", "expect": "^1.20.2", "istanbul": "^0.4.5", "jsdoc": "^3.5.5", "lolex": "^1.5.2", "matrix-mock-request": "^1.2.2", "mocha": "^5.2.0", "mocha-jenkins-reporter": "^0.4.0", "rimraf": "^2.5.4", "source-map-support": "^0.4.11", "sourceify": "^0.1.0", "uglify-js": "^2.8.26", "watchify": "^3.11.0" }, "browserify": { "transform": [ "sourceify" ] } }