]> Untitled Git - lemmy.git/blob - api_tests/package.json
Sanitize html (#3708)
[lemmy.git] / api_tests / package.json
1 {
2   "name": "api_tests",
3   "version": "0.0.1",
4   "description": "API tests for lemmy backend",
5   "main": "index.js",
6   "repository": "https://github.com/LemmyNet/lemmy",
7   "author": "Dessalines",
8   "license": "AGPL-3.0",
9   "scripts": {
10     "lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src && prettier --check 'src/**/*.ts'",
11     "fix": "prettier --write src && eslint --fix src",
12     "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"
13   },
14   "devDependencies": {
15     "@types/jest": "^29.5.1",
16     "@types/node": "^20.1.2",
17     "@typescript-eslint/eslint-plugin": "^5.59.5",
18     "@typescript-eslint/parser": "^5.59.5",
19     "eslint": "^8.40.0",
20     "eslint-plugin-prettier": "^4.0.0",
21     "jest": "^29.5.0",
22     "lemmy-js-client": "0.18.3-rc.3",
23     "prettier": "^3.0.0",
24     "ts-jest": "^29.1.0",
25     "typescript": "^5.0.4"
26   }
27 }