-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.49 KB
/
package.json
File metadata and controls
50 lines (50 loc) · 1.49 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
{
"name": "dark-switch-react",
"version": "1.0.5",
"author": "Jayden Huy Nguyen",
"description": "The bring-me-the-designer switch that for toggling the light and dark mode.",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "rollup -c",
"prepare": "npm run build",
"cpublish": "npm run build && npm publish --access public"
},
"dependencies": {
"@rollup/plugin-terser": "^0.4.3",
"classnames": "^2.5.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@babel/core": "^7.26.7",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-image": "^3.0.3",
"@rollup/plugin-node-resolve": "^15.3.1",
"@rollup/plugin-typescript": "^11.1.6",
"@types/node": "^22.12.0",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"eslint": "^9",
"postcss": "^8.5.1",
"postcss-url": "^10.1.3",
"prettier": "^3.4.2",
"react": "file:../test-app/node_modules/react",
"react-dom": "file:../test-app/node_modules/react-dom",
"rollup": "^3.29.5",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-generate-package-json": "^3.2.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"sass": "^1.83.4",
"typescript": "^5.7.3"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"typescript": ">=3.7.0"
}
}