forked from carbon-design-system/carbon-for-ibm-dotcom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
111 lines (111 loc) · 2.53 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
{
"name": "ibm-dotcom-library",
"private": true,
"version": "0.0.0",
"repository": "[email protected]:carbon-design-system/ibm-dotcom-library.git",
"license": "Apache-2.0",
"engines": {
"node": "10.x"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": []
},
"scripts": {
"build": "lerna run build --stream --prefix --npm-client yarn",
"ci-check": "npm run format:diff",
"clean": "lerna run clean && lerna clean --yes && rimraf node_modules",
"format": "prettier --write '**/*.{js,md,scss}'",
"format:diff": "prettier --list-different '**/*.{js,md,scss}'",
"lint": "eslint packages",
"lint:styles": "stylelint '**/*.{css,scss}' --config ./packages/stylelint-config-elements"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"babel-eslint": "^10.0.2",
"carbon-components": "^10.1.0",
"cross-env": "^5.2.0",
"eslint": "^6.0.1",
"eslint-plugin-jsdoc": "^8.6.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-react-hooks": "^1.6.1",
"husky": "^1.3.1",
"jest": "^24.8.0",
"lerna": "^3.15.0",
"lint-staged": "^8.1.5",
"prettier": "^1.17.0",
"react": "^16.8.6",
"rimraf": "^2.6.3",
"sass": "^1.19.0",
"stylelint": "^10.1.0",
"stylelint-config-prettier": "^5.2.0",
"stylelint-prettier": "^1.1.1",
"stylelint-scss": "^3.8.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"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"
]
}
},
"lint-staged": {
"**/*.js": [
"prettier --write",
"eslint",
"git add"
],
"packages/components/**/*.scss": [
"prettier --write",
"git add"
],
"*.md": [
"prettier --write",
"git add"
]
},
"eslintConfig": {
"extends": [
"./packages/eslint-config-carbon"
]
},
"prettier": {
"jsxBracketSameLine": true,
"printWidth": 80,
"singleQuote": true,
"trailingComma": "es5",
"proseWrap": "always"
},
"stylelint": {
"extends": [
"./packages/stylelint-config-elements"
]
},
"dependencies": {}
}