matrix-js-sdk

v0.8.0
Matrix Client-Server SDK for Javascript
matrix-org

dist

npm run build

lint

eslint --max-warnings 109 src spec

test

npm run test:build && npm run test:run

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

check

npm run test:build && _mocha --recursive specbuild --colors

start

babel -s -w -d lib src

watch

watchify -d browser-index.js -o 'exorcist dist/browser-matrix.js.map > dist/browser-matrix.js' -v

gendoc

babel --no-babelrc -d .jsdocbuild src && jsdoc -r .jsdocbuild -P package.json -R README.md -d .jsdoc

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

prepublish

npm run build && git rev-parse HEAD > git-revision.txt

test:build

babel -s -d specbuild spec

test:watch

mocha --watch --compilers js:babel-core/register --recursive spec --colors

Metadata

Downloads