UNPKG

theme-change

Version:

Change CSS theme with toggle, buttons or select using CSS Variables and localStorage

44 lines (43 loc) 1.35 kB
{ "name": "theme-change", "version": "2.5.0", "description": "Change CSS theme with toggle, buttons or select using CSS Variables and localStorage", "keywords": [ "javascript", "theming", "theme", "css" ], "main": "index.js", "typings": "index.d.ts", "files": [ "index.js", "toggle.js", "select.js", "btn.js", "index.d.ts" ], "repository": { "type": "git", "url": "git+https://github.com/saadeghi/theme-change.git" }, "author": "Pouya Saadeghi", "license": "MIT", "bugs": { "url": "https://github.com/saadeghi/theme-change/issues" }, "homepage": "https://github.com/saadeghi/theme-change#readme", "devDependencies": { "shx": "^0.3.4", "uglify-es": "^3.3.9" }, "scripts": { "build:btn": "uglifyjs src/btn.js src/callBtn.js src/export.js -o btn.js", "build:toggle": "uglifyjs src/toggle.js src/callToggle.js src/export.js -o toggle.js", "build:select": "uglifyjs src/select.js src/callSelect.js src/export.js -o select.js", "build:index": "uglifyjs src/toggle.js src/btn.js src/select.js src/callAll.js src/export.js -o index.js", "copy:index.d.ts": "shx cp src/index.d.ts .", "build": "npm run build:btn && npm run build:toggle && npm run build:select && npm run build:index && npm run copy:index.d.ts" }, "dependencies": {} }