2019-08-02 19:12:03 +01:00
|
|
|
{
|
2021-11-22 16:02:07 +00:00
|
|
|
"name": "matrix-hookshot",
|
2024-11-29 13:13:09 +00:00
|
|
|
"version": "6.0.1",
|
2021-12-21 16:57:44 +00:00
|
|
|
"description": "A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA.",
|
2019-08-02 19:12:03 +01:00
|
|
|
"main": "lib/app.js",
|
2022-03-02 15:42:06 +00:00
|
|
|
"repository": "https://github.com/matrix-org/matrix-hookshot",
|
|
|
|
"author": "matrix.org",
|
2021-11-29 16:33:17 +00:00
|
|
|
"license": "Apache-2.0",
|
2021-11-21 12:34:56 +00:00
|
|
|
"napi": {
|
2021-11-22 16:02:07 +00:00
|
|
|
"name": "matrix-hookshot-rs"
|
2021-11-21 12:34:56 +00:00
|
|
|
},
|
2021-11-21 13:21:58 +00:00
|
|
|
"engines": {
|
2024-11-28 15:04:01 +00:00
|
|
|
"node": ">=22"
|
2021-11-21 13:21:58 +00:00
|
|
|
},
|
2019-08-02 19:12:03 +01:00
|
|
|
"scripts": {
|
2022-05-06 09:57:18 +01:00
|
|
|
"build:web": "vite build",
|
2020-12-12 20:29:33 +00:00
|
|
|
"build:app": "tsc --project tsconfig.json",
|
2022-01-02 01:54:57 +00:00
|
|
|
"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",
|
2021-12-16 15:05:03 +00:00
|
|
|
"build:docs": "ts-node scripts/build-metrics-docs.ts > docs/metrics.md && mdbook build",
|
2022-05-06 09:57:18 +01:00
|
|
|
"dev:web": "vite dev",
|
2022-01-04 00:04:27 +00:00
|
|
|
"build": "scripts/build-app.sh",
|
2022-07-14 10:58:31 -04:00
|
|
|
"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",
|
2020-11-22 21:10:27 +00:00
|
|
|
"prepare": "yarn build",
|
2020-12-12 20:29:33 +00:00
|
|
|
"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-04-21 23:18:27 +09:00
|
|
|
"start:resetcrypto": "node --require source-map-support/register lib/App/ResetCryptoStore.js",
|
2024-11-28 15:04:01 +00:00
|
|
|
"test": "mocha -r ts-node/register tests/init.ts 'tests/*.ts' 'tests/**/*.ts'",
|
|
|
|
"test:e2e": "tsc --p tsconfig.spec.json && cp ./lib/libRs.js ./lib/matrix-hookshot-rs.node ./spec-lib/src && yarn node --experimental-vm-modules $(yarn bin jest)",
|
2022-09-01 16:01:08 +01:00
|
|
|
"test:cover": "nyc --reporter=lcov --reporter=text yarn test",
|
2021-12-02 13:36:52 +00:00
|
|
|
"lint": "yarn run lint:js && yarn run lint:rs",
|
2024-11-28 15:04:01 +00:00
|
|
|
"lint:js": "eslint",
|
2023-05-18 11:38:59 +01:00
|
|
|
"lint:rs": "cargo fmt --all -- --check && cargo clippy -- -Dwarnings",
|
2023-05-18 19:59:58 +01:00
|
|
|
"lint:rs:apply": "cargo clippy --fix && cargo fmt --all",
|
2023-05-18 11:38:59 +01:00
|
|
|
"generate-default-config": "ts-node src/config/Defaults.ts --config > config.sample.yml",
|
|
|
|
"validate-config": "ts-node src/config/Config.ts"
|
2019-08-02 19:12:03 +01:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-11-24 18:34:29 +00:00
|
|
|
"@alloc/quick-lru": "^5.2.0",
|
2023-12-22 15:36:49 +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-05-18 12:05:23 +01:00
|
|
|
"@sentry/node": "^7.52.1",
|
2024-11-18 17:08:52 +00:00
|
|
|
"@vector-im/compound-design-tokens": "^2.0.1",
|
|
|
|
"@vector-im/compound-web": "^7.3.0",
|
2022-04-22 13:52:58 +02:00
|
|
|
"ajv": "^8.11.0",
|
2024-11-19 09:04:22 +00:00
|
|
|
"axios": "^1.7.5",
|
2024-11-18 17:08:52 +00:00
|
|
|
"clsx": "^2.1.1",
|
2020-12-12 20:29:33 +00:00
|
|
|
"cors": "^2.8.5",
|
2024-11-18 17:08:52 +00:00
|
|
|
"date-fns": "^4.1.0",
|
2024-10-29 11:02:04 +00:00
|
|
|
"express": "^4.20.0",
|
2022-01-06 17:13:58 +00:00
|
|
|
"figma-js": "^1.14.0",
|
2024-04-16 22:06:33 +01:00
|
|
|
"helmet": "^7.1.0",
|
2022-08-31 14:01:43 +01:00
|
|
|
"http-status-codes": "^2.2.0",
|
2022-09-16 14:23:43 +01:00
|
|
|
"ioredis": "^5.2.3",
|
2023-12-22 15:36:49 +00:00
|
|
|
"jira-client": "^8.2.2",
|
|
|
|
"markdown-it": "^14.0.0",
|
2023-07-31 10:02:55 +01:00
|
|
|
"matrix-appservice-bridge": "^9.0.1",
|
2024-11-29 09:51:01 +00:00
|
|
|
"matrix-bot-sdk": "npm:@vector-im/matrix-bot-sdk@0.7.1-element.7",
|
2024-11-28 15:04:01 +00:00
|
|
|
"matrix-widget-api": "^1.10.0",
|
2024-10-15 11:29:05 +01:00
|
|
|
"micromatch": "^4.0.8",
|
2024-11-28 15:04:01 +00:00
|
|
|
"mime": "^4.0.4",
|
2023-12-22 15:36:49 +00:00
|
|
|
"node-emoji": "^2.1.3",
|
2024-11-18 17:08:52 +00:00
|
|
|
"parse-duration": "^1.1.0",
|
2023-12-22 15:36:49 +00:00
|
|
|
"preact-render-to-string": "^6.3.1",
|
|
|
|
"prom-client": "^15.1.0",
|
2024-11-28 15:04:01 +00:00
|
|
|
"quickjs-emscripten": "^0.31.0",
|
2023-12-22 15:36:49 +00:00
|
|
|
"reflect-metadata": "^0.2.1",
|
2021-11-22 17:33:13 +00:00
|
|
|
"source-map-support": "^0.5.21",
|
2021-04-11 15:18:49 +01:00
|
|
|
"string-argv": "^0.3.1",
|
2022-07-11 18:08:09 +01:00
|
|
|
"tiny-typed-emitter": "^2.1.0",
|
2024-01-02 16:08:57 +00:00
|
|
|
"vite-plugin-magical-svg": "^1.1.1",
|
2023-12-22 15:36:49 +00:00
|
|
|
"winston": "^3.11.0",
|
|
|
|
"xml2js": "^0.6.2",
|
|
|
|
"yaml": "^2.3.4"
|
2019-08-02 19:12:03 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-09-16 14:23:43 +01:00
|
|
|
"@codemirror/lang-javascript": "^6.0.2",
|
2024-11-28 15:04:01 +00:00
|
|
|
"@eslint/eslintrc": "^3.2.0",
|
|
|
|
"@eslint/js": "^9.15.0",
|
2024-11-19 09:13:42 +00:00
|
|
|
"@fontsource/inter": "^5.1.0",
|
2023-06-28 16:29:54 +01:00
|
|
|
"@napi-rs/cli": "^2.13.2",
|
2024-11-28 15:04:01 +00:00
|
|
|
"@octokit/webhooks-types": "^7.6.1",
|
|
|
|
"@preact/preset-vite": "^2.9.1",
|
2023-12-22 15:36:49 +00:00
|
|
|
"@rollup/plugin-alias": "^5.1.0",
|
2024-11-28 15:04:01 +00:00
|
|
|
"@tsconfig/node22": "^22",
|
2022-04-22 13:52:58 +02:00
|
|
|
"@types/ajv": "^1.0.0",
|
2024-06-19 18:28:00 +01:00
|
|
|
"@types/busboy": "^1.5.4",
|
2021-11-22 17:33:13 +00:00
|
|
|
"@types/chai": "^4.2.22",
|
|
|
|
"@types/cors": "^2.8.12",
|
2022-10-05 14:49:53 +01:00
|
|
|
"@types/express": "^4.17.14",
|
2023-12-28 15:04:03 +00:00
|
|
|
"@types/jest": "^29.5.11",
|
2021-12-16 15:05:03 +00:00
|
|
|
"@types/jira-client": "^7.1.0",
|
2023-12-22 15:36:49 +00:00
|
|
|
"@types/markdown-it": "^13.0.7",
|
2020-11-22 21:10:27 +00:00
|
|
|
"@types/micromatch": "^4.0.1",
|
2023-12-22 15:36:49 +00:00
|
|
|
"@types/mime": "^3.0.4",
|
|
|
|
"@types/mocha": "^10.0.6",
|
2024-11-28 15:04:01 +00:00
|
|
|
"@types/node": "^22",
|
2022-07-13 16:14:21 +01:00
|
|
|
"@types/xml2js": "^0.4.11",
|
2022-09-16 14:23:43 +01:00
|
|
|
"@uiw/react-codemirror": "^4.12.3",
|
2024-11-28 15:04:01 +00:00
|
|
|
"babel-cli": "^6.26.0",
|
|
|
|
"babel-jest": "^29.7.0",
|
2024-06-19 18:28:00 +01:00
|
|
|
"busboy": "^1.6.0",
|
2024-11-28 15:04:01 +00:00
|
|
|
"chai": "^4",
|
|
|
|
"eslint": "^9.15.0",
|
|
|
|
"eslint-plugin-chai-expect": "^3.1.0",
|
|
|
|
"eslint-plugin-mocha": "^10.5.0",
|
|
|
|
"eslint-plugin-react": "^7.37.2",
|
|
|
|
"homerunner-client": "^1.1.0",
|
2023-12-28 15:04:03 +00:00
|
|
|
"jest": "^29.7.0",
|
2024-11-28 15:04:01 +00:00
|
|
|
"mocha": "^10.8.2",
|
|
|
|
"nyc": "^17.1.0",
|
|
|
|
"preact": "^10.24.3",
|
|
|
|
"rimraf": "6.0.1",
|
|
|
|
"sass": "^1.81.0",
|
|
|
|
"ts-node": "10.9.2",
|
|
|
|
"typescript": "^5.7.2",
|
|
|
|
"typescript-eslint": "^8.16.0",
|
|
|
|
"vite": "^5.4.11"
|
2024-06-19 18:28:00 +01:00
|
|
|
},
|
|
|
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
2019-08-02 19:12:03 +01:00
|
|
|
}
|