about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/matrix-synapse/matrix-hookshot/package.json
blob: 0ff87211985ff31ca5b77dd252d7bc0010976ba8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
  "name": "matrix-hookshot",
  "version": "4.7.0",
  "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": {
    "node": ">=18"
  },
  "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",
    "start:resetcrypto": "node --require source-map-support/register lib/App/ResetCryptoStore.js",
    "test": "mocha -r ts-node/register tests/init.ts tests/*.ts  tests/**/*.ts",
    "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'",
    "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"
  },
  "dependencies": {
    "@alloc/quick-lru": "^5.2.0",
    "@octokit/auth-app": "^3.3.0",
    "@octokit/auth-token": "^2.4.5",
    "@octokit/rest": "^18.10.0",
    "@octokit/webhooks": "^9.1.2",
    "@sentry/node": "^7.52.1",
    "ajv": "^8.11.0",
    "axios": "^1.6.2",
    "cors": "^2.8.5",
    "express": "^4.17.3",
    "figma-js": "^1.14.0",
    "http-status-codes": "^2.2.0",
    "ioredis": "^5.2.3",
    "jira-client": "^8.0.0",
    "markdown-it": "^12.3.2",
    "matrix-appservice-bridge": "^9.0.1",
    "matrix-bot-sdk": "npm:@vector-im/matrix-bot-sdk@^0.6.7-element.1",
    "matrix-widget-api": "^1.0.0",
    "micromatch": "^4.0.4",
    "mime": "^3.0.0",
    "node-emoji": "^1.11.0",
    "nyc": "^15.1.0",
    "p-queue": "^6.6.2",
    "prom-client": "^14.2.0",
    "quickjs-emscripten": "^0.23.0",
    "reflect-metadata": "^0.1.13",
    "source-map-support": "^0.5.21",
    "string-argv": "^0.3.1",
    "tiny-typed-emitter": "^2.1.0",
    "winston": "^3.3.3",
    "xml2js": "^0.5.0",
    "yaml": "^2.2.2"
  },
  "devDependencies": {
    "@codemirror/lang-javascript": "^6.0.2",
    "@napi-rs/cli": "^2.13.2",
    "@preact/preset-vite": "^2.2.0",
    "@tsconfig/node18": "^2.0.0",
    "@types/ajv": "^1.0.0",
    "@types/chai": "^4.2.22",
    "@types/cors": "^2.8.12",
    "@types/express": "^4.17.14",
    "@types/jira-client": "^7.1.0",
    "@types/markdown-it": "^12.2.3",
    "@types/micromatch": "^4.0.1",
    "@types/mime": "^2.0.3",
    "@types/mocha": "^9.0.0",
    "@types/node": "18",
    "@types/node-emoji": "^1.8.1",
    "@types/uuid": "^8.3.3",
    "@types/xml2js": "^0.4.11",
    "@typescript-eslint/eslint-plugin": "^6.6.0",
    "@typescript-eslint/parser": "^6.6.0",
    "@uiw/react-codemirror": "^4.12.3",
    "chai": "^4.3.4",
    "eslint": "^8.49.0",
    "eslint-config-preact": "^1.3.0",
    "eslint-plugin-mocha": "^10.1.0",
    "mini.css": "^3.0.1",
    "mocha": "^8.2.1",
    "preact": "^10.5.15",
    "rimraf": "^3.0.2",
    "sass": "^1.51.0",
    "ts-node": "^10.9.1",
    "typescript": "^5.1.3",
    "vite": "^4.1.5",
    "vite-svg-loader": "^4.0.0"
  }
}