lemmy-js-client 0.17.0-rc.6 → 0.17.0-rc.60

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,44 +1,21 @@
1
1
  {
2
2
  "name": "lemmy-js-client",
3
+ "version": "0.17.0-rc.60",
3
4
  "description": "A javascript / typescript client for Lemmy",
4
- "version": "0.17.0-rc.6",
5
- "author": "Dessalines <tyhou13@gmx.com>",
5
+ "repository": "https://github.com/LemmyNet/lemmy-js-client",
6
6
  "license": "AGPL-3.0",
7
+ "author": "Dessalines <tyhou13@gmx.com>",
7
8
  "main": "./dist/index.js",
9
+ "types": "./dist/index.d.ts",
8
10
  "files": [
9
11
  "/dist"
10
12
  ],
11
13
  "scripts": {
12
14
  "build": "tsc",
13
15
  "docs": "typedoc src/index.ts --sourcefile-url-prefix 'https://github.com/LemmyNet/lemmy-js-client/tree/main/src/'",
14
- "lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
16
+ "lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src && prettier --check src",
15
17
  "prepare": "yarn run build && husky install"
16
18
  },
17
- "repository": "https://github.com/LemmyNet/lemmy-js-client",
18
- "dependencies": {
19
- "@sniptt/monads": "^0.5.10"
20
- },
21
- "devDependencies": {
22
- "@sniptt/monads": "^0.5.10",
23
- "@types/node": "^17.0.10",
24
- "@types/node-fetch": "^3.0.3",
25
- "@typescript-eslint/eslint-plugin": "^5.10.0",
26
- "@typescript-eslint/parser": "^5.10.0",
27
- "eslint": "^8.7.0",
28
- "eslint-plugin-prettier": "^4.0.0",
29
- "husky": "^7.0.4",
30
- "lint-staged": "^12.2.2",
31
- "node-fetch": "^3.1.1",
32
- "prettier": "^2.5.0",
33
- "prettier-plugin-import-sort": "^0.0.7",
34
- "prettier-plugin-organize-imports": "^2.3.4",
35
- "prettier-plugin-packagejson": "^2.2.15",
36
- "sortpack": "^2.2.0",
37
- "typedoc": "^0.21.6",
38
- "typedoc-plugin-sourcefile-url": "^1.0.6",
39
- "typescript": "^4.5.4"
40
- },
41
- "types": "./dist/index.d.ts",
42
19
  "lint-staged": {
43
20
  "*.{ts,tsx,js}": [
44
21
  "prettier --write",
@@ -48,6 +25,27 @@
48
25
  "sortpack"
49
26
  ]
50
27
  },
28
+ "dependencies": {
29
+ "node-fetch": "2.6.6"
30
+ },
31
+ "devDependencies": {
32
+ "@types/node": "^18.6.2",
33
+ "@types/node-fetch": "2.6.2",
34
+ "@typescript-eslint/eslint-plugin": "^5.31.0",
35
+ "@typescript-eslint/parser": "^5.31.0",
36
+ "eslint": "^8.20.0",
37
+ "eslint-plugin-prettier": "^4.2.1",
38
+ "husky": "^8.0.1",
39
+ "lint-staged": "^13.0.3",
40
+ "prettier": "^2.7.1",
41
+ "prettier-plugin-import-sort": "^0.0.7",
42
+ "prettier-plugin-organize-imports": "^3.0.0",
43
+ "prettier-plugin-packagejson": "^2.2.18",
44
+ "sortpack": "^2.3.0",
45
+ "typedoc": "^0.21.6",
46
+ "typedoc-plugin-sourcefile-url": "^1.0.6",
47
+ "typescript": "^4.7.4"
48
+ },
51
49
  "importSort": {
52
50
  ".js, .jsx, .ts, .tsx": {
53
51
  "style": "module",