-
Notifications
You must be signed in to change notification settings - Fork 94
/
package.json
214 lines (214 loc) · 7.63 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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
{
"name": "@consta/uikit",
"version": "5.16.0",
"keywords": [
"ui-kit",
"design-system",
"consta",
"gazprom-neft-design-system"
],
"licenses": [
{
"type": "MIT",
"url": "https://consta.design/static/licence_mit.pdf"
}
],
"peerDependencies": {
"@bem-react/classname": "^1.6.0",
"@bem-react/classnames": "^1.3.10",
"@consta/icons": "^1.0.0",
"compute-scroll-into-view": "^1.0.17",
"date-fns": "^2.30.0",
"react": ">= 16.8.0",
"react-dom": ">= 16.8.0",
"react-dropzone": "^14.2.3",
"react-imask": "^7.2.1",
"react-textarea-autosize": "^8.5.3",
"react-transition-group": "^4.4.5"
},
"files": [
"*",
"!**/__mocks__",
"!**/__stories__",
"!**/__tests__",
"!**/__stand__"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"postinstall": "yarn install-peers && husky install",
"tsc-dry-run": "tsc --noEmit",
"lint:js": "eslint --ext .js,.jsx,.tsx,.ts --fix . --quiet",
"lint:css": "stylelint ./src/**/*.css --fix",
"lint": "yarn run lint:js && yarn run lint:css",
"format:svg": "prettier --write **/*.svg --parser html",
"pre-push": "yarn run tsc-dry-run",
"pre-commit": "yarn run lint-staged",
"pre-build": "node scripts/preBuild.js --config=scripts/generateReExportsConfig.js",
"test": "yarn tsc-dry-run && yarn unit",
"unit": "jest",
"unit:watch": "jest --watch",
"unit:clear": "jest --clearCache",
"build:css": "cross-env NODE_ENV=buildProduction postcss 'src/**/*.css' --base src --dir dist/__internal__/src/",
"build:js": "cross-env NODE_ENV=buildProduction BUILDING_JS=true babel --extensions '.ts,.tsx' --config-file ./babel.config.js --source-maps --out-dir dist/__internal__/src/ ./src",
"build:types": "cross-env NODE_ENV=buildProduction ttsc --declaration --outDir dist/__internal__/src/ --emitDeclarationOnly -p tsconfig.build.json",
"build:package.json": "node scripts/prepare-package-json.js",
"build:reexports": "node scripts/generateReExports.js --config=scripts/generateReExportsConfig.js",
"build:copy-assets": "node scripts/copyAssets.js",
"build": "yarn rm:dist && yarn build:css && yarn build:js && yarn build:types && yarn build:package.json && yarn build:copy-assets && yarn build:reexports",
"stand:generate": "node node_modules/@consta/stand/scripts/standGenerate.js --config=scripts/config.js",
"stand:build": "yarn rm:build && yarn stand:generate && cross-env NODE_ENV=production webpack --mode production --config node_modules/@consta/stand/webpack.config.js",
"stand:start": "cross-env NODE_ENV=development webpack serve --open --progress --mode development --hot --progress --config node_modules/@consta/stand/webpack.config.js",
"start": "yarn stand:generate && yarn stand:start",
"rm:dist": "node ./scripts/rm.js --path=./dist",
"rm:build": "node ./scripts/rm.js --path=./build"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog",
"disableScopeLowerCase": true,
"types": {
"feat": {
"description": "Adding new feature"
},
"fix": {
"description": "Bug fix"
},
"refactor": {
"description": "Editing code without fixing bugs or adding new features"
},
"docs": {
"description": "Documentation Update"
},
"chore": {
"description": "Add / update / customize tools and libraries"
},
"changelog": {
"description": "Add / update / changelog"
},
"release": {
"description": "New release"
}
}
}
},
"devDependencies": {
"@babel/cli": "^7.18.9",
"@babel/core": "^7.17.9",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.18.9",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@bem/sdk.naming.cell.match": "^0.1.3",
"@bem/sdk.naming.presets": "^0.2.3",
"@consta/stand": "^0.0.148",
"@consta/uikit": "^5.4.1",
"@cspell/dict-ru_ru": "^2.2.4",
"@mdx-js/loader": "^2.1.5",
"@oclif/command": "^1.8.16",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.0.0",
"@testing-library/react-hooks": "^7.0.2",
"@types/jest": "^27.4.1",
"@types/node": "^16.7.13",
"@types/react": "^18.0.16",
"@types/react-dom": "^18.0.6",
"@types/react-transition-group": "^4.4.5",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"autoprefixer": "^10.4.4",
"babel-jest": "^27.4.2",
"babel-loader": "^8.2.4",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-named-asset-import": "^0.3.8",
"babel-preset-minify": "^0.5.2",
"babel-preset-react-app": "^10.0.1",
"bfj": "^7.0.2",
"browserslist": "^4.18.1",
"camelcase": "^6.2.1",
"case-sensitive-paths-webpack-plugin": "^2.4.0",
"commitizen": "^4.2.5",
"cross-env": "^7.0.3",
"cspell": "^8.16.1",
"css-loader": "^6.5.1",
"css-minimizer-webpack-plugin": "^3.4.1",
"cssnano": "^5.1.12",
"cz-conventional-changelog": "3.3.0",
"dotenv": "^10.0.0",
"dotenv-expand": "^5.1.0",
"eslint": "^8.20.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-id-match": "^0.1.6",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-mdx": "^3.1.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"file-loader": "^6.2.0",
"fs-extra": "^10.0.1",
"github-release-notes": "^0.17.3",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"identity-obj-proxy": "^3.0.0",
"install-peers-cli": "2.2.0",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"lint-staged": "^13.0.3",
"mini-css-extract-plugin": "^2.6.0",
"postcss": "^8.4.31",
"postcss-cli": "^10.0.0",
"postcss-color-function": "^4.1.0",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-import": "^14.1.0",
"postcss-loader": "^6.2.1",
"postcss-mixins": "^9.0.2",
"postcss-nested": "^5.0.6",
"postcss-normalize": "^10.0.1",
"postcss-preset-env": "^7.0.1",
"postcss-simple-vars": "^5.0.2",
"postcss-syntax": "^0.36.2",
"prettier": "^2.6.2",
"prompts": "^2.4.2",
"react": ">= 16.8.0",
"react-app-polyfill": "^3.0.0",
"react-dev-utils": "^12.0.0",
"react-dom": ">= 16.8.0",
"react-refresh": "^0.11.0",
"react-router5": "^8.0.1",
"react-test-renderer": "^18.0.0",
"resolve": "^1.20.0",
"resolve-url-loader": "^4.0.0",
"router5": "^8.0.1",
"router5-plugin-browser": "^8.0.1",
"sass-loader": "^12.3.0",
"semver": "^7.5.2",
"source-map-loader": "^3.0.0",
"style-loader": "^3.3.1",
"stylelint": "^10.1.0",
"stylelint-config-standard": "^18.3.0",
"stylelint-order": "^4.1.0",
"stylelint-prettier": "^1.1.1",
"svgo": "^2.8.0",
"tailwindcss": "^3.0.2",
"terser-webpack-plugin": "^5.2.5",
"ts-jest": "^28.0.7",
"ts-loader": "^9.2.8",
"ttypescript": "^1.5.15",
"typescript": "^4.6.3",
"typescript-eslint-parser": "^22.0.0",
"typescript-transform-paths": "^3.3.1",
"use-subscription": "^1.5.1",
"web-vitals": "^2.1.0",
"webpack": "^5.76.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.8.1",
"webpack-manifest-plugin": "^4.0.2",
"workbox-webpack-plugin": "^6.4.1"
},
"homepage": "http://uikit.consta.design"
}