2019-08-02 19:12:03 +01:00
|
|
|
{
|
2021-11-22 16:02:07 +00:00
|
|
|
"name": "matrix-hookshot",
|
2023-04-27 21:58:32 +09:00
|
|
|
"version": "4.0.0",
|
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": {
|
2023-04-27 12:24:06 +01:00
|
|
|
"node": ">=18"
|
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",
|
2021-12-18 16:58:23 +00:00
|
|
|
"test": "mocha -r ts-node/register tests/init.ts tests/*.ts tests/**/*.ts",
|
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",
|
2022-04-06 16:25:10 +02:00
|
|
|
"lint:js": "eslint -c .eslintrc.js 'src/**/*.ts' 'tests/**/*.ts' 'web/**/*.ts' 'web/**/*.tsx'",
|
2021-12-02 13:36:52 +00:00
|
|
|
"lint:rs": "cargo fmt --all -- --check",
|
2023-04-25 16:45:55 +01:00
|
|
|
"lint:rs:apply": "cargo fmt --all",
|
2022-01-04 17:59:08 +00: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",
|
2021-04-11 15:18:49 +01:00
|
|
|
"@octokit/auth-app": "^3.3.0",
|
|
|
|
"@octokit/auth-token": "^2.4.5",
|
2021-09-07 17:35:18 +01:00
|
|
|
"@octokit/rest": "^18.10.0",
|
2021-04-25 19:40:02 +01:00
|
|
|
"@octokit/webhooks": "^9.1.2",
|
2022-04-22 13:52:58 +02:00
|
|
|
"ajv": "^8.11.0",
|
2021-11-22 17:33:13 +00:00
|
|
|
"axios": "^0.24.0",
|
2020-12-12 20:29:33 +00:00
|
|
|
"cors": "^2.8.5",
|
2022-12-08 01:52:35 +00:00
|
|
|
"express": "^4.17.3",
|
2022-01-06 17:13:58 +00:00
|
|
|
"figma-js": "^1.14.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",
|
2021-11-24 18:34:29 +00:00
|
|
|
"jira-client": "^8.0.0",
|
2022-01-13 01:29:41 +00:00
|
|
|
"markdown-it": "^12.3.2",
|
2023-04-27 12:24:06 +01:00
|
|
|
"matrix-appservice-bridge": "^9.0.0",
|
|
|
|
"matrix-bot-sdk": "npm:@vector-im/matrix-bot-sdk@^0.6.6-element.1",
|
2022-08-12 10:59:24 +01:00
|
|
|
"matrix-widget-api": "^1.0.0",
|
2021-04-11 15:18:49 +01:00
|
|
|
"micromatch": "^4.0.4",
|
2021-11-22 17:33:13 +00:00
|
|
|
"mime": "^3.0.0",
|
|
|
|
"node-emoji": "^1.11.0",
|
2022-09-01 16:01:08 +01:00
|
|
|
"nyc": "^15.1.0",
|
2023-01-09 17:57:24 +00:00
|
|
|
"p-queue": "^6.6.2",
|
2021-12-16 15:05:03 +00:00
|
|
|
"prom-client": "^14.0.1",
|
2020-07-19 18:56:59 +01:00
|
|
|
"reflect-metadata": "^0.1.13",
|
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",
|
2023-05-17 15:57:36 +01:00
|
|
|
"vm2": "^3.9.18",
|
2020-11-22 21:10:27 +00:00
|
|
|
"winston": "^3.3.3",
|
2023-04-12 09:52:17 +01:00
|
|
|
"xml2js": "^0.5.0",
|
2023-04-25 16:52:57 +01:00
|
|
|
"yaml": "^2.2.2"
|
2019-08-02 19:12:03 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-09-16 14:23:43 +01:00
|
|
|
"@codemirror/lang-javascript": "^6.0.2",
|
2022-01-02 01:54:57 +00:00
|
|
|
"@napi-rs/cli": "^2.2.0",
|
2022-05-06 09:57:18 +01:00
|
|
|
"@preact/preset-vite": "^2.2.0",
|
2023-04-27 12:24:06 +01:00
|
|
|
"@tsconfig/node18": "^2.0.0",
|
2022-04-22 13:52:58 +02:00
|
|
|
"@types/ajv": "^1.0.0",
|
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",
|
2021-12-16 15:05:03 +00:00
|
|
|
"@types/jira-client": "^7.1.0",
|
2021-11-22 17:33:13 +00:00
|
|
|
"@types/markdown-it": "^12.2.3",
|
2020-11-22 21:10:27 +00:00
|
|
|
"@types/micromatch": "^4.0.1",
|
|
|
|
"@types/mime": "^2.0.3",
|
2021-11-22 17:33:13 +00:00
|
|
|
"@types/mocha": "^9.0.0",
|
|
|
|
"@types/node-emoji": "^1.8.1",
|
|
|
|
"@types/uuid": "^8.3.3",
|
2022-07-13 16:14:21 +01:00
|
|
|
"@types/xml2js": "^0.4.11",
|
2023-04-27 12:24:06 +01:00
|
|
|
"@types/node": "18",
|
2021-11-22 17:33:13 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
|
|
|
"@typescript-eslint/parser": "^5.4.0",
|
2022-09-16 14:23:43 +01:00
|
|
|
"@uiw/react-codemirror": "^4.12.3",
|
2021-04-11 15:18:49 +01:00
|
|
|
"chai": "^4.3.4",
|
2021-11-22 17:33:13 +00:00
|
|
|
"eslint": "^8.3.0",
|
2022-04-06 16:25:10 +02:00
|
|
|
"eslint-config-preact": "^1.3.0",
|
2021-11-22 17:33:13 +00:00
|
|
|
"eslint-plugin-mocha": "^9.0.0",
|
2021-04-11 15:18:49 +01:00
|
|
|
"mini.css": "^3.0.1",
|
2021-11-22 17:33:13 +00:00
|
|
|
"mocha": "^8.2.1",
|
|
|
|
"preact": "^10.5.15",
|
2022-07-14 10:58:31 -04:00
|
|
|
"rimraf": "^3.0.2",
|
2022-05-06 09:57:18 +01:00
|
|
|
"sass": "^1.51.0",
|
2023-04-27 12:24:06 +01:00
|
|
|
"ts-node": "^10.9.1",
|
|
|
|
"typescript": "^5.0.4",
|
2023-03-14 10:50:46 +00:00
|
|
|
"vite": "^4.1.4",
|
|
|
|
"vite-svg-loader": "^4.0.0"
|
2019-08-02 19:12:03 +01:00
|
|
|
}
|
|
|
|
}
|