UNPKG

matrix-js-sdk

Version:
97 lines (96 loc) 3.47 kB
{ "name": "matrix-js-sdk", "version": "8.5.0-rc.1", "description": "Matrix Client-Server SDK for Javascript", "scripts": { "prepare": "yarn build", "start": "echo THIS IS FOR LEGACY PURPOSES ONLY. && babel src -w -s -d lib --verbose --extensions \".ts,.js\"", "dist": "echo 'This is for the release script so it can make assets (browser bundle).' && yarn build", "clean": "rimraf lib dist", "build": "yarn clean && git rev-parse HEAD > git-revision.txt && yarn build:compile && yarn build:compile-browser && yarn build:minify-browser && yarn build:types", "build:types": "tsc --emitDeclarationOnly", "build:compile": "babel -d lib --verbose --extensions \".ts,.js\" src", "build:compile-browser": "mkdirp dist && browserify -d src/browser-index.js -p [ tsify -p ./tsconfig.json ] -t [ babelify --sourceMaps=inline --presets [ @babel/preset-env @babel/preset-typescript ] ] | exorcist dist/browser-matrix.js.map > dist/browser-matrix.js", "build:minify-browser": "terser dist/browser-matrix.js --compress --mangle --source-map --output dist/browser-matrix.min.js", "gendoc": "jsdoc -c jsdoc.json -P package.json", "lint": "yarn lint:types && yarn lint:js", "lint:js": "eslint --max-warnings 76 src spec", "lint:types": "tsc --noEmit", "test": "jest spec/ --coverage --testEnvironment node", "test:watch": "jest spec/ --coverage --testEnvironment node --watch" }, "repository": { "type": "git", "url": "https://github.com/matrix-org/matrix-js-sdk" }, "keywords": [ "matrix-org" ], "main": "./lib/index.js", "typings": "./lib/index.d.ts", "browser": "./lib/browser-index.js", "matrix_src_main": "./src/index.ts", "matrix_src_browser": "./src/browser-index.js", "author": "matrix.org", "license": "Apache-2.0", "files": [ "dist", "lib", "src", "git-revision.txt", "CHANGELOG.md", "CONTRIBUTING.rst", "LICENSE", "README.md", "package.json", "release.sh" ], "dependencies": { "@babel/runtime": "^7.11.2", "another-json": "^0.2.0", "browser-request": "^0.3.3", "bs58": "^4.0.1", "content-type": "^1.0.4", "loglevel": "^1.7.0", "qs": "^6.9.4", "request": "^2.88.2", "unhomoglyph": "^1.0.6" }, "devDependencies": { "@babel/cli": "^7.11.6", "@babel/core": "^7.11.6", "@babel/plugin-proposal-class-properties": "^7.10.4", "@babel/plugin-proposal-numeric-separator": "^7.10.4", "@babel/plugin-proposal-object-rest-spread": "^7.11.0", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-transform-runtime": "^7.11.5", "@babel/preset-env": "^7.11.5", "@babel/preset-typescript": "^7.10.4", "@babel/register": "^7.11.5", "@types/node": "12", "@types/request": "^2.48.5", "babel-eslint": "^10.1.0", "babel-jest": "^24.9.0", "babelify": "^10.0.0", "better-docs": "^2.3.2", "browserify": "^16.5.2", "docdash": "^1.2.0", "eslint": "7.9.0", "eslint-config-matrix-org": "^0.1.2", "eslint-plugin-babel": "^5.3.1", "exorcist": "^1.0.1", "fake-indexeddb": "^3.1.2", "jest": "^24.9.0", "jest-localstorage-mock": "^2.4.3", "jsdoc": "^3.6.6", "matrix-mock-request": "^1.2.3", "olm": "https://packages.matrix.org/npm/olm/olm-3.2.1.tgz", "rimraf": "^3.0.2", "terser": "^4.8.0", "tsify": "^4.0.2", "typescript": "^3.9.7" }, "jest": { "testEnvironment": "node" } }