react-next-theme
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "react-next-theme", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"type": "module", | ||
@@ -9,3 +9,4 @@ "description": "A simple and flexible theme switcher for React and Next.js, supporting light and dark modes with localStorage and system preferences.", | ||
"build:dev": "rollup -c --environment NODE_ENV:development", | ||
"build": "rollup -c --environment NODE_ENV:production", | ||
"build": "rollup -c --environment NODE_ENV:production && yarn run minify-theme-script", | ||
"minify-theme-script": "terser scripts/themeScript.js -o public/react-next-theme-script.js --compress --mangle", | ||
"postinstall": "node postinstall.js" | ||
@@ -15,3 +16,3 @@ }, | ||
"dist", | ||
"scripts/themeScript.js" | ||
"public/react-next-theme-script.js" | ||
], | ||
@@ -18,0 +19,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
7986
4
3