@flarehr/pba-benefits-admin 1.0.1243 → 1.0.1246

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,24 +1,18 @@
1
1
  {
2
2
  "name": "@flarehr/pba-benefits-admin",
3
- "version": "1.0.1243",
3
+ "version": "1.0.1246",
4
4
  "license": "MIT",
5
- "main": "build/bundle.js",
5
+ "main": "build/bundle.umd.js",
6
+ "module": "build/bundle.es.js",
6
7
  "files": [
7
8
  "build"
8
9
  ],
9
- "babelMacros": {
10
- "twin": {
11
- "preset": "goober"
12
- }
13
- },
14
10
  "scripts": {
15
- "build": "preact build --no-prerender -c preact.config.js --no-sw",
16
- "start": "npm run dev",
17
- "dev": "preact watch --p 7100",
18
- "lint": "eslint . --ext .js,.jsx,.ts,.tsx && tsc --noemit --skipLibCheck",
19
- "test": "jest ./tests"
11
+ "dev": "vite",
12
+ "build": "vite build",
13
+ "preview": "vite preview",
14
+ "lint": "eslint && tsc -b"
20
15
  },
21
- "proxy": "http://localhost:7071",
22
16
  "eslintConfig": {
23
17
  "parser": "@typescript-eslint/parser",
24
18
  "extends": [
@@ -26,51 +20,41 @@
26
20
  "plugin:@typescript-eslint/recommended"
27
21
  ],
28
22
  "ignorePatterns": [
29
- "build/"
23
+ "build/",
24
+ "preact.config.js"
30
25
  ]
31
26
  },
32
27
  "dependencies": {
33
28
  "axios": "^1.8.3",
34
29
  "formik": "^2.2.9",
35
- "goober": "^2.0.44",
36
30
  "preact": "^10.3.1",
37
31
  "preact-custom-element": "^4.2.1"
38
32
  },
39
33
  "devDependencies": {
40
- "@agney/babel-plugin-goober-css-prop": "^0.0.1",
41
34
  "@heroicons/react": "^1.0.6",
42
- "@tailwindcss/forms": "^0.3.3",
43
- "@tailwindcss/typography": "^0.4.1",
35
+ "@preact/preset-vite": "^2.10.1",
36
+ "@tailwindcss/forms": "^0.5.10",
37
+ "@tailwindcss/typography": "^0.5.19",
44
38
  "@types/enzyme": "^3.10.9",
45
- "@types/jest": "^26.0.24",
39
+ "@types/node": "^18.19.86",
46
40
  "@types/preact-custom-element": "^4.0.1",
47
41
  "@typescript-eslint/eslint-plugin": "^4.29.0",
48
42
  "@typescript-eslint/parser": "^4.29.0",
49
- "babel-plugin-transform-goober": "^1.2.0",
50
- "base64-inline-loader": "^2.0.1",
43
+ "@vitejs/plugin-react": "^4.4.1",
44
+ "autoprefixer": "^10.4.21",
51
45
  "enzyme": "^3.11.0",
52
46
  "enzyme-adapter-preact-pure": "^3.1.0",
53
47
  "eslint": "^6.8.0",
54
48
  "eslint-config-preact": "^1.1.4",
55
49
  "eslint-plugin-jest": "^25.2.2",
56
50
  "fp-ts": "^2.12.1",
57
- "jest": "^27.2.5",
58
- "jest-preset-preact": "^4.0.3",
59
- "preact-cli": "^3.3.5",
60
51
  "sirv-cli": "^1.0.0-next.3",
61
- "tailwindcss": "^2.2.7",
62
- "twin.macro": "^2.8.2",
63
- "typescript": "^4.5.2",
52
+ "tailwindcss": "^3.4.4",
53
+ "terser": "^5.44.1",
54
+ "typescript": "^5.0.2",
55
+ "vite": "^5.4.10",
56
+ "vite-plugin-babel-macros": "^1.0.6",
57
+ "vite-plugin-svgr": "^4.2.0",
64
58
  "yup": "^0.32.11"
65
- },
66
- "resolutions": {
67
- "glob-parent": "6.0.2"
68
- },
69
- "jest": {
70
- "preset": "jest-preset-preact",
71
- "setupFiles": [
72
- "<rootDir>/tests/__mocks__/browserMocks.ts",
73
- "<rootDir>/tests/__mocks__/setupTests.ts"
74
- ]
75
59
  }
76
60
  }
@@ -1,12 +0,0 @@
1
- {
2
- "bundle.js": "bundle.fe334.esm.js",
3
- "polyfills.js": "polyfills.d912f.esm.js",
4
- "assets/check-circle.svg": "assets/check-circle.svg",
5
- "assets/dotshorizontal.svg": "assets/dotshorizontal.svg",
6
- "assets/exclamationcircle.svg": "assets/exclamationcircle.svg",
7
- "assets/favicon.ico": "assets/favicon.ico",
8
- "assets/fileUpload.svg": "assets/fileUpload.svg",
9
- "assets/photographicon.svg": "assets/photographicon.svg",
10
- "assets/trash.svg": "assets/trash.svg",
11
- "manifest.json": "manifest.json"
12
- }
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M5 12h.01M12 12h.01M19 12h.01M6 12a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg>
Binary file
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
2
- <path stroke-linecap="round" stroke-linejoin="round" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12" />
3
- </svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" /></svg>