-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
package.json
151 lines (151 loc) · 4.06 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
{
"name": "carbon",
"private": true,
"version": "0.0.0",
"repository": "[email protected]:carbon-design-system/carbon.git",
"license": "Apache-2.0",
"engines": {
"node": ">=18.x"
},
"workspaces": [
"actions/*",
"config/*",
"examples/*",
"packages/*",
"www"
],
"scripts": {
"build": "lerna run build --stream --prefix",
"ci-check": "carbon-cli ci-check",
"clean": "lerna run clean && lerna clean --yes && rimraf node_modules",
"doctoc": "doctoc --title '## Table of Contents'",
"format": "prettier --cache --write '**/*.{js,md,scss,ts,tsx}' '!**/{build,es,lib,storybook,ts,umd}/**'",
"format:diff": "prettier --list-different '**/*.{js,md,scss,ts,tsx}' '!**/{build,es,lib,storybook,ts,umd}/**' '!packages/components/**'",
"lint": "eslint actions config packages www",
"lint:styles": "stylelint '**/*.scss' --report-needless-disables --report-invalid-scope-disables",
"sync": "carbon-cli sync",
"telemetry:config": "lerna run telemetry:config",
"test": "cross-env BABEL_ENV=test jest",
"test:e2e": "cross-env BABEL_ENV=test jest -c jest.e2e.config.js",
"postinstall": "husky"
},
"resolutions": {
"@types/react": "~18.3.0",
"@types/prop-types": "15.7.13",
"ast-types": "^0.14.0",
"node-sass": "^9.0.0",
"react": "~18.3.0",
"react-dom": "~18.3.0",
"react-is": "~18.3.0",
"[email protected]": "patch:flatpickr@npm%3A4.6.13#./.yarn/patches/flatpickr-npm-4.6.13-06399933fc.patch"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/plugin-proposal-export-default-from": "^7.24.7",
"@babel/plugin-transform-class-properties": "^7.24.7",
"@babel/plugin-transform-export-namespace-from": "^7.24.7",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@babel/runtime": "^7.24.7",
"@carbon/cli": "workspace:packages/cli",
"@commitlint/cli": "^18.0.0",
"@commitlint/config-conventional": "^18.0.0",
"@percy/cli": "^1.27.0",
"@percy/playwright": "^1.0.4",
"@playwright/test": "^1.36.2",
"@testing-library/dom": "^10.1.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/react-is": "~18.3.0",
"accessibility-checker": "^3.1.48",
"all-contributors-cli": "^6.19.0",
"cross-env": "^7.0.0",
"cross-spawn": "^7.0.0",
"doctoc": "^2.0.0",
"eslint": "^9.0.0",
"eslint-plugin-playwright": "^2.0.0",
"fs-extra": "^11.0.0",
"glob": "^11.0.0",
"husky": "^9.0.0",
"jest": "^28.1.0",
"jest-junit": "^16.0.0",
"lerna": "^8.0.0",
"lint-staged": "^15.0.0",
"prettier": "^3.3.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^5.0.0",
"stylelint": "^16.0.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"header-max-length": [
2,
"always",
72
],
"body-max-line-length": [
2,
"always",
80
],
"scope-case": [
0,
"always",
"lower-case"
],
"type-enum": [
2,
"always",
[
"build",
"ci",
"chore",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"test",
"style"
]
]
}
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"prettier --cache --write",
"eslint"
],
"**/*.scss": [
"prettier --cache --write",
"stylelint --report-needless-disables --report-invalid-scope-disables --allow-empty-input"
],
"!(*sass).md": [
"prettier --cache --write"
],
"README.md": [
"all-contributors generate"
],
".all-contributorsrc": [
"all-contributors generate"
]
},
"eslintConfig": {
"extends": [
"eslint-config-carbon/internal"
]
},
"stylelint": {
"extends": [
"./config/stylelint-config-carbon"
]
},
"packageManager": "[email protected]"
}