-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
48 lines (48 loc) · 1.24 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
{
"name": "@denoland-id/registry",
"description": "List of Deno modules made by local developers 🇮🇩",
"version": "1.0.0",
"repository": "[email protected]:denoland-id/registry.git",
"author": "Griko Nibras <[email protected]>",
"scripts": {
"build": "node scripts/build",
"validate": "node scripts/validate",
"format": "yarn format:index && yarn format:database",
"format:index": "prettier --write \"*.{js,json,md}\"",
"format:database": "prettier --write \"database/*.json\"",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"prepare": "yarn format"
},
"devDependencies": {
"all-contributors-cli": "^6.15.0",
"husky": "^4.2.5",
"lint-staged": ">=10",
"prettier": "^2.0.5"
},
"husky": {
"hooks": {
"pre-commit": "yarn validate && yarn contributors:generate && lint-staged"
}
},
"lint-staged": {
"database/*.json": [
"prettier --write",
"git add"
],
"scripts/*.js": [
"prettier --write",
"git add"
],
"*.{json,md}": [
"prettier --write",
"git add"
]
},
"prettier": {
"semi": true,
"singleQuote": false,
"trailingComma": "all"
},
"license": "MIT"
}