-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 1.63 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 1.63 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "@hrc/toggle-theme",
"private": false,
"version": "2.4.0",
"type": "module",
"license": "MIT",
"author": "Héctor Ochoa <hector.ochoa.dev@gmail.com>",
"description": "Simple component for toggle between light and dark theme in your React app",
"main": "dist/main.js",
"types": "dist/main.d.ts",
"engines": {
"node": ">=13.2.0"
},
"files": [
"dist"
],
"sideEffects": [
"**/*.css"
],
"publishConfig": {
"access": "public"
},
"prepublishOnly": "pnpm run build",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"type-check": "tsc",
"preview": "vite preview"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Hdoc1509/hrc.git",
"directory": "packages/toggle-theme"
},
"bugs": {
"url": "https://github.com/Hdoc1509/hrc/issues"
},
"homepage": "https://hdoc1509.github.io/hrc/packages/toggle-theme/",
"keywords": [
"react",
"react-component",
"theme",
"theme-toggle",
"dark",
"light"
],
"peerDependencies": {
"@types/react": "^17.0.0 || ^18.0.0",
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@hrc/material-icons": "workspace:*",
"@hrc/vite-config": "workspace:*",
"@material-design-icons/font": "0.14.11",
"@vitejs/plugin-react-swc": "3.3.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"sass": "1.66.1",
"typescript": "5.2.2",
"vite": "4.4.5",
"vite-plugin-dts": "3.5.1",
"vite-plugin-lib-inject-css": "2.0.0"
}
}