This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
91 lines (91 loc) · 1.95 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
{
"name": "@carbonincubator/incubator",
"private": true,
"version": "0.0.0",
"repository": "git@github.com:carbon-design-system/incubator.git",
"license": "Apache-2.0",
"engines": {
"node": "12.x"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": []
},
"scripts": {
"build": "lerna run build --stream --prefix --npm-client yarn",
"ci-check": "yarn format:diff && yarn test --ci",
"clean": "lerna run clean && lerna clean --yes && rimraf node_modules",
"format": "prettier --write '**/*.{js,md,scss,ts}' '!**/{build,es,lib,storybook,ts,umd}/**'",
"format:diff": "prettier --list-different '**/*.{js,md,scss,ts}' '!**/{build,es,lib,storybook,ts,umd}/**'",
"sync": "carbon-cli sync",
"test": "jest"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"husky": "^4.2.5",
"jest": "^26.0.1",
"lerna": "^3.22.1",
"lint-staged": "^10.2.10",
"prettier": "^2.0.5",
"prettier-config-carbon": "^0.1.0",
"rimraf": "^3.0.2"
},
"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"
],
"type-enum": [
2,
"always",
[
"build",
"ci",
"chore",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"test"
]
]
}
},
"lint-staged": {
"**/*.js": [
"prettier --write"
],
"**/*.scss": [
"prettier --write"
],
"**/*.md": [
"prettier --write"
]
}
}