mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-04-18 17:04:05 +00:00
* Adding admin image deletion endpoint. - Also moving the list media endpoints, since these can go under a common heading. - Fixes #5563 * Changing list_all to list * Fixing api tests. * Delete all aliases. * Fixing comment. * Updating lemmy-js-client.
40 lines
1.8 KiB
JSON
40 lines
1.8 KiB
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",
|
|
"packageManager": "pnpm@10.2.1+sha512.398035c7bd696d0ba0b10a688ed558285329d27ea994804a52bad9167d8e3a72bcb993f9699585d3ca25779ac64949ef422757a6c31102c12ab932e5cbe5cc92",
|
|
"scripts": {
|
|
"lint": "tsc --noEmit && eslint --report-unused-disable-directives && prettier --check 'src/**/*.ts'",
|
|
"fix": "prettier --write src && eslint --fix src",
|
|
"api-test": "jest -i follow.spec.ts && jest -i image.spec.ts && jest -i user.spec.ts && jest -i private_message.spec.ts && jest -i community.spec.ts && jest -i private_community.spec.ts && jest -i post.spec.ts && jest -i comment.spec.ts && jest -i tags.spec.ts",
|
|
"api-test-follow": "jest -i follow.spec.ts",
|
|
"api-test-comment": "jest -i comment.spec.ts",
|
|
"api-test-post": "jest -i post.spec.ts",
|
|
"api-test-user": "jest -i user.spec.ts",
|
|
"api-test-community": "jest -i community.spec.ts",
|
|
"api-test-private-community": "jest -i private_community.spec.ts",
|
|
"api-test-private-message": "jest -i private_message.spec.ts",
|
|
"api-test-image": "jest -i image.spec.ts",
|
|
"api-test-tags": "jest -i tags.spec.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.21.0",
|
|
"@types/jest": "^29.5.12",
|
|
"@types/node": "^22.13.1",
|
|
"@typescript-eslint/eslint-plugin": "^8.24.0",
|
|
"@typescript-eslint/parser": "^8.24.0",
|
|
"eslint": "^9.20.0",
|
|
"eslint-plugin-prettier": "^5.2.3",
|
|
"jest": "^29.5.0",
|
|
"lemmy-js-client": "1.0.0-media-fixes.1",
|
|
"prettier": "^3.5.0",
|
|
"ts-jest": "^29.1.0",
|
|
"tsoa": "^6.6.0",
|
|
"typescript": "^5.7.3",
|
|
"typescript-eslint": "^8.24.0"
|
|
}
|
|
}
|