forked from core-ds/core-components
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
177 lines (177 loc) · 6.84 KB
/
package.json
File metadata and controls
177 lines (177 loc) · 6.84 KB
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
{
"private": true,
"homepage": "https://core-ds.github.io/core-components",
"repository": {
"type": "git",
"url": "https://github.com/core-ds/core-components"
},
"workspaces": [
"packages/*"
],
"scripts": {
"analyze-package-sizes": "node bin/analyze-package-sizes/bin.mjs",
"build": "node bin/build/bin.mjs",
"build-storybook": "node bin/build-storybook/bin.mjs",
"check-package-json": "sort-package-json --check package.json \"packages/*/package.json\"",
"clean": "node bin/clean/bin.mjs",
"cm": "git-cz",
"format": "prettier --check \"{packages,bin,tools}/**/*.{ts,tsx,js,jsx,css,json}\"",
"generate-dark-colors": "node bin/dark-colors-generator.mjs",
"lint": "yarn lint:css && yarn lint:js && yarn lint:deps",
"lint:css": "stylelint packages/**/*.css",
"lint:deps": "node bin/lint-deps/bin.mjs",
"lint:js": "node bin/lint-js.mjs",
"non-existent-css-vars": "node bin/non-existent-css-vars/bin.mjs",
"release": "yarn build && yarn changeset publish",
"release:snapshot": "yarn build && yarn changeset publish --tag snapshot --no-git-tag",
"serve-storybook": "http-server build -p 9009",
"start": "storybook dev -p 9009",
"test": "jest --watchAll=false",
"test:codemod": "yarn workspace @alfalab/core-components-codemod test",
"test:screenshots": "bin/run-screenshots.sh",
"test:screenshots-local": "bin/run-screenshots-local.sh",
"tsconfig": "node bin/tsconfig/bin.mjs",
"update-colors": "node tools/update-colors.js && stylelint packages/{themes,vars}/**/*.css --fix && prettier --write \"packages/{themes,vars}/**/*.css\" && yarn generate-dark-colors",
"update-typography": "node tools/update-typography.mjs",
"update-usages": "node tools/update-usages.js",
"version-packages": "yarn changeset version && yarn write-vars-and-themes-version",
"version-packages:snapshot": "yarn changeset version --snapshot && yarn write-vars-and-themes-version",
"write-vars-and-themes-version": "node bin/write-vars-and-themes-version/bin.mjs"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint-staged --concurrent false && yarn test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"browserslist": {
"production": [
"last 2 versions",
"not dead",
"Android >= 6",
"iOS >= 14"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"prettier": "@alfalab/lint-preset/prettier",
"stylelint": {
"extends": "@alfalab/lint-preset/stylelint"
},
"resolutions": {
"react-scripts/resolve-url-loader": "^5.0.0"
},
"devDependencies": {
"@alfalab/icons-glyph": "^2.247.0",
"@alfalab/lint-preset": "^1.0.0",
"@changesets/cli": "^2.29.7",
"@changesets/get-github-info": "^0.5.1",
"@changesets/read": "^0.6.3",
"@commitlint/cli": "^18.6.1",
"@commitlint/types": "^18.6.1",
"@fullhuman/postcss-purgecss": "^7.0.2",
"@manypkg/get-packages": "^2.2.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-typescript": "^12.1.2",
"@storybook/addon-a11y": "^7.6.2",
"@storybook/addon-docs": "^7.6.2",
"@storybook/addon-knobs": "^7.0.2",
"@storybook/addons": "^7.6.2",
"@storybook/manager-api": "^7.6.2",
"@storybook/preset-create-react-app": "^7.6.2",
"@storybook/react": "^7.6.2",
"@storybook/react-webpack5": "^7.6.2",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.7.0",
"@testing-library/react": "^16.3.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.6.1",
"@types/detect-browser": "^4.0.3",
"@types/element-closest": "^3.0.0",
"@types/eslint": "^8.56.12",
"@types/jest": "^30.0.0",
"@types/jest-image-snapshot": "^6.4.0",
"@types/lodash": "^4.17.13",
"@types/lodash.throttle": "^4.1.7",
"@types/micromatch": "^4.0.9",
"@types/node": "^22.15.18",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/react-transition-group": "^4.4.5",
"@types/resolve": "^1.20.6",
"@types/swiper": "^5.4.3",
"@types/use-sync-external-store": "^0.0.6",
"@types/webpack-env": "^1.18.0",
"axios": "^0.21.0",
"commitizen": "^4.1.2",
"cross-env": "^10.0.0",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.2",
"cz-conventional-changelog": "^3.2.0",
"dedent": "^1.6.0",
"depcheck": "^1.4.3",
"detect-indent": "^7.0.1",
"eslint": "^8.57.1",
"execa": "^9.6.0",
"handlebars": "^4.7.3",
"http-server": "^0.12.3",
"husky": "^4.3.8",
"identity-obj-proxy": "^3.0.0",
"jest": "^30.0.5",
"jest-environment-jsdom": "^30.0.5",
"jest-environment-node": "^30.0.5",
"jest-image-snapshot": "^6.5.1",
"lerna": "^8.2.3",
"lint-staged": "^16.1.0",
"micromatch": "^4.0.8",
"mini-css-extract-plugin": "^2.9.2",
"playwright": "^1.33.0",
"postcss": "^8.5.3",
"postcss-color-mod-function": "^4.1.1",
"postcss-custom-media": "^8.0.2",
"postcss-custom-properties": "^12.1.10",
"postcss-each": "^1.1.0",
"postcss-export-custom-variables": "^1.0.0",
"postcss-for": "^2.1.1",
"postcss-import": "^16.1.1",
"postcss-loader": "^8.1.1",
"postcss-mixins": "^7.0.3",
"postcss-modules": "^6.0.1",
"postcss-preset-env": "^7.8.3",
"prettier": "~3.6.2",
"querystring-es3": "^0.2.1",
"raw-loader": "^4.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-github-btn": "^1.2.0",
"react-scripts": "^5.0.1",
"resolve": "^1.22.10",
"rimraf": "^3.0.2",
"rollup": "^4.29.1",
"rollup-plugin-copy": "^3.5.0",
"rollup-pluginutils": "^2.8.2",
"semver": "^7.7.2",
"slash": "^5.1.0",
"sort-package-json": "^3.4.0",
"storybook": "^7.6.2",
"storybook-addon-live-examples": "2.0.2",
"stylelint": "^16.24.0",
"svgo": "^3.0.2",
"tinyglobby": "^0.2.14",
"ts-jest": "^29.4.1",
"typescript": "~4.7.4",
"ui-primitives": "^28.8.0",
"webpack": "^5.98.0",
"yargs": "^17.7.2"
},
"packageManager": "yarn@1.22.22"
}