84 lines
2.4 KiB
JSON
84 lines
2.4 KiB
JSON
{
|
|
"name": "private-safesupport-bot",
|
|
"version": "3.1.0",
|
|
"description": "Chatbot to manage interactions on Safe Support Chat",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"develop": "nodemon --exec babel-node src/index.js",
|
|
"build": "babel src -d dist",
|
|
"setup": "node src/setup.js",
|
|
"start": "yarn build && node dist/index.js",
|
|
"test": "jest"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"dotenv": "^8.2.0",
|
|
"matrix-js-sdk": "^6.2.1",
|
|
"node-fetch": "^2.6.1",
|
|
"node-localstorage": "^2.1.5",
|
|
"node-webcrypto-ossl": "^2.1.0",
|
|
"olm": "https://packages.matrix.org/npm/olm/olm-3.1.4.tgz",
|
|
"uuidv4": "^6.0.2",
|
|
"winston": "^3.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.8.4",
|
|
"@babel/core": "7.7.7",
|
|
"@babel/node": "^7.8.7",
|
|
"@babel/plugin-proposal-class-properties": "7.7.4",
|
|
"@babel/plugin-proposal-decorators": "7.7.4",
|
|
"@babel/plugin-proposal-export-namespace-from": "7.7.4",
|
|
"@babel/plugin-proposal-function-sent": "7.7.4",
|
|
"@babel/plugin-proposal-json-strings": "7.7.4",
|
|
"@babel/plugin-proposal-numeric-separator": "7.7.4",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.9.5",
|
|
"@babel/plugin-proposal-throw-expressions": "7.7.4",
|
|
"@babel/plugin-syntax-dynamic-import": "7.7.4",
|
|
"@babel/plugin-syntax-import-meta": "7.7.4",
|
|
"@babel/plugin-transform-runtime": "^7.9.0",
|
|
"@babel/preset-env": "^7.9.0",
|
|
"babel-jest": "^25.1.0",
|
|
"babel-plugin-dynamic-import-node": "^2.3.0",
|
|
"jest": "^25.1.0",
|
|
"jest-cli": "^25.1.0",
|
|
"nodemon": "^2.0.2",
|
|
"wait-for-expect": "^3.0.2"
|
|
},
|
|
"jest": {
|
|
"testPathIgnorePatterns": [
|
|
"dist"
|
|
]
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
"targets": {
|
|
"node": "12"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"plugins": [
|
|
"@babel/plugin-syntax-dynamic-import",
|
|
"@babel/plugin-syntax-import-meta",
|
|
"@babel/plugin-proposal-class-properties",
|
|
"@babel/plugin-proposal-json-strings",
|
|
[
|
|
"@babel/plugin-proposal-decorators",
|
|
{
|
|
"legacy": true
|
|
}
|
|
],
|
|
"@babel/plugin-proposal-function-sent",
|
|
"@babel/plugin-proposal-export-namespace-from",
|
|
"@babel/plugin-proposal-numeric-separator",
|
|
"@babel/plugin-proposal-throw-expressions",
|
|
"@babel/plugin-proposal-object-rest-spread",
|
|
"@babel/plugin-transform-runtime"
|
|
]
|
|
}
|
|
}
|