forked from freeCodeCamp/chinese
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
37 lines (37 loc) · 864 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
{
"name": "news-translation",
"version": "1.0.0",
"license": "CC-BY-NC-SA-4.0",
"homepage": "https://github.com/freeCodeCamp/news-translation#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/freeCodeCamp/news-translation.git"
},
"bugs": {
"url": "https://github.com/freeCodeCamp/news-translation/issues"
},
"devDependencies": {
"husky": "^4.3.0",
"lint-md-cli": "^0.1.2",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none"
},
"lint-staged": {
"*.{json,yml,js}": "prettier --write",
"*.md": "lint-md --fix"
},
"scripts": {
"lint": "lint-md chinese/**/*.md",
"format": "lint-md chinese/**/*.md --fix",
"test": "lint-staged"
},
"husky": {
"hooks": {
"pre-commit": "npm test"
}
}
}