@hotelcard/ui 0.0.13 → 0.0.16
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.
Potentially problematic release.
This version of @hotelcard/ui might be problematic. Click here for more details.
- package/README.md +121 -68
- package/dist/index.cjs +1510 -102
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +607 -17
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +857 -79
- package/dist/index.d.ts +857 -79
- package/dist/index.js +1488 -105
- package/dist/index.js.map +1 -1
- package/package.json +22 -11
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hotelcard/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "HotelCard
|
|
5
|
+
"description": "Shared UI components for HotelCard website and mobile app",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -26,6 +26,16 @@
|
|
|
26
26
|
"sideEffects": [
|
|
27
27
|
"**/*.css"
|
|
28
28
|
],
|
|
29
|
+
"scripts": {
|
|
30
|
+
"copy-locales": "node scripts/copy-locales.cjs",
|
|
31
|
+
"prebuild": "pnpm copy-locales",
|
|
32
|
+
"build": "tsup src/index.ts --format cjs,esm --dts --external react && cp src/styles/tokens.css dist/tokens.css",
|
|
33
|
+
"dev": "tsup src/index.ts --format cjs,esm --dts --external react --watch",
|
|
34
|
+
"clean": "rm -rf dist src/locales",
|
|
35
|
+
"lint": "eslint src --ext .ts,.tsx",
|
|
36
|
+
"check-imports": "node scripts/check-imports.cjs",
|
|
37
|
+
"prepublishOnly": "pnpm check-imports && pnpm build"
|
|
38
|
+
},
|
|
29
39
|
"dependencies": {
|
|
30
40
|
"date-fns": "^3.0.0"
|
|
31
41
|
},
|
|
@@ -35,9 +45,14 @@
|
|
|
35
45
|
"react-i18next": "^14.0.0 || ^15.0.0"
|
|
36
46
|
},
|
|
37
47
|
"devDependencies": {
|
|
48
|
+
"@eslint/js": "^9.39.2",
|
|
38
49
|
"@types/react": "^18.0.0",
|
|
39
50
|
"@types/react-dom": "^18.0.0",
|
|
51
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
52
|
+
"@typescript-eslint/parser": "^8.0.0",
|
|
40
53
|
"esbuild-css-modules-plugin": "^3.1.5",
|
|
54
|
+
"eslint": "^9.0.0",
|
|
55
|
+
"globals": "^16.5.0",
|
|
41
56
|
"react": "^18.0.0",
|
|
42
57
|
"react-dom": "^18.0.0",
|
|
43
58
|
"tsup": "^8.0.0",
|
|
@@ -49,19 +64,15 @@
|
|
|
49
64
|
"repository": {
|
|
50
65
|
"type": "git",
|
|
51
66
|
"url": "https://bitbucket.org/hotelcardag/hotelcard-ui",
|
|
52
|
-
"directory": "packages/ui"
|
|
53
|
-
"private": true
|
|
67
|
+
"directory": "packages/ui"
|
|
54
68
|
},
|
|
69
|
+
"homepage": "https://www.npmjs.com/package/@hotelcard/ui",
|
|
70
|
+
"author": "HotelCard AG",
|
|
55
71
|
"license": "MIT",
|
|
56
72
|
"keywords": [
|
|
57
73
|
"hotelcard",
|
|
58
74
|
"ui",
|
|
59
75
|
"react",
|
|
60
76
|
"components"
|
|
61
|
-
]
|
|
62
|
-
|
|
63
|
-
"build": "tsup src/index.ts --format cjs,esm --dts --external react && cp src/styles/tokens.css dist/tokens.css",
|
|
64
|
-
"dev": "tsup src/index.ts --format cjs,esm --dts --external react --watch",
|
|
65
|
-
"clean": "rm -rf dist"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
77
|
+
]
|
|
78
|
+
}
|