-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
129 lines (129 loc) · 4.01 KB
/
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
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "react-light-dark-toggle",
"version": "1.1.0",
"description": "A customizable React toggle for changing between light and dark mode",
"repository": "https://github.com/trickl/react-light-dark-toggle",
"author": {
"name": "Tim Gee",
"url": "https://github.com/trickl"
},
"bugs": {
"url": "https://github.com/trickl/react-light-dark-toggle/issues"
},
"license": "MIT",
"keywords": [
"react",
"react-component",
"light",
"dark",
"toggle",
"mode",
"theme",
"ui"
],
"type": "module",
"main": "dist/index.js",
"module": "dist/index.es.js",
"files": [
"dist"
],
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.22.5",
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
"@babel/plugin-proposal-function-sent": "^7.22.5",
"@babel/plugin-proposal-numeric-separator": "^7.18.6",
"@babel/plugin-proposal-throw-expressions": "^7.22.5",
"@babel/plugin-transform-runtime": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@babel/register": "^7.22.5",
"@babel/runtime": "^7.22.5",
"@mui/icons-material": "^5.11.16",
"@rollup/plugin-commonjs": "^25.0.2",
"@rollup/plugin-image": "^3.0.2",
"@rollup/plugin-node-resolve": "^15.1.0",
"@storybook/addon-actions": "^7.0.24",
"@storybook/addon-essentials": "^7.0.24",
"@storybook/addon-links": "^7.0.24",
"@storybook/addons": "^7.0.24",
"@storybook/react": "^7.0.24",
"@storybook/react-webpack5": "^7.0.24",
"@storybook/theming": "^7.0.24",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.2",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"chromatic": "^6.19.9",
"eslint-config-prettier": "^8.8.0",
"eslint-config-react-app": "^7.0.1",
"eslint-config-standard": "^17.1.0",
"eslint-find-rules": "^4.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-standard": "^5.0.0",
"eslint-plugin-storybook": "^0.6.12",
"eslint-plugin-tsc": "^2.0.0",
"husky": "^8.0.3",
"jest": "^29.5.0",
"lint-staged": "^13.2.3",
"node-dev": "^8.0.0",
"prettier": "^2.8.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"require-dir": "^1.2.0",
"rollup": "^3.26.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-svg": "^2.0.0",
"rollup-plugin-typescript2": "^0.35.0",
"storybook": "^7.0.24",
"storybook-dark-mode": "^3.0.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
},
"peerDependencies": {
"prop-types": ">=15.7.2",
"react": ">=17.0.2",
"react-dom": ">=17.0.2"
},
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@types/lodash": "^4.14.195",
"@types/react": "^18.2.14",
"classnames": "^2.3.2",
"eslint": "^8.43.0",
"npm-check-updates": "^16.10.13"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"git add"
]
},
"scripts": {
"build": "rollup -c",
"test": "jest",
"lint": "npm run eslint",
"eslint": "eslint --ext .js,.jsx,.ts,.tsx src --color",
"eslint:fix": "eslint --ext .js,.jsx,.ts,.tsx src --color --fix",
"eslint-rules": "eslint-find-rules .eslintrc.json --current",
"prettier": "prettier --single-quote --write 'src/**/*.{jsx,js,ts,tsx,scss,svg}'",
"storybook": "storybook dev -p 6006 -s public",
"build-storybook": "storybook build -s public"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}