mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 04:41:19 +00:00
92d17639cd
* Exposing SubscribedType. Fixes #2281 * Fixing other subscribed fields. * Fix federation tests * Add comment about follower row.
25 lines
866 B
JSON
25 lines
866 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 -i follow.spec.ts && jest -i src/post.spec.ts && jest -i comment.spec.ts && jest -i private_message.spec.ts && jest -i user.spec.ts && jest -i community.spec.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^26.0.23",
|
|
"eslint": "^7.30.0",
|
|
"eslint-plugin-jane": "^9.0.3",
|
|
"jest": "^27.0.6",
|
|
"lemmy-js-client": "0.17.0-rc.11",
|
|
"node-fetch": "^2.6.1",
|
|
"prettier": "^2.3.2",
|
|
"ts-jest": "^27.0.3",
|
|
"typescript": "^4.3.5"
|
|
}
|
|
}
|