@dloizides/tenant-theme-web 1.0.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 ADDED
@@ -0,0 +1,82 @@
1
+ {
2
+ "name": "@dloizides/tenant-theme-web",
3
+ "version": "1.0.1",
4
+ "description": "Product-agnostic RN-web tenant-theme client for the dloizides.com portfolio: the ETag-conditional theme fetch, the DTO -> TenantThemeConfig mapper, the localStorage ETag cache, and the save-request body mapper that erevna-web and katalogos-web shared byte-for-byte. The HTTP transport (httpGet/httpPut) and the theme preset VALUES are app-supplied ports; this package never imports a product, realm, or hardcoded palette.",
5
+ "keywords": [
6
+ "tenant-theme",
7
+ "theme",
8
+ "etag",
9
+ "cache",
10
+ "multitenant",
11
+ "dloizides"
12
+ ],
13
+ "author": "dloizides",
14
+ "license": "MIT",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/openmindednewby/tenant-theme-web.git"
18
+ },
19
+ "homepage": "https://github.com/openmindednewby/tenant-theme-web#readme",
20
+ "bugs": {
21
+ "url": "https://github.com/openmindednewby/tenant-theme-web/issues"
22
+ },
23
+ "main": "./dist/index.js",
24
+ "module": "./dist/index.mjs",
25
+ "types": "./dist/index.d.ts",
26
+ "exports": {
27
+ ".": {
28
+ "require": {
29
+ "types": "./dist/index.d.ts",
30
+ "default": "./dist/index.js"
31
+ },
32
+ "import": {
33
+ "types": "./dist/index.d.mts",
34
+ "default": "./dist/index.mjs"
35
+ }
36
+ }
37
+ },
38
+ "files": [
39
+ "dist",
40
+ "README.md",
41
+ "CHANGELOG.md"
42
+ ],
43
+ "sideEffects": false,
44
+ "engines": {
45
+ "node": ">=18.0.0"
46
+ },
47
+ "scripts": {
48
+ "build": "rimraf dist && tsup",
49
+ "build:watch": "tsup --watch",
50
+ "test": "jest",
51
+ "test:watch": "jest --watch",
52
+ "test:coverage": "jest --coverage",
53
+ "lint": "eslint src --ext .ts",
54
+ "lint:fix": "eslint src --ext .ts --fix",
55
+ "typecheck": "tsc --noEmit",
56
+ "clean": "rimraf dist",
57
+ "security:audit": "npm audit --audit-level=high",
58
+ "deps:outdated": "npm outdated || exit 0",
59
+ "deps:unused": "npx depcheck --ignores \"@types/jest,@types/node,rimraf\"",
60
+ "deps:licenses": "npx license-checker --onlyAllow \"MIT;Apache-2.0;ISC;BSD-2-Clause;BSD-3-Clause;0BSD;Unlicense;CC0-1.0\"",
61
+ "deps:health": "npm run deps:outdated && npm run deps:unused",
62
+ "prepublishOnly": "npm run clean && npm run build && npm run test"
63
+ },
64
+ "peerDependencies": {
65
+ "@dloizides/utils": "^1.0.0"
66
+ },
67
+ "devDependencies": {
68
+ "@dloizides/utils": "^1.0.2",
69
+ "@types/jest": "^29.5.0",
70
+ "@types/node": "^20.19.32",
71
+ "@typescript-eslint/eslint-plugin": "^7.0.0",
72
+ "@typescript-eslint/parser": "^7.0.0",
73
+ "eslint": "^8.57.0",
74
+ "eslint-plugin-sonarjs": "^4.0.3",
75
+ "jest": "^29.7.0",
76
+ "jest-environment-jsdom": "^29.7.0",
77
+ "rimraf": "^5.0.0",
78
+ "ts-jest": "^29.1.0",
79
+ "tsup": "^8.0.0",
80
+ "typescript": "^5.4.0"
81
+ }
82
+ }