teko-chat-sdk 1.0.0

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 ADDED
@@ -0,0 +1,77 @@
1
+ {
2
+ "name": "teko-chat-sdk",
3
+ "version": "1.0.0",
4
+ "description": "TekoChatSDK - AI chatbot SDK for Teko ECOM apps",
5
+ "license": "UNLICENSED",
6
+ "type": "module",
7
+ "main": "./dist/index.js",
8
+ "module": "./dist/index.mjs",
9
+ "types": "./dist/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/index.d.ts",
13
+ "import": "./dist/index.mjs",
14
+ "require": "./dist/index.js"
15
+ }
16
+ },
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "scripts": {
21
+ "build": "tsup src/index.ts --format esm,cjs --dts --clean",
22
+ "dev": "yarn --cwd demo dev",
23
+ "dev:sdk": "tsup src/index.ts --format esm,cjs --dts --watch",
24
+ "lint": "eslint --ext .ts,.tsx src demo/src",
25
+ "format": "prettier --write \"**/*.{ts,tsx,json,md}\" --ignore-path .prettierignore",
26
+ "prepare": "husky && yarn --cwd demo install",
27
+ "storybook": "storybook dev -p 6006",
28
+ "build-storybook": "storybook build",
29
+ "release": "release-it"
30
+ },
31
+ "publishConfig": {
32
+ "access": "public"
33
+ },
34
+ "peerDependencies": {
35
+ "react": ">=18",
36
+ "react-dom": ">=18",
37
+ "teko-oauth2": ">=1.8.0"
38
+ },
39
+ "peerDependenciesMeta": {
40
+ "teko-oauth2": {
41
+ "optional": true
42
+ }
43
+ },
44
+ "devDependencies": {
45
+ "@release-it/conventional-changelog": "^10.0.6",
46
+ "@storybook/addon-essentials": "^8.6.0",
47
+ "@storybook/addon-interactions": "^8.6.0",
48
+ "@storybook/react": "^8.6.0",
49
+ "@storybook/react-vite": "^8.6.0",
50
+ "@types/react": "^18.3.0",
51
+ "@types/react-dom": "^18.3.0",
52
+ "@typescript-eslint/eslint-plugin": "^8",
53
+ "@typescript-eslint/parser": "^8",
54
+ "eslint": "^8.57.0",
55
+ "eslint-config-prettier": "^8.10.0",
56
+ "eslint-plugin-jsx-a11y": "^6.8.0",
57
+ "eslint-plugin-prettier": "^4.2.0",
58
+ "eslint-plugin-react": "^7.34.0",
59
+ "eslint-plugin-react-hooks": "^4.6.0",
60
+ "husky": "^9.0.0",
61
+ "lint-staged": "^15.0.0",
62
+ "prettier": "^2.8.0",
63
+ "release-it": "^19.2.4",
64
+ "storybook": "^8.6.0",
65
+ "teko-oauth2": "^1.9.1",
66
+ "tsup": "^8.0.0",
67
+ "typescript": "^5.4.0",
68
+ "vite": "^5.0.0"
69
+ },
70
+ "lint-staged": {
71
+ "*.{ts,tsx}": "eslint --fix",
72
+ "*.{json,md}": "prettier --write"
73
+ },
74
+ "engines": {
75
+ "node": ">=20"
76
+ }
77
+ }