@shopkit/data-layer 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,120 @@
1
+ {
2
+ "name": "@shopkit/data-layer",
3
+ "version": "1.0.0",
4
+ "description": "Enterprise data abstraction layer providing unified API for e-commerce platforms including Shopify and custom backends",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.js"
13
+ },
14
+ "./adapters": {
15
+ "types": "./dist/adapters/index.d.ts",
16
+ "import": "./dist/adapters/index.mjs",
17
+ "require": "./dist/adapters/index.js"
18
+ },
19
+ "./models": {
20
+ "types": "./dist/models/index.d.ts",
21
+ "import": "./dist/models/index.mjs",
22
+ "require": "./dist/models/index.js"
23
+ },
24
+ "./utils": {
25
+ "types": "./dist/utils/index.d.ts",
26
+ "import": "./dist/utils/index.mjs",
27
+ "require": "./dist/utils/index.js"
28
+ },
29
+ "./services": {
30
+ "types": "./dist/services/index.d.ts",
31
+ "import": "./dist/services/index.mjs",
32
+ "require": "./dist/services/index.js"
33
+ },
34
+ "./logger": {
35
+ "types": "./dist/logger/index.d.ts",
36
+ "import": "./dist/logger/index.mjs",
37
+ "require": "./dist/logger/index.js"
38
+ }
39
+ },
40
+ "files": [
41
+ "dist",
42
+ "README.md",
43
+ "LICENSE"
44
+ ],
45
+ "scripts": {
46
+ "build": "bun run tsup",
47
+ "dev": "bun run tsup --watch",
48
+ "clean": "rm -rf dist",
49
+ "prepublishOnly": "bun run clean && bun run build",
50
+ "test": "vitest run",
51
+ "test:watch": "vitest",
52
+ "test:coverage": "vitest run --coverage",
53
+ "lint": "bun run eslint src --ext .ts,.tsx",
54
+ "lint:fix": "bun run eslint src --ext .ts,.tsx --fix",
55
+ "type-check": "bun run tsc --noEmit",
56
+ "release:patch": "bun version patch && bun run build && bun publish",
57
+ "release:minor": "bun version minor && bun run build && bun publish",
58
+ "release:major": "bun version major && bun run build && bun publish"
59
+ },
60
+ "keywords": [
61
+ "data-layer",
62
+ "commerce",
63
+ "e-commerce",
64
+ "storefront",
65
+ "shopify",
66
+ "api-abstraction",
67
+ "cart",
68
+ "products",
69
+ "orders",
70
+ "customers",
71
+ "collections",
72
+ "checkout",
73
+ "typescript",
74
+ "next.js",
75
+ "enterprise"
76
+ ],
77
+ "author": "Storefront Builder Team",
78
+ "license": "MIT",
79
+ "repository": {
80
+ "type": "git",
81
+ "url": "https://github.com/storefront-builder/data-layer.git"
82
+ },
83
+ "bugs": {
84
+ "url": "https://github.com/storefront-builder/data-layer/issues"
85
+ },
86
+ "homepage": "https://github.com/storefront-builder/data-layer#readme",
87
+ "peerDependencies": {
88
+ "react": ">=16.8.0",
89
+ "react-dom": ">=16.8.0"
90
+ },
91
+ "peerDependenciesMeta": {
92
+ "react": {
93
+ "optional": true
94
+ },
95
+ "react-dom": {
96
+ "optional": true
97
+ }
98
+ },
99
+ "dependencies": {
100
+ "@shopify/hydrogen-react": "^2025.5.0"
101
+ },
102
+ "devDependencies": {
103
+ "@types/node": "^20.8.10",
104
+ "vitest": "^1.0.0",
105
+ "@types/react": "^18.2.33",
106
+ "@types/react-dom": "^18.2.14",
107
+ "@typescript-eslint/eslint-plugin": "^6.0.0",
108
+ "@typescript-eslint/parser": "^6.0.0",
109
+ "eslint": "^8.52.0",
110
+ "tsup": "^8.0.0",
111
+ "typescript": "^5.2.2"
112
+ },
113
+ "engines": {
114
+ "node": ">=16.0.0",
115
+ "bun": ">=1.0.0"
116
+ },
117
+ "publishConfig": {
118
+ "access": "public"
119
+ }
120
+ }