forked from carbon-design-system/carbon-for-ibm-dotcom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
158 lines (158 loc) · 4.3 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
{
"name": "carbon-for-ibm-dotcom",
"private": true,
"version": "0.0.0",
"repository": "[email protected]:carbon-design-system/carbon-for-ibm-dotcom.git",
"license": "Apache-2.0",
"engines": {
"node": ">=18.x"
},
"workspaces": [
"packages/*"
],
"scripts": {
"build": "lerna run build --stream --prefix",
"ci-check": "npm run format:diff && yarn lint:license && yarn lint && yarn lint:styles",
"clean": "lerna run clean && lerna clean --yes && rimraf node_modules",
"doctoc": "doctoc --title '## Table of Contents' docs",
"format": "prettier --cache --write '**/*.{js,md,scss,ts}' && stylelint '**/*.{css,scss}' --fix",
"format:diff": "prettier --cache --list-different '**/*.{js,md,scss,ts}'",
"lint": "eslint packages --ext .js,.ts",
"lint:license": "gulp lint:license",
"lint:license:staged": "tasks/check-license.js -w",
"lint:scripts:staged": "eslint",
"lint:styles": "stylelint '**/*.{css,scss}'",
"reset": "yarn cache clean && yarn clean && yarn install && yarn build",
"test": "yarn test:unit && yarn test:a11y",
"test:a11y": "yarn lerna run --stream --prefix test:a11y",
"test:unit": "cross-env BABEL_ENV=test jest",
"prepare": "husky install"
},
"devDependencies": {
"@actions/core": "^1.2.0",
"@actions/exec": "^1.0.0",
"@actions/tool-cache": "^1.5.0",
"@babel/core": "~7.12.0",
"@babel/helper-annotate-as-pure": "^7.9.0",
"@babel/plugin-proposal-export-default-from": "~7.12.0",
"@babel/plugin-transform-class-properties": "~7.22.5",
"@babel/plugin-transform-export-namespace-from": "~7.22.11",
"@babel/plugin-transform-nullish-coalescing-operator": "~7.22.11",
"@babel/plugin-transform-optional-chaining": "~7.23.0",
"@babel/plugin-transform-runtime": "7.18.5",
"@babel/preset-env": "~7.23.2",
"@babel/preset-react": "~7.12.1",
"@commitlint/cli": "^16.0.0",
"@commitlint/config-conventional": "^16.0.0",
"@types/jest": "29.5.13",
"async-done": "^1.3.0",
"babel-preset-carbon": "^0.0.14",
"browserslist-config-carbon": "^10.3.0",
"chalk": "^4.1.1",
"commander": "^4.1.0",
"cross-env": "^7.0.0",
"doctoc": "^2.0.0",
"enzyme-to-json": "^3.3.5",
"eslint": "^8.53.0",
"eslint-config-carbon": "^3.10.0",
"eslint-plugin-lit": "^1.10.1",
"gitignore-to-glob": "^0.3.0",
"globby": "^10.0.0",
"gulp": "^4.0.2",
"husky": "^8.0.3",
"inquirer": "^7.2.0",
"jest": "25.5.4",
"jest-circus": "25.5.4",
"jest-junit": "^6.4.0",
"lerna": "^6.5.1",
"lint-staged": "^15.1.0",
"node-fetch": "^2.6.0",
"prettier": "^2.7.1",
"react": "16.14.0",
"rimraf": "^3.0.0",
"sass": "^1.19.0",
"stylelint": "^15.11.0",
"stylelint-config-carbon": "^1.16.0",
"through2": "^3.0.0"
},
"dependencies": {
"@babel/runtime": "^7.16.3"
},
"resolutions": {
"kind-of": ">=6.0.3",
"marked": "^4.0.10",
"minimist": ">=1.2.2",
"node-notifier": ">=8.0.1",
"[email protected]": "patch:flatpickr@npm%3A4.6.13#./.yarn/patches/flatpickr-npm-4.6.13-06399933fc.patch"
},
"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"
]
]
}
},
"eslintConfig": {
"extends": [
"eslint-config-carbon/internal"
]
},
"lint-staged": {
"**/*.{js,ts,tsx}": [
"prettier --cache --write",
"yarn lint:license:staged",
"yarn lint:scripts:staged",
"eslint"
],
"**/*.scss": [
"prettier --cache --write",
"yarn lint:license:staged",
"stylelint '**/*.scss'"
],
"*.md": [
"prettier --cache --write"
]
},
"stylelint": {
"extends": [
"stylelint-config-carbon"
],
"rules": {
"max-nesting-depth": null,
"scss/no-global-function-names": null
}
},
"packageManager": "[email protected]"
}