@munchi_oy/cart-engine 0.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/README.md +204 -0
- package/dist/index.cjs +889 -0
- package/dist/index.d.cts +157 -0
- package/dist/index.d.ts +157 -0
- package/dist/index.js +852 -0
- package/package.json +60 -0
package/package.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@munchi_oy/cart-engine",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Headless settlement engine for Munchi POS, kiosk, and mobile flows",
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
|
+
"private": false,
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "./dist/index.cjs",
|
|
9
|
+
"module": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"react-native": "./dist/index.js",
|
|
15
|
+
"import": "./dist/index.js",
|
|
16
|
+
"require": "./dist/index.cjs",
|
|
17
|
+
"default": "./dist/index.js"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public",
|
|
22
|
+
"registry": "https://registry.npmjs.org/"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"sideEffects": false,
|
|
28
|
+
"scripts": {
|
|
29
|
+
"prebuild": "pnpm version:sync",
|
|
30
|
+
"build": "tsup src/index.ts --format esm,cjs --dts",
|
|
31
|
+
"test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --runInBand",
|
|
32
|
+
"test:watch": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --watch",
|
|
33
|
+
"typecheck": "tsc --noEmit",
|
|
34
|
+
"version:sync": "node ./scripts/sync-version.mjs",
|
|
35
|
+
"release": "bash ./scripts/release.sh",
|
|
36
|
+
"publish:npm": "bash ./scripts/publish-npm.sh",
|
|
37
|
+
"yalc:publish": "pnpm build && yalc publish --private",
|
|
38
|
+
"yalc:push": "pnpm build && yalc push --private"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@jest/globals": "^30.3.0",
|
|
42
|
+
"@munchi_oy/core": "^1.4.1",
|
|
43
|
+
"@paralleldrive/cuid2": "^3.3.0",
|
|
44
|
+
"@types/jest": "^30.0.0",
|
|
45
|
+
"@types/lodash": "^4.17.20",
|
|
46
|
+
"dayjs": "^1.11.20",
|
|
47
|
+
"jest": "^30.2.0",
|
|
48
|
+
"lodash": "^4.17.21",
|
|
49
|
+
"ts-jest": "^29.4.5",
|
|
50
|
+
"tsup": "^8.5.0",
|
|
51
|
+
"typescript": "^5.9.3",
|
|
52
|
+
"yalc": "^1.0.0-pre.53"
|
|
53
|
+
},
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"@munchi_oy/core": "^1.4.1",
|
|
56
|
+
"@paralleldrive/cuid2": "^3.3.0",
|
|
57
|
+
"dayjs": "^1.11.20",
|
|
58
|
+
"lodash": "^4.17.21"
|
|
59
|
+
}
|
|
60
|
+
}
|