-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
38 lines (38 loc) · 964 Bytes
/
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
{
"private": true,
"workspaces": [
"gatsby-theme-fela",
"site"
],
"dependencies": {
"@ackee/eslint-config": "^1.0.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-config-react-app": "^5.2.0",
"husky": "^4.2.3",
"lint-staged": "^10.0.8",
"prettier": "^1.19.1",
"prettier-config-ackee": "^0.0.13"
},
"scripts": {
"format": "prettier --ignore-path .gitignore --config ./prettier.config.js --write **/*.{js,jsx,json}",
"lint": "eslint --ignore-path .gitignore .",
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\"",
"build": "yarn workspace gatsby-theme-fela build",
"release": "yarn workspace gatsby-theme-fela release"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx}": [
"npm run lint"
],
"*.{js,jsx,json,scss,less,css,md}": [
"npm run format",
"git add"
]
}
}