forked from carbon-design-system/carbon-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 1.67 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
{
"name": "carbon-tutorial",
"version": "0.0.0",
"private": true,
"repository": "[email protected]:carbon-design-system/carbon-tutorial.git",
"bugs": "https://github.com/carbon-design-system/carbon-tutorial/issues",
"license": "Apache-2.0",
"scripts": {
"build": "react-scripts build",
"ci-check": "yarn format:diff && yarn test",
"clean": "yarn cache clean && yarn install",
"eject": "react-scripts eject",
"format": "prettier --write \"**/*.{js,md,scss}\"",
"format:diff": "prettier --list-different \"**/*.{js,md,scss}\"",
"format:staged": "prettier --write",
"start": "react-scripts start",
"test": "react-scripts test"
},
"dependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-scripts": "2.1.8"
},
"devDependencies": {
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.5",
"node-sass": "^4.11.0",
"prettier": "^1.17.0"
},
"eslintConfig": {
"extends": "react-app"
},
"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": [
"yarn format:staged",
"git add"
],
"*.{scss,css}": [
"yarn format:staged",
"git add"
],
"*.md": [
"yarn format:staged",
"git add"
]
},
"prettier": {
"jsxBracketSameLine": true,
"printWidth": 80,
"singleQuote": true,
"trailingComma": "es5"
}
}