web-appearance-kit 0.0.0-stage → 0.0.1

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 CHANGED
@@ -1,6 +1,66 @@
1
1
  {
2
2
  "name": "web-appearance-kit",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.0.1",
4
+ "description": "TypeScript color-scheme detector — resolves the user's light/dark appearance from prefers-color-scheme, detects Samsung Internet's forced dark mode, and notifies subscribers on every change.",
5
+ "author": "Park Jungyoung <qkrwnss0509@gmail.com> (https://github.com/pjy0509)",
6
+ "type": "module",
7
+ "sideEffects": false,
8
+ "main": "dist/appearance-kit.cjs",
9
+ "module": "dist/appearance-kit.mjs",
10
+ "browser": "dist/appearance-kit.umd.js",
11
+ "types": "dist/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/appearance-kit.mjs",
16
+ "require": "./dist/appearance-kit.cjs",
17
+ "default": "./dist/appearance-kit.mjs"
18
+ },
19
+ "./dist/*": "./dist/*",
20
+ "./package.json": "./package.json"
21
+ },
22
+ "files": [
23
+ "dist/**",
24
+ "package.json",
25
+ "README.md",
26
+ "README.ko.md",
27
+ "LICENSE"
28
+ ],
29
+ "scripts": {
30
+ "build": "rollup -c",
31
+ "prepublishOnly": "npm run build"
32
+ },
33
+ "license": "MIT",
34
+ "repository": {
35
+ "type": "git",
36
+ "url": "git+https://github.com/pjy0509/web-appearance-kit.git"
37
+ },
38
+ "homepage": "https://pjy0509.github.io/example/web-appearance-kit/",
39
+ "keywords": [
40
+ "appearance",
41
+ "color-scheme",
42
+ "prefers-color-scheme",
43
+ "dark-mode",
44
+ "light-mode",
45
+ "theme",
46
+ "media-query",
47
+ "matchMedia",
48
+ "samsung-internet",
49
+ "force-dark",
50
+ "browser",
51
+ "webview",
52
+ "pwa"
53
+ ],
54
+ "devDependencies": {
55
+ "@rollup/plugin-json": "^6.1.0",
56
+ "@rollup/plugin-node-resolve": "^16.0.3",
57
+ "@rollup/plugin-terser": "^0.4.4",
58
+ "@rollup/plugin-typescript": "^11.1.6",
59
+ "rollup": "^4.52.5",
60
+ "rollup-plugin-dts": "^6.2.3",
61
+ "tslib": "^2.8.1",
62
+ "typescript": "^5.9.3",
63
+ "web-event-kit": "^0.0.4",
64
+ "web-platform-kit": "^0.0.5"
65
+ }
66
+ }