rocketchat2matrix/package.json
Henrik Hüttemann e241fa7491
Add lint-staged
This prevents unstaged files and unstaged changes to staged files from being checked.
2023-05-23 13:40:40 +02:00

51 lines
1.4 KiB
JSON

{
"author": "HerHde",
"description": "Rocket.Chat to Matrix migration script",
"license": "AGPL-3.0-or-later",
"main": "dist/app.js",
"name": "rocketchat2matrix",
"repository": {
"type": "git",
"url": "https://git.verdigado.com/NB-Public/rocketchat2matrix"
},
"lint-staged": {
"**/*.ts": [
"prettier --check",
"eslint --max-warnings 0"
]
},
"scripts": {
"format": "prettier 'src/**/*.ts' --check",
"format-fix": "prettier 'src/**/*.ts' --write",
"lint": "eslint src/ --ext .ts --max-warnings 0",
"lint-fix": "eslint src/ --fix --ext .ts",
"prefix": "npm run format-fix",
"fix": "npm run lint-fix",
"test": "echo \"Warning: no test specified\"",
"compile": "rm -rf dist/ && tsc",
"start": "npm run compile && node dist/app.js",
"prepare": "husky install"
},
"version": "0.1.0",
"devDependencies": {
"@types/node": "^20.2.1",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"prettier": "2.8.8",
"typescript": "^5.0.4"
},
"dependencies": {
"axios": "^1.4.0",
"winston": "^3.8.2"
}
}