-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 2.51 KB
/
package.json
File metadata and controls
99 lines (99 loc) · 2.51 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "react-theme-switch-animation",
"version": "1.0.0",
"description": "Beautiful, smooth animations for theme switching in React applications. Features Circle, Blur Circle, and QR Scan animations with TypeScript support.",
"keywords": [
"react",
"reactjs",
"hooks",
"theme",
"animation",
"switch",
"typescript",
"nextjs",
"dark",
"light",
"view-transition",
"circle",
"blur",
"qr-scan",
"theme-toggle",
"dark-mode",
"tailwindcss",
"smooth-animation",
"ui-component"
],
"homepage": "https://github.com/MinhOmega/react-theme-switch-animation#readme",
"bugs": {
"url": "https://github.com/MinhOmega/react-theme-switch-animation/issues"
},
"license": "MIT",
"author": "Vo Ngoc Quang Minh",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist/**/*",
"src/**/*"
],
"scripts": {
"build": "npm run build:ts",
"build:ts": "tsc",
"format": "prettier --write . --config ./.prettierrc",
"lint": "eslint \"**/*.{js,jsx,ts,tsx}\"",
"lint:fix": "eslint --fix . --ext .{js,jsx,ts,tsx} && yarn lint:styles",
"lint:styles": "prettier --write \"**/*.{css,scss}\" --config ./.prettierrc",
"prepare": "husky",
"prepublishOnly": "npm run build",
"release": "release-it"
},
"dependencies": {
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
"@release-it/conventional-changelog": "^8.0.1",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.19",
"eslint": "^9.5.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"postcss": "^8.4.38",
"postcss-cli": "^11.0.0",
"prettier": "^3.3.2",
"prettier-plugin-packagejson": "^2.5.0",
"release-it": "^17.6.0",
"typescript": "^5.5.2"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
},
"engines": {
"node": ">=18.17.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
}
}
}
}