forked from carbon-design-system/carbon-tutorial-nextjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 1.62 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
{
"name": "carbon-tutorial-nextjs",
"version": "0.1.0",
"private": true,
"repository": "git@github.com:carbon-design-system/carbon-tutorial-nextjs.git",
"bugs": "https://github.com/carbon-design-system/carbon-tutorial-nextjs/issues",
"license": "Apache-2.0",
"scripts": {
"build": "next build",
"dev": "next dev",
"start": "next start",
"lint": "next lint",
"ci-check": "yarn format:diff",
"clean": "yarn cache clean && yarn install",
"format": "prettier --write \"**/*.{js,md,scss}\"",
"format:diff": "prettier --list-different \"**/*.{js,md,scss}\""
},
"dependencies": {
"@carbon/react": "^1.35.0",
"eslint": "8.44.0",
"eslint-config-next": "13.4.9",
"next": "13.4.9",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@commitlint/cli": "7.5.2",
"@commitlint/config-conventional": "7.5.0",
"husky": "1.3.1",
"lint-staged": "8.1.5",
"prettier": "^2.8.8"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"husky": {
"hooks": {
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.js": [
"prettier --cache --write",
"git add"
],
"*.{scss,css}": [
"prettier --cache --write",
"git add"
],
"*.md": [
"prettier --cache --write",
"git add"
]
},
"prettier": {
"jsxBracketSameLine": true,
"printWidth": 80,
"singleQuote": true,
"trailingComma": "es5"
}
}