mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
Add testing support
This commit is contained in:
parent
ec04907b06
commit
7272e32037
@ -9,7 +9,8 @@
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"build": "tsc --project tsconfig.json",
|
||||
"start": "node lib/app.js"
|
||||
"start": "node lib/app.js",
|
||||
"test": "mocha -r ts-node/register tests/**/*.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@octokit/rest": "^16.28.7",
|
||||
@ -26,15 +27,19 @@
|
||||
"yaml": "^1.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/chai": "^4.1.7",
|
||||
"@types/express": "^4.17.0",
|
||||
"@types/ioredis": "^4.0.13",
|
||||
"@types/markdown-it": "^0.0.8",
|
||||
"@types/micromatch": "^3.1.0",
|
||||
"@types/mime": "^2.0.1",
|
||||
"@types/mocha": "^5.2.7",
|
||||
"@types/node": "^12.6.9",
|
||||
"@types/node-emoji": "^1.8.1",
|
||||
"@types/request-promise-native": "^1.0.16",
|
||||
"@types/yaml": "^1.0.2",
|
||||
"chai": "^4.2.0",
|
||||
"ts-node": "^8.3.0",
|
||||
"typescript": "^3.5.3"
|
||||
}
|
||||
}
|
||||
|
@ -25,5 +25,8 @@
|
||||
"inlineSources": true,
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
}
|
||||
},
|
||||
"exclude": [
|
||||
"tests/**/*"
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user