@salefony/api-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/README.md +675 -0
- package/dist/index.d.mts +1862 -0
- package/dist/index.d.ts +1862 -0
- package/dist/index.js +2310 -0
- package/dist/index.mjs +2246 -0
- package/package.json +64 -0
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salefony/api-sdk",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Salefony API SDK - Official SDK for Salefony Backend API. Full TypeScript support, SSR-ready, Admin & Frontstore resources.",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist",
|
|
10
|
+
"README.md"
|
|
11
|
+
],
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"require": "./dist/index.js",
|
|
16
|
+
"import": "./dist/index.mjs"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
21
|
+
"dev": "tsup src/index.ts --format cjs,esm --watch --dts",
|
|
22
|
+
"lint": "eslint src",
|
|
23
|
+
"type-check": "tsc --noEmit",
|
|
24
|
+
"prepublishOnly": "bun run build",
|
|
25
|
+
"version:patch": "npm version patch",
|
|
26
|
+
"version:minor": "npm version minor",
|
|
27
|
+
"version:major": "npm version major",
|
|
28
|
+
"publish": "npm publish"
|
|
29
|
+
},
|
|
30
|
+
"keywords": [
|
|
31
|
+
"salefony",
|
|
32
|
+
"api",
|
|
33
|
+
"sdk",
|
|
34
|
+
"cms",
|
|
35
|
+
"ecommerce",
|
|
36
|
+
"typescript",
|
|
37
|
+
"ssr",
|
|
38
|
+
"nextjs"
|
|
39
|
+
],
|
|
40
|
+
"author": "Salefony",
|
|
41
|
+
"license": "MIT",
|
|
42
|
+
"repository": {
|
|
43
|
+
"type": "git",
|
|
44
|
+
"url": "https://github.com/allonepage/website-for-business.git",
|
|
45
|
+
"directory": "packages/api-sdk"
|
|
46
|
+
},
|
|
47
|
+
"bugs": {
|
|
48
|
+
"url": "https://github.com/allonepage/website-for-business/issues"
|
|
49
|
+
},
|
|
50
|
+
"homepage": "https://github.com/allonepage/website-for-business/tree/main/packages/api-sdk#readme",
|
|
51
|
+
"engines": {
|
|
52
|
+
"node": ">=18.0.0"
|
|
53
|
+
},
|
|
54
|
+
"publishConfig": {
|
|
55
|
+
"access": "public"
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"axios": "^1.7.9"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"tsup": "^8.3.5",
|
|
62
|
+
"typescript": "^5.9.2"
|
|
63
|
+
}
|
|
64
|
+
}
|