@spiffcommerce/core 14.2.5-alpha.0 → 14.3.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/dist/main.js +1357 -0
- package/dist/module.js +1357 -0
- package/dist/{index.d.mts → types.d.ts} +827 -773
- package/package.json +57 -15
- package/dist/index.mjs +0 -55485
- package/dist/index.umd.js +0 -2851
package/package.json
CHANGED
|
@@ -1,17 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spiffcommerce/core",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.3.0",
|
|
4
4
|
"description": "Core client API for interacting with the Spiff Commerce backend.",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
|
-
"main": "dist/
|
|
7
|
-
"module": "dist/
|
|
8
|
-
"types": "dist/
|
|
6
|
+
"main": "dist/main.js",
|
|
7
|
+
"module": "dist/module.js",
|
|
8
|
+
"types": "dist/types.d.ts",
|
|
9
9
|
"scripts": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
10
|
+
"build": "parcel build",
|
|
11
|
+
"dev": "ladle serve",
|
|
12
12
|
"test": "tsc --noEmit --isolatedModules --skipLibCheck && jest",
|
|
13
|
+
"prepare": "yarn run build",
|
|
13
14
|
"lint": "npx eslint src"
|
|
14
15
|
},
|
|
16
|
+
"targets": {
|
|
17
|
+
"main": {
|
|
18
|
+
"optimize": true,
|
|
19
|
+
"includeNodeModules": [
|
|
20
|
+
"@spiffcommerce/papyrus",
|
|
21
|
+
"pith"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"module": {
|
|
25
|
+
"optimize": true
|
|
26
|
+
}
|
|
27
|
+
},
|
|
15
28
|
"keywords": [
|
|
16
29
|
"e-commerce",
|
|
17
30
|
"personalization",
|
|
@@ -19,12 +32,19 @@
|
|
|
19
32
|
"print"
|
|
20
33
|
],
|
|
21
34
|
"files": [
|
|
22
|
-
"dist"
|
|
35
|
+
"dist/main.js",
|
|
36
|
+
"dist/module.js",
|
|
37
|
+
"dist/types.d.ts"
|
|
23
38
|
],
|
|
24
|
-
"author": "
|
|
39
|
+
"author": "Spiff Commerce",
|
|
25
40
|
"devDependencies": {
|
|
26
41
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
27
42
|
"@esbuild-plugins/node-globals-polyfill": "^0.1.1",
|
|
43
|
+
"@ladle/react": "^2.4.5",
|
|
44
|
+
"@parcel/packager-ts": "2.8.0",
|
|
45
|
+
"@parcel/transformer-typescript-tsc": "^2.8.0",
|
|
46
|
+
"@parcel/transformer-typescript-types": "2.8.0",
|
|
47
|
+
"@parcel/validator-typescript": "^2.8.0",
|
|
28
48
|
"@spiffcommerce/preview": "^3.3.1",
|
|
29
49
|
"@types/enzyme": "^3.10.12",
|
|
30
50
|
"@types/jest": "^29.0.3",
|
|
@@ -32,27 +52,49 @@
|
|
|
32
52
|
"@types/lodash.debounce": "^4.0.7",
|
|
33
53
|
"@types/lodash.isequal": "^4.5.6",
|
|
34
54
|
"@types/qrcode": "^1.3.5",
|
|
55
|
+
"@types/react": "^17.0.9",
|
|
56
|
+
"@types/react-dom": "^17.0.9",
|
|
35
57
|
"@typescript-eslint/eslint-plugin": "^5.43.0",
|
|
36
58
|
"@typescript-eslint/parser": "^5.43.0",
|
|
59
|
+
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
|
|
60
|
+
"agent-base": "^6.0.2",
|
|
61
|
+
"assert": "^2.0.0",
|
|
62
|
+
"buffer": "^6.0.3",
|
|
37
63
|
"enzyme": "^3.11.0",
|
|
38
64
|
"eslint": "^8.28.0",
|
|
65
|
+
"eslint-plugin-react": "^7.31.11",
|
|
66
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
67
|
+
"events": "^3.3.0",
|
|
68
|
+
"https-browserify": "^1.0.0",
|
|
39
69
|
"husky": "^8.0.1",
|
|
40
70
|
"jest": "^29.6.2",
|
|
41
71
|
"jest-environment-jsdom": "^29.6.2",
|
|
72
|
+
"parcel": "^2.7.0",
|
|
73
|
+
"path-browserify": "^1.0.1",
|
|
74
|
+
"process": "^0.11.10",
|
|
75
|
+
"querystring-es3": "^0.2.1",
|
|
76
|
+
"react": "^17.0.2",
|
|
77
|
+
"react-dom": "^17.0.2",
|
|
78
|
+
"stream-browserify": "^3.0.0",
|
|
79
|
+
"stream-http": "^3.2.0",
|
|
42
80
|
"ts-jest": "^29.1.1",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
|
|
81
|
+
"typescript": "4.7.2",
|
|
82
|
+
"util": "^0.12.5"
|
|
83
|
+
},
|
|
84
|
+
"peerDependencies": {
|
|
85
|
+
"react": "^17.0.2",
|
|
86
|
+
"react-dom": "^17.0.2"
|
|
46
87
|
},
|
|
47
88
|
"dependencies": {
|
|
48
|
-
"@apollo/client": "^3.
|
|
49
|
-
"@spiffcommerce/papyrus": "4.
|
|
50
|
-
"
|
|
89
|
+
"@apollo/client": "^3.7.0",
|
|
90
|
+
"@spiffcommerce/papyrus": "4.0.4",
|
|
91
|
+
"cross-fetch": "^3.1.5",
|
|
92
|
+
"graphql": "^16.6.0",
|
|
51
93
|
"lodash.clonedeep": "^4.5.0",
|
|
52
94
|
"lodash.debounce": "^4.0.8",
|
|
53
95
|
"lodash.isequal": "^4.5.0",
|
|
54
96
|
"pith": "https://github.com/spiffdev/pith.git#6fba0bf988b239967cfbcea91eba6fa0cc26631c",
|
|
55
|
-
"qrcode": "^1.5.
|
|
97
|
+
"qrcode": "^1.5.1",
|
|
56
98
|
"svg-path-bbox": "^1.2.4",
|
|
57
99
|
"unicode-default-word-boundary": "^13.0.0"
|
|
58
100
|
}
|