lemmy-js-client 0.17.0-rc.9 → 0.17.2-rc.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,40 +1,21 @@
1
1
  {
2
2
  "name": "lemmy-js-client",
3
+ "version": "0.17.2-rc.2",
3
4
  "description": "A javascript / typescript client for Lemmy",
4
- "version": "0.17.0-rc.9",
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
- "devDependencies": {
19
- "@types/node": "^17.0.10",
20
- "@types/node-fetch": "^3.0.3",
21
- "@typescript-eslint/eslint-plugin": "^5.10.0",
22
- "@typescript-eslint/parser": "^5.10.0",
23
- "eslint": "^8.7.0",
24
- "eslint-plugin-prettier": "^4.0.0",
25
- "husky": "^7.0.4",
26
- "lint-staged": "^12.2.2",
27
- "node-fetch": "^3.1.1",
28
- "prettier": "^2.5.0",
29
- "prettier-plugin-import-sort": "^0.0.7",
30
- "prettier-plugin-organize-imports": "^2.3.4",
31
- "prettier-plugin-packagejson": "^2.2.15",
32
- "sortpack": "^2.2.0",
33
- "typedoc": "^0.21.6",
34
- "typedoc-plugin-sourcefile-url": "^1.0.6",
35
- "typescript": "^4.5.4"
36
- },
37
- "types": "./dist/index.d.ts",
38
19
  "lint-staged": {
39
20
  "*.{ts,tsx,js}": [
40
21
  "prettier --write",
@@ -44,6 +25,27 @@
44
25
  "sortpack"
45
26
  ]
46
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
+ },
47
49
  "importSort": {
48
50
  ".js, .jsx, .ts, .tsx": {
49
51
  "style": "module",