chore: add prepare script

This commit is contained in:
DevAndromeda 2021-09-25 20:59:05 +05:45
parent 54a7d5ef34
commit ddf279e0cb
No known key found for this signature in database
GPG key ID: FA40E3EC5CB6DCD6

View file

@ -22,6 +22,7 @@
"docs": "docgen --jsdoc jsdoc.json --source src/*.ts src/**/*.ts --custom docs/index.yml --output docs/docs.json", "docs": "docgen --jsdoc jsdoc.json --source src/*.ts src/**/*.ts --custom docs/index.yml --output docs/docs.json",
"docs:test": "docgen --jsdoc jsdoc.json --source src/*.ts src/**/*.ts --custom docs/index.yml", "docs:test": "docgen --jsdoc jsdoc.json --source src/*.ts src/**/*.ts --custom docs/index.yml",
"lint": "eslint src --ext .ts", "lint": "eslint src --ext .ts",
"prepare": "husky install",
"lint:fix": "eslint src --ext .ts --fix" "lint:fix": "eslint src --ext .ts --fix"
}, },
"funding": "https://github.com/Androz2091/discord-player?sponsor=1", "funding": "https://github.com/Androz2091/discord-player?sponsor=1",