tako-sdk 0.1.4 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,21 +1,34 @@
1
1
  {
2
2
  "name": "tako-sdk",
3
- "version": "0.1.4",
3
+ "version": "1.0.1",
4
4
  "description": "JavaScript/TypeScript SDK for the Tako API",
5
5
  "type": "module",
6
- "main": "dist/index.js",
7
- "module": "dist/index.mjs",
6
+ "main": "dist/index.cjs",
7
+ "module": "dist/index.js",
8
8
  "types": "dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ }
15
+ },
9
16
  "files": [
10
17
  "dist"
11
18
  ],
19
+ "engines": {
20
+ "node": ">=18"
21
+ },
12
22
  "scripts": {
13
23
  "build": "tsup src/index.ts --format cjs,esm --dts",
14
- "lint": "eslint src/**/*.ts",
15
- "test": "jest",
16
- "prepublishOnly": "npm run build",
17
- "test:js": "node test.js",
18
- "test:ts": "node --loader ts-node/esm test.ts"
24
+ "typecheck": "tsc --noEmit -p tsconfig.check.json",
25
+ "lint": "eslint .",
26
+ "format": "prettier --write .",
27
+ "format:check": "prettier --check .",
28
+ "test": "vitest run",
29
+ "test:watch": "vitest",
30
+ "regenerate": "./scripts/regenerate",
31
+ "prepublishOnly": "npm run build"
19
32
  },
20
33
  "keywords": [
21
34
  "tako",
@@ -25,24 +38,27 @@
25
38
  "javascript",
26
39
  "nextjs"
27
40
  ],
28
- "author": "",
41
+ "author": "Tako",
29
42
  "license": "MIT",
30
- "devDependencies": {
31
- "@types/jest": "^29.5.3",
32
- "@types/node": "^20.4.5",
33
- "jest": "^29.6.2",
34
- "ts-jest": "^29.1.1",
35
- "ts-node": "^10.9.2",
36
- "tsup": "^7.1.0",
37
- "typescript": "^5.1.6"
43
+ "repository": {
44
+ "type": "git",
45
+ "url": "git+https://github.com/TakoData/tako-sdk-ts.git"
38
46
  },
39
- "peerDependencies": {
40
- "typescript": ">=4.7.0",
41
- "eslint": "^7.0.0 || ^8.0.0",
42
- "@typescript-eslint/eslint-plugin": "^5.0.0 || ^6.0.0",
43
- "@typescript-eslint/parser": "^5.0.0 || ^6.0.0"
47
+ "bugs": {
48
+ "url": "https://github.com/TakoData/tako-sdk-ts/issues"
44
49
  },
45
- "engines": {
46
- "node": ">=14.0.0"
50
+ "homepage": "https://github.com/TakoData/tako-sdk-ts#readme",
51
+ "devDependencies": {
52
+ "@anthropic-ai/sdk": "^0.32.1",
53
+ "@types/node": "^22.10.0",
54
+ "openai": "^4.77.0",
55
+ "@typescript-eslint/eslint-plugin": "^8.18.0",
56
+ "@typescript-eslint/parser": "^8.18.0",
57
+ "eslint": "^9.17.0",
58
+ "prettier": "^3.4.2",
59
+ "tsup": "^8.3.5",
60
+ "tsx": "^4.19.2",
61
+ "typescript": "^5.7.2",
62
+ "vitest": "^3.0.0"
47
63
  }
48
64
  }