@spiffcommerce/core 14.2.1-alpha.0 → 14.2.1

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,18 +1,30 @@
1
1
  {
2
2
  "name": "@spiffcommerce/core",
3
- "version": "14.2.1-alpha.0",
3
+ "version": "14.2.1",
4
4
  "description": "Core client API for interacting with the Spiff Commerce backend.",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/main.js",
7
7
  "module": "dist/module.js",
8
8
  "types": "dist/types.d.ts",
9
9
  "scripts": {
10
- "dev": "vite",
11
- "build": "vite build",
10
+ "build": "parcel build",
11
+ "dev": "ladle serve",
12
12
  "test": "tsc --noEmit --isolatedModules --skipLibCheck && jest",
13
13
  "prepare": "yarn run build",
14
14
  "lint": "npx eslint src"
15
15
  },
16
+ "targets": {
17
+ "main": {
18
+ "optimize": true,
19
+ "includeNodeModules": [
20
+ "@spiffcommerce/papyrus",
21
+ "pith"
22
+ ]
23
+ },
24
+ "module": {
25
+ "optimize": true
26
+ }
27
+ },
16
28
  "keywords": [
17
29
  "e-commerce",
18
30
  "personalization",
@@ -24,10 +36,15 @@
24
36
  "dist/module.js",
25
37
  "dist/types.d.ts"
26
38
  ],
27
- "author": "SpiffCommerce",
39
+ "author": "Spiff Commerce",
28
40
  "devDependencies": {
29
41
  "@babel/plugin-proposal-class-properties": "^7.18.6",
30
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",
31
48
  "@spiffcommerce/preview": "^3.3.1",
32
49
  "@types/enzyme": "^3.10.12",
33
50
  "@types/jest": "^29.0.3",
@@ -35,27 +52,49 @@
35
52
  "@types/lodash.debounce": "^4.0.7",
36
53
  "@types/lodash.isequal": "^4.5.6",
37
54
  "@types/qrcode": "^1.3.5",
55
+ "@types/react": "^17.0.9",
56
+ "@types/react-dom": "^17.0.9",
38
57
  "@typescript-eslint/eslint-plugin": "^5.43.0",
39
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",
40
63
  "enzyme": "^3.11.0",
41
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",
42
69
  "husky": "^8.0.1",
43
70
  "jest": "^29.6.2",
44
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",
45
80
  "ts-jest": "^29.1.1",
46
- "tsup": "^7.2.0",
47
- "typescript": "5.0.3",
48
- "vite": "^4.4.9"
81
+ "typescript": "4.7.2",
82
+ "util": "^0.12.5"
83
+ },
84
+ "peerDependencies": {
85
+ "react": "^17.0.2",
86
+ "react-dom": "^17.0.2"
49
87
  },
50
88
  "dependencies": {
51
- "@apollo/client": "^3.8.3",
52
- "@spiffcommerce/papyrus": "4.1.4-alpha.0",
53
- "graphql": "^16.8.0",
89
+ "@apollo/client": "^3.7.0",
90
+ "@spiffcommerce/papyrus": "4.0.4",
91
+ "cross-fetch": "^3.1.5",
92
+ "graphql": "^16.6.0",
54
93
  "lodash.clonedeep": "^4.5.0",
55
94
  "lodash.debounce": "^4.0.8",
56
95
  "lodash.isequal": "^4.5.0",
57
96
  "pith": "https://github.com/spiffdev/pith.git#6fba0bf988b239967cfbcea91eba6fa0cc26631c",
58
- "qrcode": "^1.5.3",
97
+ "qrcode": "^1.5.1",
59
98
  "svg-path-bbox": "^1.2.4",
60
99
  "unicode-default-word-boundary": "^13.0.0"
61
100
  }