@moonbase.sh/react 0.0.0 → 1.1.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 CHANGED
@@ -1,7 +1,47 @@
1
1
  {
2
2
  "name": "@moonbase.sh/react",
3
- "version": "0.0.0",
4
- "description": "Placeholder for the Moonbase React SDK. The first release is 1.1.0.",
3
+ "type": "module",
4
+ "version": "1.1.0",
5
+ "description": "Package to let you build React storefronts with Moonbase.sh as payment and delivery provider",
5
6
  "author": "Tobias Lønnerød Madsen <m@dsen.tv>",
6
- "license": "MIT"
7
- }
7
+ "license": "MIT",
8
+ "sideEffects": false,
9
+ "main": "./dist/index.js",
10
+ "module": "./dist/index.js",
11
+ "types": "./dist/index.d.ts",
12
+ "files": [
13
+ "dist/**"
14
+ ],
15
+ "peerDependencies": {
16
+ "react": ">=18"
17
+ },
18
+ "dependencies": {
19
+ "@moonbase.sh/storefront-api": "3.17.0",
20
+ "uuid": "^9.0.1"
21
+ },
22
+ "devDependencies": {
23
+ "@types/node": "^22.5.4",
24
+ "@types/react": "^19.3.0",
25
+ "@types/react-dom": "^19.3.0",
26
+ "@types/react-test-renderer": "^19.3.0",
27
+ "@types/uuid": "^9.0.8",
28
+ "react": "19.3.0",
29
+ "react-dom": "19.3.0",
30
+ "react-test-renderer": "19.3.0",
31
+ "rimraf": "^5.0.10",
32
+ "tsup": "^8.5.0",
33
+ "typescript": "~5.8.3",
34
+ "vitest": "^2.1.4"
35
+ },
36
+ "scripts": {
37
+ "build": "tsup src/index.ts --format esm,cjs --dts",
38
+ "dev": "tsup src/index.ts --format esm,cjs --watch --dts",
39
+ "type-check": "tsc --noEmit -p tsconfig.typecheck.json",
40
+ "lint": "eslint . --cache --cache-location node_modules/.cache/eslint/ --cache-strategy content",
41
+ "lint:fix": "eslint . --cache --cache-location node_modules/.cache/eslint/ --cache-strategy content --fix",
42
+ "test": "vitest run",
43
+ "test:watch": "vitest",
44
+ "test:integration": "TEST_INTEGRATION=true vitest run",
45
+ "version": "npm version"
46
+ }
47
+ }