mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-11 10:36:30 +00:00
2016afc9db
* A first pass at user / community blocking. #426 * Adding unit tests for person and community block. * Moving migration * Fixing creator_blocked for comment queries, added tests. * Don't let a person block themselves * Fix post creator_blocked * Adding creator_blocked to PersonMentionView * Moving blocked and follows to MyUserInfo * Rename to local_user_view * Add moderates to MyUserInfo * Adding BlockCommunityResponse * Fixing name, and check_person_block * Fixing tests. * Using type in Blockable trait. * Changing recipient to target, adding unfollow to block action.
25 lines
722 B
JSON
25 lines
722 B
JSON
{
|
|
"name": "api_tests",
|
|
"version": "0.0.1",
|
|
"description": "API tests for lemmy backend",
|
|
"main": "index.js",
|
|
"repository": "https://github.com/LemmyNet/lemmy",
|
|
"author": "Dessalines",
|
|
"license": "AGPL-3.0",
|
|
"scripts": {
|
|
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
|
|
"fix": "prettier --write src && eslint --fix src",
|
|
"api-test": "jest src/ -i --verbose"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^26.0.23",
|
|
"eslint": "^7.30.0",
|
|
"eslint-plugin-jane": "^9.0.3",
|
|
"jest": "^27.0.6",
|
|
"lemmy-js-client": "0.11.4-rc.9",
|
|
"node-fetch": "^2.6.1",
|
|
"prettier": "^2.3.2",
|
|
"ts-jest": "^27.0.3",
|
|
"typescript": "^4.3.5"
|
|
}
|
|
}
|