aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sdk/package.json
blob: ea23a8cdfd36b570477bda45e15cb14ca39427e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
  "$schema": "https://json.schemastore.org/package.json",
  "name": "@karakeep/sdk",
  "version": "0.23.2",
  "description": "Typescript SDK for Karakeep",
  "license": "GNU Affero General Public License version 3",
  "keywords": [
    "hoarder",
    "karakeep",
    "sdk"
  ],
  "main": "./src/index.ts",
  "type": "module",
  "publishConfig": {
    "main": "./dist/index.js",
    "exports": "./dist/index.js",
    "module": "./dist/index.mjs",
    "types": "./dist/index.d.ts"
  },
  "devDependencies": {
    "@karakeep/eslint-config": "workspace:^0.2.0",
    "@karakeep/prettier-config": "workspace:^0.1.0",
    "@karakeep/tsconfig": "workspace:^0.1.0",
    "@tsconfig/node22": "^22.0.0",
    "openapi-typescript": "^7.6.1",
    "tsx": "^4.7.1",
    "vite": "^5.1.0",
    "vite-plugin-dts": "^4.4.0"
  },
  "scripts": {
    "build": "vite build",
    "run": "tsx src/index.ts",
    "lint": "eslint .",
    "lint:fix": "eslint . --fix",
    "format": "prettier . --ignore-path ../../.prettierignore",
    "format:fix": "prettier . --write --ignore-path ../../.prettierignore",
    "typecheck": "tsc --noEmit"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/karakeep-app/karakeep.git",
    "directory": "packages/sdk"
  },
  "eslintConfig": {
    "root": true,
    "extends": [
      "@karakeep/eslint-config/base"
    ],
    "ignorePatterns": [
      "src/karakeep-api.d.ts"
    ]
  },
  "prettier": "@karakeep/prettier-config",
  "dependencies": {
    "openapi-fetch": "^0.13.3"
  }
}