{ "name": "matrix-widget-api", "version": "1.3.1", "description": "Matrix Widget API SDK", "main": "./lib/index.js", "types": "./lib/index.d.ts", "repository": "https://github.com/matrix-org/matrix-widget-api", "author": "The Matrix.org Foundation C.I.C.", "license": "Apache-2.0", "scripts": { "prepublishOnly": "yarn build", "start": "tsc -w", "clean": "rimraf lib dist", "build": "yarn clean && yarn build:compile && yarn build:types && yarn build:browser", "build:compile": "babel -d lib --verbose --extensions \".ts\" src", "build:types": "tsc --emitDeclarationOnly", "build:browser": "yarn build:browser:dev && yarn build:browser:prod", "build:browser:dev": "browserify lib/index.js --debug --s mxwidgets -o dist/api.js", "build:browser:prod": "browserify lib/index.js --s mxwidgets -p tinyify -o dist/api.min.js", "lint": "yarn lint:types && yarn lint:ts", "lint:ts": "eslint src test", "lint:types": "tsc --noEmit", "lint:fix": "eslint src test --fix", "test": "jest" }, "files": [ "src", "lib", "dist", "package.json", "README.md", "LICENSE", "CONTRIBUTING.rst" ], "devDependencies": { "@babel/cli": "^7.11.6", "@babel/core": "^7.11.6", "@babel/plugin-proposal-class-properties": "^7.10.4", "@babel/preset-env": "^7.11.5", "@babel/preset-typescript": "^7.10.4", "@testing-library/dom": "^8.0.0", "@types/jest": "^27.4.0", "babel-eslint": "^10.1.0", "browserify": "^17.0.0", "eslint": "^7.8.1", "eslint-config-matrix-org": "^0.1.2", "eslint-plugin-babel": "^5.3.1", "jest": "^27.4.0", "jest-environment-jsdom": "^27.0.6", "rimraf": "^3.0.2", "tinyify": "^3.0.0" }, "dependencies": { "@types/events": "^3.0.0", "events": "^3.2.0" }, "jest": { "testEnvironment": "jsdom", "testMatch": [ "/test/**/*-test.[jt]s?(x)" ] } }