@asafarim/react-themes 1.8.5-canary.a04740c.17 → 1.8.7
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 +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asafarim/react-themes",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.7",
|
|
4
4
|
"description": "A comprehensive theme management system for React applications with automatic dark/light mode detection, custom theme creation, and smooth transitions.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"eslint-plugin-react": "^7.34.0",
|
|
66
66
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
67
67
|
"tsup": "^8.0.2",
|
|
68
|
+
"gh-pages": "^6.0.0",
|
|
68
69
|
"typescript": "^5.4.2"
|
|
69
70
|
},
|
|
70
71
|
"tsup": {
|
|
@@ -89,7 +90,7 @@
|
|
|
89
90
|
"lucide-react": "^0.562.0"
|
|
90
91
|
},
|
|
91
92
|
"scripts": {
|
|
92
|
-
"build": "tsup &&
|
|
93
|
+
"build": "tsup && pnpm run copy-assets",
|
|
93
94
|
"demo": "pnpm run build && cd demo && pnpm run dev",
|
|
94
95
|
"copy-assets": "node -e \"const fs = require('fs'); fs.copyFileSync('src/styles.css', 'dist/styles.css'); fs.copyFileSync('src/react-themes-light.png', 'dist/react-themes-light.png'); fs.copyFileSync('src/react-themes-dark.png', 'dist/react-themes-dark.png');\"",
|
|
95
96
|
"dev": "tsup --watch",
|
|
@@ -97,7 +98,7 @@
|
|
|
97
98
|
"lint": "eslint src --ext .ts,.tsx",
|
|
98
99
|
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|
|
99
100
|
"clean": "rm -rf dist",
|
|
100
|
-
"predeploy": "
|
|
101
|
+
"predeploy": "pnpm run build",
|
|
101
102
|
"deploy": "gh-pages -d demo/dist",
|
|
102
103
|
"release": "node scripts/release.js"
|
|
103
104
|
}
|