@kashifd/jwero-components 0.4.4 → 0.4.6

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,38 +1,50 @@
1
1
  {
2
2
  "name": "@kashifd/jwero-components",
3
+ "description": "A Jwero UI library for React",
3
4
  "private": false,
4
- "version": "0.4.4",
5
+ "version": "0.4.6",
5
6
  "type": "module",
6
- "main": "dist/index.js",
7
- "files": [
8
- "dist"
9
- ],
7
+ "main": "dist/index.umd.js",
8
+ "module": "dist/index.es.js",
9
+ "types": "dist/index.d.ts",
10
10
  "exports": {
11
11
  ".": {
12
- "types": "./dist/index.d.ts",
13
- "default": "./dist/index.js"
14
- }
12
+ "import": "./dist/index.es.js",
13
+ "require": "./dist/index.umd.js",
14
+ "types": "./dist/index.d.ts"
15
+ },
16
+ "./styles": "./dist/style.css"
15
17
  },
18
+ "files": [
19
+ "/dist"
20
+ ],
16
21
  "scripts": {
17
22
  "dev": "vite",
18
- "build": "tsc -b && vite build",
23
+ "clean": "rimraf dist",
24
+ "prebuild": "npm run clean",
25
+ "build": "tsc && vite build",
19
26
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
20
27
  "preview": "vite preview",
21
28
  "storybook": "storybook dev -p 6006",
22
29
  "build-storybook": "storybook build",
23
30
  "chromatic": "npx chromatic --project-token=chpt_a79506e91778601"
24
31
  },
32
+ "preversion": "npm run build",
25
33
  "dependencies": {
26
34
  "@emotion/react": "^11.11.4",
27
35
  "@emotion/styled": "^11.11.5",
28
36
  "@mui/icons-material": "^5.15.21",
29
37
  "@mui/material": "^5.15.21",
30
38
  "@mui/x-date-pickers": "^7.8.0",
39
+ "@types/node": "^20.14.9",
40
+ "@vitejs/plugin-react": "^4.3.1",
31
41
  "dayjs": "^1.11.11",
32
42
  "node": "^18.20.3",
33
43
  "react": "^18.3.1",
34
44
  "react-dom": "^18.3.1",
35
- "react-router-dom": "^6.24.0"
45
+ "react-router-dom": "^6.24.0",
46
+ "rimraf": "^5.0.7",
47
+ "vite-plugin-dts": "^3.9.1"
36
48
  },
37
49
  "devDependencies": {
38
50
  "@chromatic-com/storybook": "^1.5.0",
@@ -58,7 +70,6 @@
58
70
  "typescript": "^5.2.2",
59
71
  "vite": "^5.3.1"
60
72
  },
61
- "description": "This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.",
62
73
  "repository": {
63
74
  "type": "git",
64
75
  "url": "git+https://github.com/tanikatechjewels/jwero-storybook-components.git"