2023-02-22 10:55:15 +00:00
|
|
|
{
|
|
|
|
"name": "matrix-hookshot",
|
2024-07-27 06:49:29 +00:00
|
|
|
"version": "5.4.1",
|
2023-02-22 10:55:15 +00:00
|
|
|
"description": "A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA.",
|
|
|
|
"main": "lib/app.js",
|
|
|
|
"repository": "https://github.com/matrix-org/matrix-hookshot",
|
|
|
|
"author": "matrix.org",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"napi": {
|
|
|
|
"name": "matrix-hookshot-rs"
|
|
|
|
},
|
|
|
|
"engines": {
|
2024-01-25 14:12:00 +00:00
|
|
|
"node": ">=20"
|
2023-02-22 10:55:15 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"build:web": "vite build",
|
|
|
|
"build:app": "tsc --project tsconfig.json",
|
|
|
|
"build:app:rs": "napi build --dts ../src/libRs.d.ts --release ./lib",
|
|
|
|
"build:app:fix-defs": "ts-node scripts/definitions-fixer.ts src/libRs.d.ts",
|
|
|
|
"build:docs": "ts-node scripts/build-metrics-docs.ts > docs/metrics.md && mdbook build",
|
|
|
|
"dev:web": "vite dev",
|
|
|
|
"build": "scripts/build-app.sh",
|
|
|
|
"clean:web": "rimraf public/",
|
|
|
|
"clean:app": "tsc --build tsconfig.json --clean",
|
|
|
|
"clean:app:rs": "rimraf src/libRs.d.ts target/",
|
|
|
|
"clean:docs": "mdbook clean",
|
|
|
|
"clean": "scripts/clean.sh",
|
|
|
|
"prepare": "yarn build",
|
|
|
|
"start": "node --require source-map-support/register lib/App/BridgeApp.js",
|
|
|
|
"start:app": "node --require source-map-support/register lib/App/BridgeApp.js",
|
|
|
|
"start:webhooks": "node --require source-map-support/register lib/App/GithubWebhookApp.js",
|
|
|
|
"start:matrixsender": "node --require source-map-support/register lib/App/MatrixSenderApp.js",
|
2023-07-15 17:15:38 +00:00
|
|
|
"start:resetcrypto": "node --require source-map-support/register lib/App/ResetCryptoStore.js",
|
2023-02-22 10:55:15 +00:00
|
|
|
"test": "mocha -r ts-node/register tests/init.ts tests/*.ts tests/**/*.ts",
|
2024-01-25 14:12:00 +00:00
|
|
|
"test:e2e": "yarn node --experimental-vm-modules $(yarn bin jest)",
|
2023-02-22 10:55:15 +00:00
|
|
|
"test:cover": "nyc --reporter=lcov --reporter=text yarn test",
|
|
|
|
"lint": "yarn run lint:js && yarn run lint:rs",
|
|
|
|
"lint:js": "eslint -c .eslintrc.js 'src/**/*.ts' 'tests/**/*.ts' 'web/**/*.ts' 'web/**/*.tsx'",
|
2023-07-15 17:15:38 +00:00
|
|
|
"lint:rs": "cargo fmt --all -- --check && cargo clippy -- -Dwarnings",
|
|
|
|
"lint:rs:apply": "cargo clippy --fix && cargo fmt --all",
|
|
|
|
"generate-default-config": "ts-node src/config/Defaults.ts --config > config.sample.yml",
|
|
|
|
"validate-config": "ts-node src/config/Config.ts"
|
2023-02-22 10:55:15 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@alloc/quick-lru": "^5.2.0",
|
2024-01-25 14:12:00 +00:00
|
|
|
"@octokit/auth-app": "^6.0.2",
|
|
|
|
"@octokit/auth-token": "^4.0.0",
|
|
|
|
"@octokit/rest": "^20.0.2",
|
|
|
|
"@octokit/webhooks": "^12.0.10",
|
2023-07-15 17:15:38 +00:00
|
|
|
"@sentry/node": "^7.52.1",
|
2024-07-27 06:49:29 +00:00
|
|
|
"@vector-im/compound-design-tokens": "^1.3.0",
|
|
|
|
"@vector-im/compound-web": "^4.8.0",
|
2023-02-22 10:55:15 +00:00
|
|
|
"ajv": "^8.11.0",
|
2024-01-25 14:12:00 +00:00
|
|
|
"axios": "^1.6.3",
|
2023-02-22 10:55:15 +00:00
|
|
|
"cors": "^2.8.5",
|
2024-01-25 14:12:00 +00:00
|
|
|
"express": "^4.18.2",
|
2023-02-22 10:55:15 +00:00
|
|
|
"figma-js": "^1.14.0",
|
2024-05-15 15:35:15 +00:00
|
|
|
"helmet": "^7.1.0",
|
2023-02-22 10:55:15 +00:00
|
|
|
"http-status-codes": "^2.2.0",
|
|
|
|
"ioredis": "^5.2.3",
|
2024-01-25 14:12:00 +00:00
|
|
|
"jira-client": "^8.2.2",
|
|
|
|
"markdown-it": "^14.0.0",
|
2023-08-04 22:07:22 +00:00
|
|
|
"matrix-appservice-bridge": "^9.0.1",
|
2024-01-25 14:12:00 +00:00
|
|
|
"matrix-bot-sdk": "npm:@vector-im/matrix-bot-sdk@^0.7.0-specific-device-2",
|
|
|
|
"matrix-widget-api": "^1.6.0",
|
|
|
|
"micromatch": "^4.0.5",
|
|
|
|
"mime": "^4.0.1",
|
|
|
|
"node-emoji": "^2.1.3",
|
2023-02-22 10:55:15 +00:00
|
|
|
"p-queue": "^6.6.2",
|
2024-01-25 14:12:00 +00:00
|
|
|
"preact-render-to-string": "^6.3.1",
|
|
|
|
"prom-client": "^15.1.0",
|
|
|
|
"quickjs-emscripten": "^0.26.0",
|
|
|
|
"reflect-metadata": "^0.2.1",
|
2023-02-22 10:55:15 +00:00
|
|
|
"source-map-support": "^0.5.21",
|
|
|
|
"string-argv": "^0.3.1",
|
|
|
|
"tiny-typed-emitter": "^2.1.0",
|
2024-01-25 14:12:00 +00:00
|
|
|
"vite-plugin-magical-svg": "^1.1.1",
|
|
|
|
"winston": "^3.11.0",
|
|
|
|
"xml2js": "^0.6.2",
|
|
|
|
"yaml": "^2.3.4"
|
2023-02-22 10:55:15 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@codemirror/lang-javascript": "^6.0.2",
|
2023-07-15 17:15:38 +00:00
|
|
|
"@napi-rs/cli": "^2.13.2",
|
2023-02-22 10:55:15 +00:00
|
|
|
"@preact/preset-vite": "^2.2.0",
|
2024-01-25 14:12:00 +00:00
|
|
|
"@rollup/plugin-alias": "^5.1.0",
|
|
|
|
"@tsconfig/node18": "^18.2.2",
|
2023-02-22 10:55:15 +00:00
|
|
|
"@types/ajv": "^1.0.0",
|
2024-07-27 06:49:29 +00:00
|
|
|
"@types/busboy": "^1.5.4",
|
2023-02-22 10:55:15 +00:00
|
|
|
"@types/chai": "^4.2.22",
|
|
|
|
"@types/cors": "^2.8.12",
|
|
|
|
"@types/express": "^4.17.14",
|
2024-01-25 14:12:00 +00:00
|
|
|
"@types/jest": "^29.5.11",
|
2023-02-22 10:55:15 +00:00
|
|
|
"@types/jira-client": "^7.1.0",
|
2024-01-25 14:12:00 +00:00
|
|
|
"@types/markdown-it": "^13.0.7",
|
2023-02-22 10:55:15 +00:00
|
|
|
"@types/micromatch": "^4.0.1",
|
2024-01-25 14:12:00 +00:00
|
|
|
"@types/mime": "^3.0.4",
|
|
|
|
"@types/mocha": "^10.0.6",
|
|
|
|
"@types/node": "20.10.6",
|
2023-02-22 10:55:15 +00:00
|
|
|
"@types/xml2js": "^0.4.11",
|
2024-01-25 14:12:00 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.17.0",
|
|
|
|
"@typescript-eslint/parser": "^6.17.0",
|
2023-02-22 10:55:15 +00:00
|
|
|
"@uiw/react-codemirror": "^4.12.3",
|
2024-07-27 06:49:29 +00:00
|
|
|
"busboy": "^1.6.0",
|
2023-02-22 10:55:15 +00:00
|
|
|
"chai": "^4.3.4",
|
2023-10-09 19:29:22 +00:00
|
|
|
"eslint": "^8.49.0",
|
2023-02-22 10:55:15 +00:00
|
|
|
"eslint-config-preact": "^1.3.0",
|
2023-10-09 19:29:22 +00:00
|
|
|
"eslint-plugin-mocha": "^10.1.0",
|
2024-01-25 14:12:00 +00:00
|
|
|
"homerunner-client": "^1.0.0",
|
|
|
|
"jest": "^29.7.0",
|
2023-02-22 10:55:15 +00:00
|
|
|
"mini.css": "^3.0.1",
|
2024-01-25 14:12:00 +00:00
|
|
|
"mocha": "^10.2.0",
|
|
|
|
"nyc": "^15.1.0",
|
2023-02-22 10:55:15 +00:00
|
|
|
"preact": "^10.5.15",
|
2024-01-25 14:12:00 +00:00
|
|
|
"rimraf": "^5.0.5",
|
|
|
|
"sass": "^1.69.6",
|
|
|
|
"ts-jest": "^29.1.1",
|
2023-07-15 17:15:38 +00:00
|
|
|
"ts-node": "^10.9.1",
|
2024-01-25 14:12:00 +00:00
|
|
|
"typescript": "^5.3.3",
|
2024-05-15 15:35:15 +00:00
|
|
|
"vite": "^5.0.13"
|
2024-07-27 06:49:29 +00:00
|
|
|
},
|
|
|
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
2023-02-22 10:55:15 +00:00
|
|
|
}
|