{ "name": "@matrix-org/react-sdk-module-api", "version": "2.5.0", "description": "Module API surface for matrix-react-sdk", "main": "lib/index.js", "types": "lib/index.d.ts", "repository": "git@github.com:matrix-org/matrix-react-sdk-module-api.git", "author": "The Matrix.org Foundation C.I.C.", "license": "Apache-2.0", "files": [ "lib", "README.md", "package.json", "yarn.lock", "LICENSE" ], "scripts": { "clean": "rimraf lib", "build": "yarn clean && yarn build:compile && yarn build:types", "build:types": "tsc -p ./tsconfig.build.json --emitDeclarationOnly", "build:compile": "babel -d lib --verbose --extensions \".ts,.tsx\" src", "start": "tsc -p ./tsconfig.build.json -w", "test": "jest", "lint": "yarn lint:js && yarn lint:types && yarn lint:workflows", "lint:js": "eslint src test && prettier --check .", "lint:js-fix": "eslint --fix src test && prettier --write .", "lint:types": "tsc --noEmit", "lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) | xargs -I {} sh -c 'echo \"Linting {}\"; action-validator \"{}\"'", "prepublishOnly": "yarn build" }, "devDependencies": { "@action-validator/cli": "^0.5.3", "@action-validator/core": "^0.5.3", "@babel/cli": "^7.17.6", "@babel/core": "^7.17.8", "@babel/eslint-parser": "^7.17.0", "@babel/eslint-plugin": "^7.17.7", "@babel/plugin-proposal-class-properties": "^7.16.7", "@babel/plugin-transform-runtime": "^7.17.0", "@babel/preset-env": "^7.16.11", "@babel/preset-react": "^7.16.7", "@babel/preset-typescript": "^7.16.7", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^12.1.5", "@types/jest": "^27.4.1", "@types/react": "^17", "@types/react-dom": "^17.0.19", "@typescript-eslint/eslint-plugin": "^5.18.0", "@typescript-eslint/parser": "^5.18.0", "eslint": "^8.12.0", "eslint-config-google": "^0.14.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-matrix-org": "^0.9.0", "eslint-plugin-unicorn": "^47.0.0", "jest": "^27.5.1", "matrix-web-i18n": "^3.1.1", "prettier": "2.8.8", "react": "^18", "react-dom": "^18", "rimraf": "^3.0.2", "ts-jest": "^27.1.4", "typescript": "^4.6.3" }, "dependencies": { "@babel/runtime": "^7.17.9" }, "peerDependencies": { "react": "^18" } }