-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.14 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
{
"name": "commit-and-lint",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/hiraike32/commit-and-lint.git",
"license": "MIT",
"scripts": {
"build": "webpack",
"fix": "yarn lint:ts --fix && yarn lint:css --fix",
"lint:css": "stylelint './src/**/*.{css,scss}'",
"lint:ts": "tslint './src/**/*.{ts,tsx}'"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"tslint --fix",
"git add"
],
"*.{css,scss}": [
"stylelint --fix",
"git add"
]
},
"devDependencies": {
"@types/react": "^16.7.20",
"@types/react-dom": "^16.0.11",
"css-loader": "^2.1.0",
"file-loader": "^3.0.1",
"husky": "^1.3.1",
"lint-staged": "^8.1.0",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"stylelint": "^9.10.1",
"stylelint-config-standard": "^18.2.0",
"ts-loader": "^5.3.3",
"tslint": "^5.12.1",
"tslint-react": "^3.6.0",
"typescript": "^3.2.4",
"webpack": "^4.29.0",
"webpack-cli": "^3.2.1"
},
"dependencies": {
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
}