1 | {
|
2 | "name": "dark-mode-switcheroo",
|
3 | "version": "0.10.0",
|
4 | "description": "🌓 Simple CSS theme switching with saved preferences and automatic OS setting detection",
|
5 | "license": "MIT",
|
6 | "homepage": "https://jrvs.io/darkmode",
|
7 | "author": {
|
8 | "name": "Jake Jarvis",
|
9 | "email": "jake@jarv.is",
|
10 | "url": "https://jarv.is/"
|
11 | },
|
12 | "repository": {
|
13 | "type": "git",
|
14 | "url": "https://github.com/jakejarvis/dark-mode.git"
|
15 | },
|
16 | "type": "module",
|
17 | "files": [
|
18 | "dist"
|
19 | ],
|
20 | "source": "./src/dark-mode.ts",
|
21 | "main": "./dist/dark-mode.cjs",
|
22 | "module": "./dist/dark-mode.esm.js",
|
23 | "unpkg": "./dist/dark-mode.min.js",
|
24 | "exports": {
|
25 | "require": "./dist/dark-mode.cjs",
|
26 | "import": "./dist/dark-mode.esm.js",
|
27 | "browser": "./dist/dark-mode.min.js"
|
28 | },
|
29 | "types": "./dist/dark-mode.d.ts",
|
30 | "scripts": {
|
31 | "build": "microbundle --format cjs,esm,umd --name 'darkMode'",
|
32 | "lint": "eslint .",
|
33 | "prepublishOnly": "yarn build"
|
34 | },
|
35 | "dependencies": {},
|
36 | "devDependencies": {
|
37 | "@jakejarvis/eslint-config": "*",
|
38 | "@typescript-eslint/eslint-plugin": "^5.3.1",
|
39 | "@typescript-eslint/parser": "^5.3.1",
|
40 | "eslint": "^8.2.0",
|
41 | "microbundle": "^0.14.1",
|
42 | "typescript": "^4.4.4"
|
43 | },
|
44 | "keywords": [
|
45 | "front-end",
|
46 | "dark mode",
|
47 | "theme",
|
48 | "appearance",
|
49 | "design",
|
50 | "css"
|
51 | ]
|
52 | }
|