dhre-ui-kit 0.0.96 → 0.0.97

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.
Files changed (1) hide show
  1. package/package.json +39 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhre-ui-kit",
3
- "version": "0.0.96",
3
+ "version": "0.0.97",
4
4
  "main": "lib/index.js",
5
5
  "module": "lib/index.mjs",
6
6
  "typings": "lib/index.d.ts",
@@ -13,7 +13,16 @@
13
13
  "library"
14
14
  ],
15
15
  "scripts": {
16
- "build": "rollup -c"
16
+ "prepublishOnly": "npm run build",
17
+ "build": "rollup -c",
18
+ "test": "jest",
19
+ "tsc": "tsc",
20
+ "lint": "npx eslint ./src",
21
+ "lint:fix": "npm run lint -- --fix",
22
+ "lint:report": "eslint . --format=json --output-file=eslint-report.json",
23
+ "prettier": "npx prettier ./src --check",
24
+ "prettier:fix": "npm run prettier ./src -- --write",
25
+ "prepare": "husky"
17
26
  },
18
27
  "author": "",
19
28
  "license": "ISC",
@@ -22,7 +31,6 @@
22
31
  "@react-native-clipboard/clipboard": "^1.14.2",
23
32
  "@react-native-community/blur": "^4.4.1",
24
33
  "@testing-library/react-native": "^12.5.1",
25
- "lint-staged": "^15.2.7",
26
34
  "react": "^17.0.0 || ^18.0.0",
27
35
  "react-native": ">=0.60.0",
28
36
  "react-native-blob-util": "^0.19.11",
@@ -39,24 +47,38 @@
39
47
  "react-native-svg": "^15.4.0",
40
48
  "react-native-svg-transformer": "^1.5.0",
41
49
  "react-native-webview": "^13.12.0",
50
+ "react-redux": "^9.1.2",
42
51
  "rn-tooltip": "^3.0.3",
43
52
  "rollup-plugin-dts": "^6.1.1",
44
53
  "rollup-plugin-esbuild": "^6.1.1",
45
- "react-redux": "^9.1.2"
54
+ "lint-staged": "^15.2.7"
46
55
  },
47
56
  "devDependencies": {
48
57
  "@babel/preset-env": "^7.25.7",
49
58
  "@babel/preset-react": "^7.25.7",
50
59
  "@babel/preset-typescript": "^7.25.7",
60
+ "@eslint/js": "^9.12.0",
51
61
  "@rollup/plugin-babel": "^6.0.4",
52
62
  "@rollup/plugin-commonjs": "^28.0.0",
53
63
  "@rollup/plugin-node-resolve": "^15.3.0",
54
64
  "@rollup/plugin-typescript": "^12.1.0",
55
65
  "@svgr/rollup": "^8.1.0",
56
66
  "@types/jest": "^29.5.12",
57
- "@types/react": "^18.3.9",
67
+ "@types/react": "^18.3.11",
68
+ "@types/react-native": "^0.73.0",
69
+ "@typescript-eslint/eslint-plugin": "^8.9.0",
70
+ "@typescript-eslint/parser": "^8.9.0",
58
71
  "babel-jest": "^29.7.0",
72
+ "eslint": "^9.12.0",
73
+ "eslint-config-prettier": "^9.1.0",
74
+ "eslint-plugin-prettier": "^5.2.1",
75
+ "eslint-plugin-react": "^7.37.1",
76
+ "eslint-plugin-react-native": "^4.1.0",
77
+ "globals": "^15.11.0",
78
+ "husky": "^9.1.6",
59
79
  "jest": "^29.7.0",
80
+ "lint-staged": "^15.2.10",
81
+ "prettier": "^3.3.3",
60
82
  "rollup": "^2.79.1",
61
83
  "rollup-plugin-commonjs": "^10.1.0",
62
84
  "rollup-plugin-node-resolve": "^5.2.0",
@@ -65,15 +87,16 @@
65
87
  "rollup-plugin-svg-import": "^3.0.0",
66
88
  "rollup-plugin-terser": "^7.0.2",
67
89
  "rollup-plugin-typescript2": "^0.36.0",
68
- "typescript": "^5.6.2"
90
+ "typescript": "^5.6.3",
91
+ "typescript-eslint": "^8.9.0"
69
92
  },
70
93
  "peerDependencies": {
71
- "react": "^17.0.0 || ^18.0.0",
72
- "react-native": ">=0.60.0",
73
94
  "@react-native-clipboard/clipboard": "^1.14.2",
74
95
  "@react-native-community/blur": "^4.4.1",
75
96
  "@testing-library/react-native": "^12.5.1",
76
97
  "lint-staged": "^15.2.7",
98
+ "react": "^17.0.0 || ^18.0.0",
99
+ "react-native": ">=0.60.0",
77
100
  "react-native-blob-util": "^0.19.11",
78
101
  "react-native-calendars": "^1.1306.0",
79
102
  "react-native-country-picker-modal": "^2.0.0",
@@ -88,7 +111,13 @@
88
111
  "react-native-svg": "^15.4.0",
89
112
  "react-native-svg-transformer": "^1.5.0",
90
113
  "react-native-webview": "^13.12.0",
91
- "rn-tooltip": "^3.0.3",
92
- "react-redux": "^9.1.2"
114
+ "react-redux": "^9.1.2",
115
+ "rn-tooltip": "^3.0.3"
116
+ },
117
+ "lint-staged": {
118
+ "*.{ts,tsx}": [
119
+ "eslint ./src --fix",
120
+ "prettier ./src --write"
121
+ ]
93
122
  }
94
123
  }