mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-27 03:41:02 +00:00
25 lines
865 B
JSON
25 lines
865 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.16.0-rc.1",
|
|
"node-fetch": "^2.6.1",
|
|
"prettier": "^2.3.2",
|
|
"ts-jest": "^27.0.3",
|
|
"typescript": "^4.3.5"
|
|
}
|
|
}
|