-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
44 lines (44 loc) · 940 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
39
40
41
42
43
44
{
"name": "workspaces",
"version": "0.0.1",
"main": "index.js",
"private": true,
"author": "Domitrius Clark",
"license": "MIT",
"devDependencies": {
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5"
},
"scripts": {
"format": "yarn format:index && yarn format:pages && yarn format:src",
"format:index": "prettier --write \"*.{js,json,md}\"",
"format:pages": "prettier --write \"pages/**/*.js\"",
"format:src": "prettier --write \"src/**/*.{js,md,mdx}\""
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,md}": [
"prettier --write"
],
"pages/**/*.js": [
"prettier --write"
],
"src/**/*.{js,md,mdx}": [
"prettier --write"
]
},
"prettier": {
"semi": true,
"singleQuote": true,
"trailingComma": "all"
},
"workspaces": [
"packages/*",
"templates/*"
]
}