-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.68 KB
/
Copy pathpackage.json
File metadata and controls
62 lines (62 loc) · 1.68 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "UbuntuScripts",
"private": true,
"version": "1.0.0",
"homepage": "https://github.com/aensley/UbuntuScripts#readme",
"bugs": {
"url": "https://github.com/aensley/UbuntuScripts/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/aensley/UbuntuScripts.git"
},
"license": "MIT",
"scripts": {
"commit": "czg",
"test": "shellcheck sbin/*",
"lint": "prettier --check . && ~/go/bin/shfmt -d -i 2 -ci sbin/*",
"lint:fix": "prettier --write . && ~/go/bin/shfmt -w -i 2 -ci sbin/*",
"prepare": "npx simple-git-hooks",
"update": "npx npm-check-updates -u && npm update"
},
"devDependencies": {
"conventional-changelog-conventionalcommits": "^9.3.1",
"czg": "^1.13.1",
"prettier": "^3.8.4",
"simple-git-hooks": "^2.13.1"
},
"allowScripts": {
"simple-git-hooks@2.13.1": true
},
"prettier": {
"tabWidth": 2,
"printWidth": 120,
"useTabs": false,
"endOfLine": "lf",
"trailingComma": "none",
"semi": false,
"singleQuote": true,
"arrowParens": "always",
"bracketSameLine": true,
"bracketSpacing": true,
"embeddedLanguageFormatting": "auto",
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxSingleQuote": false,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"requirePragma": false,
"vueIndentScriptAndStyle": false
},
"config": {
"commitizen": {
"path": "node_modules/cz-git",
"type": "conventional",
"useEmoji": true
}
},
"simple-git-hooks": {
"pre-commit": "npm run lint && npm run test",
"prepare-commit-msg": "exec < /dev/tty && node_modules/.bin/czg --hook \"$1\" \"$2\" || true"
}
}