@wcj/dark-mode
Version:
Web Component that toggles dark mode 🌒
37 lines (36 loc) • 981 B
JSON
{
"name": "@wcj/dark-mode",
"version": "1.1.0",
"description": "Web Component that toggles dark mode 🌒",
"homepage": "https://jaywcjlove.github.io/dark-mode",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "jaywcjlove",
"license": "MIT",
"main": "./main.js",
"browser": "./dist/dark-mode.min.js",
"module": "./dist/dark-mode.min.js",
"exports": "./dist/dark-mode.min.js",
"unpkg": "./dist/dark-mode.min.js",
"types": "./main.d.ts",
"scripts": {
"clean": "shx rm -rf ./dist && mkdir dist",
"build": "npm run clean && npx terser ./main.js --toplevel --mangle-props regex=\\\"^_\\\" --comments /@license/ --ecma=8 -o ./dist/dark-mode.min.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jaywcjlove/dark-mode.git"
},
"files": [
"main.d.ts",
"main.js",
"dist"
],
"keywords": [
"dark",
"mode"
],
"devDependencies": {
"shx": "^0.3.4",
"terser": "^5.10.0"
}
}