-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
36 lines (36 loc) · 981 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"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"
}
}