-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.json
147 lines (147 loc) · 4.35 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "mui-color",
"version": "2.0.0-beta.2",
"description": "The lightest colorpicker for React Mui v5. No dependencies. It uses Hooks and support Typescript, and more !",
"main": "index.js",
"module": "./esm/index.js",
"typings": "index.d.ts",
"homepage": "https://mikbry.github.io/mui-color/",
"repository": "https://github.com/mikbry/mui-color.git",
"bugs": "https://github.com/mikbry/mui-color/issues",
"author": "Mik <[email protected]>",
"license": "MIT",
"keywords": [
"react",
"color picker",
"react-component",
"colorpicker",
"picker",
"tiny",
"color",
"mui",
"material-ui",
"material design",
"react-color",
"typescript"
],
"scripts": {
"clean": "rimraf dist && mkdir dist",
"build": "yarn clean & cross-env NODE_ENV=production rollup -c && packito",
"build-storybook": "build-storybook -c .storybook -o public",
"storybook": "start-storybook -p 9005 -c .storybook",
"lint": "eslint --ext js,jsx src",
"test": "cross-env NODE_ENV=test jest",
"coverage": "cross-env NODE_ENV=test jest --coverage --colors",
"prepublishOnly": "yarn build",
"prepare": "husky install"
},
"devDependencies": {
"@babel/core": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"@babel/preset-react": "^7.12.13",
"@commitlint/cli": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"@emotion/react": "^11.7.0",
"@emotion/styled": "^11.6.0",
"@mui/material": "^5.2.2",
"@mui/styles": "^5.2.2",
"@react-theming/storybook-addon": "^1.0.3",
"@rollup/plugin-node-resolve": "^11.2.0",
"@rollup/plugin-replace": "^2.4.1",
"@rollup/plugin-url": "^6.0.0",
"@storybook/addon-actions": "^6.1.21",
"@storybook/addon-docs": "^6.1.21",
"@storybook/addon-knobs": "^6.1.21",
"@storybook/addon-links": "^6.1.21",
"@storybook/addons": "^6.1.21",
"@storybook/react": "^6.1.21",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.2",
"cross-env": "^7.0.3",
"eslint": "^7.22.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.3.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.23.0",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^5.2.0",
"jest": "^26.6.3",
"jest-css-modules": "^2.1.0",
"material-ui-popup-state": "^1.8.0",
"packito": "^0.5.0",
"prettier": "^2.2.1",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-refresh": "^0.9.0",
"rimraf": "^3.0.2",
"rollup": "^2.42.3",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-hot-css": "^0.4.0",
"rollup-plugin-react-refresh": "^0.0.2",
"rollup-plugin-string": "^3.0.0",
"rollup-plugin-terser": "^7.0.2"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint",
"commit-msg": "[[ -n $HUSKY_BYPASS ]] || commitlint -E HUSKY_GIT_PARAMS"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
},
"peerDependencies": {
"@emotion/react": "^11.5.0",
"@emotion/styled": "^11.3.0",
"@mui/material": "^5.2.2",
"@mui/styles": "^5.2.2",
"material-ui-popup-state": "^1.5.3",
"prop-types": "^15.7.2",
"react": "^16.0.0 || ^17.0.0",
"react-dom": "^16.0.0 || ^17.0.0"
},
"dependencies": {},
"jest": {
"transform": {
"^.+\\.[t|j]sx?$": "babel-jest",
"^.+\\.mdx$": "@storybook/addon-docs/jest-transform-mdx"
},
"coverageReporters": [
"json",
"lcov",
"text",
"clover",
"html"
],
"modulePathIgnorePatterns": [
"<rootDir>/examples"
],
"moduleFileExtensions": [
"js",
"json",
"jsx"
],
"moduleNameMapper": {
"\\.(css|less|scss|sss|styl)$": "<rootDir>/node_modules/jest-css-modules",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/config/jest/assetsTransformer.js"
},
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/index.js",
"!<rootDir>/node_modules/",
"!<rootDir>/config/"
],
"setupFilesAfterEnv": [
"<rootDir>/test/setup.js"
]
}
}