generated from gravity-ui/package-example
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
148 lines (148 loc) · 4.41 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
{
"name": "@gravity-ui/components",
"version": "3.13.0",
"description": "",
"license": "MIT",
"exports": {
".": {
"types": "./build/esm/index.d.ts",
"require": "./build/cjs/index.js",
"import": "./build/esm/index.js"
},
"./unstable": {
"types": "./build/esm/components/unstable/index.d.ts",
"require": "./build/cjs/components/unstable/index.js",
"import": "./build/esm/components/unstable/index.js"
}
},
"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"
],
"unstable": [
"./build/esm/components/unstable/index.d.ts"
]
}
},
"sideEffects": [
"*.css",
"*.scss"
],
"files": [
"build"
],
"repository": {
"type": "git",
"url": "git+https://github.com/gravity-ui/components.git"
},
"bugs": {
"url": "https://github.com/gravity-ui/components/issues"
},
"homepage": "https://github.com/gravity-ui/components#readme",
"scripts": {
"prepare": "husky",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watchAll",
"test-storybook": "test-storybook --url ${PR_PREVIEW_URL:-http://localhost:7009}",
"lint:js": "eslint --ext .js,.jsx,.ts,.tsx --report-unused-disable-directives .",
"lint:styles": "stylelint 'src/**/*.scss' --report-needless-disables",
"lint": "run-p lint:*",
"prettier": "prettier '**/*.{md,yaml,yml}' --check",
"typecheck": "tsc --noEmit",
"clean": "gulp clean",
"build": "gulp",
"start": "storybook dev -p 7009",
"build-storybook": "storybook build -c .storybook -o storybook-static",
"prepublishOnly": "npm run build"
},
"dependencies": {
"@bem-react/classname": "^1.6.0",
"@gravity-ui/date-utils": "^2.1.0",
"@gravity-ui/i18n": "^1.2.0",
"@gravity-ui/icons": "^2.8.1",
"lodash": "^4.17.21",
"resize-observer-polyfill": "^1.5.1",
"universal-cookie": "^7.2.0"
},
"devDependencies": {
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"@doc-tools/transform": "^3.11.0",
"@gravity-ui/eslint-config": "^3.1.1",
"@gravity-ui/prettier-config": "^1.1.0",
"@gravity-ui/stylelint-config": "^4.0.1",
"@gravity-ui/tsconfig": "^1.0.0",
"@gravity-ui/uikit": "^6.13.0",
"@storybook/addon-a11y": "^8.0.9",
"@storybook/addon-actions": "^8.0.6",
"@storybook/addon-docs": "^8.0.6",
"@storybook/addon-essentials": "^8.0.6",
"@storybook/addon-viewport": "^8.0.6",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/cli": "^8.0.6",
"@storybook/manager-api": "^8.0.6",
"@storybook/preset-scss": "^1.0.3",
"@storybook/preview-api": "^8.0.9",
"@storybook/react": "^8.0.6",
"@storybook/react-webpack5": "^8.0.6",
"@storybook/test-runner": "^0.17.0",
"@storybook/theming": "^8.0.6",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.4.1",
"@testing-library/react": "^14.2.0",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.11",
"@types/react": "^18.2.51",
"@types/react-dom": "^18.2.18",
"axe-playwright": "^2.0.1",
"eslint": "^8.56.0",
"eslint-plugin-testing-library": "^6.2.0",
"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": "^9.0.9",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-transform-css": "^6.0.1",
"markdown-loader": "^8.0.0",
"nano-staged": "^0.8.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^5.0.5",
"sass": "^1.70.0",
"sass-loader": "^14.1.0",
"storybook": "^8.0.6",
"stylelint": "^15.11.0",
"stylelint-use-logical": "^2.1.0",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3"
},
"peerDependencies": {
"@gravity-ui/uikit": "^6.13.0",
"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,yaml,yml,json}": [
"prettier --write"
]
}
}