forked from gravity-ui/uikit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
165 lines (165 loc) · 5.53 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"name": "@gravity-ui/uikit",
"version": "5.18.0",
"description": "Gravity UI base styling and components",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/gravity-ui/uikit"
},
"exports": {
".": {
"types": "./build/esm/index.d.ts",
"require": "./build/cjs/index.js",
"import": "./build/esm/index.js"
},
"./toaster-singleton": {
"types": "./build/esm/toaster-singleton.d.ts",
"require": "./build/cjs/toaster-singleton.js",
"import": "./build/esm/toaster-singleton.js"
},
"./toaster-singleton-react-18": {
"types": "./build/esm/toaster-singleton-react-18.d.ts",
"require": "./build/cjs/toaster-singleton-react-18.js",
"import": "./build/esm/toaster-singleton-react-18.js"
},
"./i18n": {
"types": "./build/esm/components/utils/addComponentKeysets.d.ts",
"require": "./build/cjs/components/utils/addComponentKeysets.js",
"import": "./build/esm/components/utils/addComponentKeysets.js"
},
"./styles/*": "./styles/*"
},
"main": "./build/cjs/index.js",
"module": "./build/esm/index.js",
"types": "./build/esm/index.d.ts",
"typesVersions": {
"*": {
"index.d.ts": [
"./build/esm/index.d.ts"
],
"toaster-singleton": [
"./build/esm/toaster-singleton.d.ts"
],
"toaster-singleton-react-18": [
"./build/esm/toaster-singleton-react-18.d.ts"
],
"i18n": [
"./build/esm/components/utils/addComponentKeysets.d.ts"
]
}
},
"sideEffects": [
"*.css",
"*.scss"
],
"files": [
"build",
"styles"
],
"scripts": {
"prepare": "husky install",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watchAll",
"clean": "gulp clean",
"build": "gulp",
"start": "sb dev -p 7007",
"build-storybook": "sb build -c .storybook -o storybook-static",
"lint:js": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint:styles": "stylelint '{styles,src}/**/*.scss'",
"lint:prettier": "prettier --check '**/*.md'",
"lint:prettier:fix": "prettier --write '**/*.md'",
"lint": "run-p lint:*",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run build"
},
"dependencies": {
"@bem-react/classname": "^1.6.0",
"@gravity-ui/i18n": "^1.1.0",
"@gravity-ui/icons": "^2.5.0",
"@popperjs/core": "^2.11.8",
"blueimp-md5": "^2.19.0",
"focus-trap": "^7.5.2",
"lodash": "^4.17.21",
"react-copy-to-clipboard": "^5.1.0",
"react-popper": "^2.3.0",
"react-sortable-hoc": "2.0.0",
"react-transition-group": "^4.4.5",
"react-virtualized-auto-sizer": "^1.0.20",
"react-window": "^1.8.9",
"tabbable": "^6.2.0",
"tslib": "^2.6.1",
"utility-types": "^3.10.0"
},
"devDependencies": {
"@babel/preset-env": "^7.22.10",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@faker-js/faker": "^8.0.2",
"@gravity-ui/eslint-config": "^2.2.0",
"@gravity-ui/prettier-config": "^1.0.1",
"@gravity-ui/stylelint-config": "^2.0.0",
"@gravity-ui/tsconfig": "^1.0.0",
"@storybook/addon-essentials": "^7.4.6",
"@storybook/cli": "^7.4.6",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react-webpack5": "^7.4.6",
"@testing-library/jest-dom": "^6.1.1",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/blueimp-md5": "^2.18.0",
"@types/chroma-js": "^2.4.0",
"@types/jest": "^29.5.4",
"@types/lodash": "^4.14.197",
"@types/react": "^18.2.21",
"@types/react-copy-to-clipboard": "^5.0.4",
"@types/react-dom": "^18.2.7",
"@types/react-transition-group": "^4.4.6",
"@types/react-virtualized-auto-sizer": "^1.0.1",
"@types/react-window": "^1.8.5",
"chroma-js": "^2.4.2",
"cross-env": "^7.0.3",
"eslint": "^8.47.0",
"eslint-plugin-testing-library": "^5.11.1",
"gulp": "^4.0.2",
"gulp-cli": "^2.3.0",
"gulp-dart-sass": "^1.1.0",
"gulp-replace": "^1.1.4",
"gulp-typescript": "^5.0.1",
"husky": "^8.0.3",
"jest": "^29.6.3",
"jest-environment-jsdom": "^29.6.3",
"jest-transform-css": "^6.0.1",
"nano-staged": "^0.8.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.28",
"prettier": "^2.8.8",
"react": "^18.2.0",
"react-docgen-typescript": "^2.2.2",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"sass": "^1.66.1",
"sass-loader": "^13.3.2",
"stylelint": "^14.16.1",
"ts-jest": "^29.1.1",
"typescript": "^4.9.5"
},
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0"
},
"nano-staged": {
"*.{scss}": [
"stylelint --fix --quiet"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix --quiet"
],
"*.{md,mdx}": [
"prettier --write"
]
}
}